getAIIDXFpoints()

Synopsis

Returns the values (multiple entries) of the DXF group code for the entity as a list. The group code must have a point value. Generates an error if the handle cannot be used to find an entity, or if the group code does not exist for the entity.

Note: You must supply the group code for the X coordinate. The value is returned as a list of complete points, not as individual coordinates.

Syntax

getAllDXFpoints ( handle As String, _
                  code As Integer ) As List 
Argument Type Description
handle string Handle of the AutoCAD entity. Must be the "modelSelf" handle, such as: first(insert_1.modelSelf) . Note: modelSelf returns a list, so you must use the first() function to retrieve only the first element.
code integer The DXF group code.

Example 1

AcadPolyLine with multiple entries of DXF code 10

Intent >getAllDXFpoints(first(AcadPline.modelSelf), 10) 
-->{Point_(0.0, 0.0, 0.0, WorldFrame()), Point_(0.0, 3.0, 0.0, WorldFrame()), Point_(-1.0, 1.0, 0.0, WorldFrame()), Point_(0.5, 1.0, 0.0, WorldFrame())}