Customizing the metamodel : Metamodel graphical editor : Creating user defined definitions
  
Creating user defined definitions
When creating user‑defined definitions, maintain the usrprops customization definitions in a separate encyclopedia from your working architecture. The number of entries in the encyclopedia will quickly multiply, because you are creating a definition entry for each new user-defined symbol, definition, diagram, chapter, and so on.
The steps to define a Customized User Props definition file are:
Create an encyclopedia with a scenario in mind.
Create a User Diagram Type definition.
Create a User Definition Types.
Create a User Symbol Types.
Create a User Props File definition.
Generate a User Props File.
Import the new User Props File into a production encyclopedia.
To create a user defined definition
From the Explorer, right-click the Definitions group, and then click New Definition, or click Dictionary > New Definition.
Definition type
Description
User Definition Type
Create new Definition types.
User Definition Chapter
Create Chapter (tabs) in the User Definition Type.
User Definition Control
Refer to existing user definition properties.
User Definition Property
Create new properties in the User Definition Type.
User Diagram Type
Create new Diagram types.
User Diagram Control
Refer to existing user diagram properties.
User Diagram Property
Create Properties of Diagrams.
User File Fragment
Include references to other files in the usrprops.txt, using the #include command. Type the actual file fragment in the User File Fragment’s Text property and then add it in the proper place in the User Props File definition.
User List
Create new Lists.
User List Item
Create new values in Lists.
User Object Fragment
Create command fragments such as #ifdef and #endif statements.
User Props File
Create new instances which make the entries of usrprops.txt file.
User Relation
Create new relation types.
User Symbol Type
Create new Symbol types.
User Symbol Control
Refer to existing user symbol properties.
User Symbol Property
Add a new property in the Symbol Type.
Advanced use of User Defined Definitions
If you have advanced knowledge of the System Architect scripting language then you can easily extend the definition types that are created by adding "text blocks" in the desired section of the usrprops.txt file. You would do this by creating a User Object Fragment definition. This allows you to create command fragments such as #ifdef and #endif statements.
You can also include references to other files in the usrprops.txt, by using the #include command. Type the actual file fragment in the User File Fragment’s Text property and then add it in the proper place in the User Props File definition.
See also
Creating user diagram types