This sample uses the ConceptDraw Basic scripting language to create basic ConceptDraw shapes. It draws several splines. The DrawSpline procedure clears the active document from all shapes in it. Then several splines are added to a new shape. The DrawWave function is used to draw spline segments that look like waves. As each segment is built inside a separate pair of BeingShape() - EndShape() functions, these splines are separate geometries inside one shape. Then one more closed spline is drawn, which is a separate shape and represents the "sun". The DrawSpline() procedure is located in the external module DrawSpline.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.