Chapter 9 Accessing objects using VBScript
You create the associated symbol of an object by attaching it to the active diagram using the following method: AttachObject(ByVal Obj As BaseObject) As BaseObject.
set symbol1 = ActiveDiagram.AttachObject(entity1)
Other uses
The AttachObject method can also be used to create a graphical synonym or a shortcut. For more information, see sections on graphical synonym and shortcut creation.
Copyright (C) 2005. Sybase Inc. All rights reserved. |