home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Demo / conceptdraw / data1.cab / Samples__Basic / SimpleDrawing / StampSample / ReadMe.txt next >
Text File  |  2004-02-13  |  1KB  |  2 lines

  1. Other examples in this group  demonstrate the rich drawing capabilities of ConceptDraw by using the elementary segments: lines, ellipses, splines, etc. However, these possibilities may be not enough for drawing really complex shapes, that consist of multiple geometries, or for groups that contain other groups. Programming such shapes would take too much time. ConceptDraw recommends another ways for such purposes. The shapes for this example had been created in advance by using ConceptDraw drawing tools. Then they were saved in the library StampSample.cdl. This approach allows to create copies of complex shapes in the document with just a couple of lines of ConceptDraw Basic code, that is, as easy as drawing an ellipse or a rectangle. This sample illustrates how to work with library shapes. It bases on the standard sample NetworkDiagram2.cdd. This document is supplied with ConceptDraw and is normally located in the Samples subfolder of the ConceptDraw root folder. The DrawObjects() procedure creates a network scheme that resembles this sample. 
  2. The StampSample() procedure is located in the external module StampSample.cdb and is called from a document-level script. If the "Enable ConceptDraw Basic script autorun" flag is not set in the Preferences dialog of ConceptDraw, the script can be run from the ConceptDraw Basic editor (Tools->ConceptDraw Basic->Document Script->Edit) from the Build->Run menu.