Chapter 3 Getting Started with Objects Manipulation Using Scripts


Creating a Graphical Synonym Using Scripts

You create a graphical synonym by attaching the same object twice to the same package.

Example

set diag = ActiveDiagram
set pack = ActivePackage
set class = pack.classes.createnew
set symbol1 = diag.AttachObject (class)
set symbol2 = diag.AttachObject (class)

 


Copyright (C) 2007. Sybase Inc. All rights reserved.