| Article | 60001985 |
| Type | Wish |
| Product | Engine |
| Version | 6025 |
| Date Added | 7/4/2013 12:00:00 AM |
| Fixed | (7/22/2013 12:00:00 AM) |
| Submitted by | Alessio |
Summary
cmdDivideToCurves to create a series of vdCurve objects and add them to the drawing using the object's Break command.
Solution
This command is added to 6026 version. Creates a new vdCurves objects with segments from a vdCurve object after it is divided parameter "entity": The vdFigure object that will be the base of the cmdDivideToCurves command or "USER",null so the user picks this entity to the screen. parameter "numSegments": The number of segments that this curve will divide or "USER",null so the user picks the number of segments. Returns: True if the command was succesfull also the original vdCurve object is replaced by the first vdCurve object, and the other produced vdCurves are added to the document. Raises the ActionEnd, ActionStart and/or ActionError events with "CmdDivideToCurves" action name. If the object is a vdPolyline then no extra objects are added to the document but new vertexes are added to the vertex list of the vdPolyline where the divisions are. Note that vdCircle become vdArc, and vdRect become vdPolyline objects
