Extending product function with VBA : The System Architect object model : Object model classes : Encyclopedia class : Encyclopedia class: Methods : CreateDiagram
  
CreateDiagram
Creates an instance of the diagram class with a specified diagram name and diagram type.
Syntax
Encyclopedia Object.CreateDiagram(Name, SAType)
Parameters
Encyclopedia Object
Use: Required
Data type: Object
Any instantiated Encyclopedia class
Name
Use: Required
Data type: String
Name of new diagram
SAType
Use: Required
Data type: Long
Type of System Architect diagram that is being created (for example, GTCATPROCESSFLOW or 89). See the DIAGRAMS.BAS file in the System Architect directory for a complete listing of all System Architect diagrams and their internal constant names and numbers.
See also
Encyclopedia class: Methods