PointListUtils

the points list functions

Methods

CreatePointlistFromCenters
static void CreatePointlistFromCenters()
Perform the Draw/PointList/Center command on all selected objects
VB
CreatePointlistFromExtrema static void CreatePointlistFromExtrema()
Perform the Draw/PointList/Extents command on all selected objects
VB
CreatePointlistFromPolyline static PointList CreatePointlistFromPolyline(Polyline opoly, int steps)
Divide the polyline opoly by the number of steps and return a point list.
VB
CreatePointlistFromPolylineFill static PointList CreatePointlistFromPolylineFill(Polyline opoly, double step, bool offset, Polyline[ ] oExclusions)
Fill a closed polyline opoly with points every step
offset: true - the lines are shifted half the time, false - no offset
Polyline[]: An array of polylines that define the islands that must be excluded.
 
CreatePointlistFromPolylineStep static PointList CreatePointlistFromPolylineStep(Polyline opoly, double step)
Create a point every steps (drawing unit) on the polyline opoly and return a point list.
VB
InsertPointlistFillGeometry static void InsertPointlistFillGeometry(bool offset)
Perform the Draw/PointList/Fill Geometry command on all selected objects (a request ask for spacing)
offset: true - the lines are shifted half the time, false - no offset
VB
InsertPointlistFromGeometry static void InsertPointlistFromGeometry()
Perform the Draw/PointList/Divide Geometry command on all selected objects ; a request ask for # points
VB
InsertPointlistFromGeometrySteps static void InsertPointlistFromGeometrySteps()
Perform the Draw/PointList/Step Around Geometry command on all selected objects ; a request ask for points spacing
VB
InsertPointListFromTextFile static void InsertPointListFromTextFile()
Perform the PointList/From Text File command (exists only in the context menu) ; a request ask for a file
VB
JoinPointlist static void JoinPointlist(ICADView view)
Perform the Edit/Join command on all selected PointList objects. A new PointList object is created, source objects are deleted. If other objects than PointList are selected, they are ignored.
VB
JoinPointlist static void JoinPointlist(ICADView view, List<Entity> ToJoin)
Perform the Edit/Join command on all PointList objects in the List ToLoin
 
Copyright (c) 2011 HexRay Ltd