acad_handle()

Synopsis

Returns the AutoCAD handle of an entity.

Syntax

acad_handle ( handle As String ) As String 
Argument Type Description
handle string The Intent handle of the 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.

Example 1

Intent >acad_handle(First(TestInsert.modelSelf))
--> "186"