Objects

Objects refer to any PowerDesigner objects. They can be:

An object belongs to a metaclass of the PowerDesigner metamodel.

Each object has properties, collections and methods that it inherits from its metaclass.

Root objects like models for example are created or retrieved using global methods. For more information, see Global properties.

Non root objects are created or retrieved using collections. For example, you create these objects using a Create method on collections and delete them using a Delete method on collections. For more information, see Collections.

You can browse the PowerDesigner metamodel to get information about the properties and collections available for each metaclass.

Example

'Variables are not typed in VBScript. You create them and the 
'location where you use them determines what they are
' get the current active model
Dim mdl ' the current model
Set mdl = ActiveModel