Returns the value of the DXF group code for the entity as a Number. The group code must have a numeric 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.
getDXFnumber ( handle As String, _
code As Integer ) As Number
| 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. |
Insert with DXF code 41 (X scale factor)
Intent >getDXFnumber(First(TestInsert.modelSelf), 41) -->2.0