| Article | 70002718 |
| Type | Wish |
| Product | Engine |
| Date Added | 6/22/2025 12:00:00 AM |
| Fixed | 11.4.4 (6/22/2025 12:00:00 AM) |
| Submitted by | D.M. |
Summary
Divide to Points command
Solution
In version 11.4.4 we added a new command in Document's CommandAction, named CmdDivideToPoints:
summary: Divides the selected curve and adds vdPoint entities to the division points of the curve.
param name="entity": The vdFigure object that will be the base of the cmdDivide command or "USER",null so the user picks this entity to the screen.
param name="numSegments": The number of segments that this curve will divided or "USER",null so the user picks this distance to the screen.
returns: True if the command was succesfull and new vdPoint objects are added to the Document.
public bool CmdDivideToPoints(object entity, object numSegments)
This command will ask the user to select a vdCurve object and then to select how many segments to divide the curve.
At the division points, vdPoints will be added and the curve will remain intact.
This command is also added to the vdFrameControl menu and commands as "Divide To Points".
