You can assign new symbol types or existing symbol types (symbols that already exist in another diagram) to new or existing diagram types.
To add symbol types to diagram types, use the following syntax:
ASSIGN symbol-type-name [IN diagram-type-name1] TO diagram-type-name2
To add symbol types to diagram types in the SYMBOL specification, use the ASSIGN .. TO keyword combination, as follows:
SYMBOLsymbol-type-name [IN diagram-type-name1] {ASSIGN TO diagram-type-name1}
Note This is an insert action, adding to the head of the list of assigned types. To define types in specified sequence, refer to the DRAW_TOOL and DRAW_TOOL_SEQ keywords.
Example
The following example creates a new diagram type called a Wireless Network diagram, which provides of three new symbol types to be drawn on it: a Satellite, a Computer, and a Server, and one existing symbol type to be drawn on it: a state symbol from a “State Transition Ward & Mellor” diagram (as compared to a State symbol from a UML State diagram or an IDEF3 State diagram, and so on:
RENAME DIAGRAM "User 1" To "Wireless Network" RENAME SYMBOL "User 1" TO "Satellite" RENAME SYMBOL "User 2" TO "Computer" RENAME SYMBOL "User 3" TO "Server" ASSIGN "State" IN "State Transition Ward & Mellor" TO "Wireless Network" SYMBOL "Satellite" {ASSIGN TO "Wireless Network"} SYMBOL "Computer" {ASSIGN TO "Wireless Network"} SYMBOL "Server" {ASSIGN TO "Wireless Network"}