Customization > Automation Interface > Object Attributes and Associations > Project (automation interface)
  
Project (automation interface)
This is the container object for the Dictionary and Diagrams collections, that is, the Model.
ATTRIBUTES:
In addition to the common attributes.
Access Permissions
A textual property that defines the access permissions of the Model.
The syntax is as follows:
<name>,<user or group>,<permissions>[;<name>,<user or group>,<permissions>]
where:
<name> is set to the name of the user or group.
<user or group> is set to either User or Group as appropriate.
<permissions> is set to Owner, Write or Read.
For example: DEV\David,User,Owner;DEV\Andrew,User,Write
Access is read/write.
Attribute Order
A textual property that records the order of the Model's Attributes. For example:
Attribute1
Attribute2
Access is read/write.
You can use the ReorderItem function to change the order of the Attributes.
Change Tracking Enabled
Specifies whether change tracking is enabled in the model. Possible values are TRUE and FALSE.
If you want to track changes made through the automation interface, the Change Tracking Enabled attribute must be set to TRUE, and the Change Tracking Mode attribute must be set to ON.
Access is read/write.
Change Tracking Mode
Specifies whether change tracking is enabled for changes made through the automation interface. Possible values are ON and OFF.
If you want to track changes made through the automation interface, the Change Tracking Enabled attribute must be set to TRUE, and the Change Tracking Mode attribute must be set to ON.
Access is read/write.
Comment
Specifies a comment for the model version. A model version's comment can also be read and set through Model Explorer.
Access is read-only.
Database Level
Internal database level of the project.
Access is read-only.
Diagram Default Presentation
Specifies the default presentation of diagrams in a model.
The possible values are 0, 1 and 2:
0 means standardUML.
1 means glossUML.
2 means glossUML2
Access is read/write.
Description
Textual description of the project.
Access is read/write.
Directory
This is the short path name for the ModelerATF directory that contains the associated Project files. For the long path, use the Long Directory attribute.
Access is read-only.
Effective Language
A string that is derived from the Language value.
In the context of the Model, the Effective Language is set to the value of the Language attribute.
Access is read-only.
Language
A string that specifies the Code Editor language that is set for the Model.
The specified language can be overridden by Language values that are set for child Packages and Operations.
Access is read/write.
Long Directory
This is the long path name for the ModelerATF directory that contains the associated Project files. For the short path, use the Directory attribute.
Access is read-only.
Operation Order
A textual property that records the order of the Model's Operations. For example:
Operation1
Operation2
Access is read/write.
Permissions
A string that returns the current user's access permissions to the Model (Project), that is, either READ, WRITE or OWNER.
Access is read-only.
Protected
A string describing whether the Project is protected (TRUE/FALSE).
Access is read/write.
Note that if the Model is under configuration control, you cannot change the Protected property manually.
Reference
String returning the reference property of a model.
For example:
\\SQL\Server1@MODELER\Repository1\Model1\0
Access is read-only.
Status
String indicating the status of the project. Values are "Read Only", "Needs Upgrading", "Offline", "OK"
Access is read-only.
Title
This is a string (Max Length 50) composed of a descriptive string and optionally a string documenting the Version number:
Example Project for Modeler V:2
Access is read/write.
Transaction
String used for committing transactions. Possible values you can set are Begin, Commit and Abort. After being set to Begin, the return is Active. After being set to Commit or Abort, the return is None.
Access is read/write.
Version Label
A string that describes the version of the model.
Note that in Model Explorer, this property is named Comment. In Modeler, on the Text tab of a Model's Property Pages, this property is named Version Label
Access is read/write.
ASSOCIATIONS:
In addition to the common associations.
Active Change Note
A relationship to the Change Note that is active in the Model for the current user.
Multiplicity is 0-1, access is read/write.
Attribute
A collection of all child Attributes.
Multiplicity is 0+, access is read/write.
Diagrams
The container object for all Diagrams in the Project.
Multiplicity is 1, access is read-only.
Dictionary
The container object for all Dictionary Items in the Project.
Multiplicity is 1, access is read-only.
Operation
A collection of all child Operations.
Multiplicity is 0+, access is read/write.
Package Item
A relationship to items and diagrams that are scoped directory to the Model.
Multiplicity is 0+, access is read/write.