Dictionary (automation interface)
This is the container object for all Dictionary Items. This is a collection object. It can be filtered into sub-collections of items of a particular type, a particular name or of a particular name and type, for example:
Set objAllClasses = Dictionary.Items("Class") '[All items of type Class]
Set objAllItemsStart = Dictionary.Items("", "Start") '[All items named Start]
Set objAllOperationsStart = Dictionary.Items("Operation", "Start") '[All Operations named Start]
These sub-collections are collection objects and are always Read Only.
It is possible to get a limited list of items by using wildcards, where "?" looks for a single character and "*" looks for multiple characters. For example:
Set obj Classes = Dictionary.Items("Class", "class*")
ATTRIBUTES:
Reset Template
Used to reset the template cache. Not usually needed unless you have manually modified the template.txt file. Example:
Dictionary.Property ("Reset Template")="true"
ASSOCIATIONS:
A Dictionary object has a relationship with the following dictionary items. In each case the Multiplicity is 0+, and the access is read/write. Note that the associations beginning with 'unscoped' link only those items that are scoped directly to the Model.
◦ Class - see UML Class
◦ ClassLike (Classes, Data Types, Interfaces and Signals) - ClassLike returns the items that Class returned in Studio version 7.3 or earlier.
• Data Type - see UML Data Type
• Interface - see UML Interface
• Signal - see UML Signal
Profile Package
A collection of Packages that are set up as profile Packages, that is, each Package has its Profile Package property set to TRUE.
Multiplicity is 0+, access is read/write.
Unscoped Item
In addition, the Dictionary object has the Unscoped Item association, which is a collection of all items that are scoped directly to the Model.
Multiplicity is 0+, access is read-only.