Defining a Data Dictionary in macros

Hello,

I am trying to import domains into a logical model using a macro (I am using the "Add Base AttributesTo Person Entity" as example).   The macro I have built is working properly when the domains are in local Data Dictionary (IE.  The one included in the model) but I would like to use the Enterprise Data Dictionary that has been created and is bound to the model.   Currently, I am using the following logic to try to point the data dictionary but is pointing to the local data dictionary.

' Get the current Data Dictionary.

Set MyDictionary = MyDiagram.Dictionary

How do I code to use the Enterprise Data Dictionary?

Thanks,

Mark