nentsel
(nentsel [prompt])
The nentsel function prompts the user to select a drawing entity and returns a list containing the entity name and the pick point coordinates (in the current CCS). It differs from the entsel function, in that it retrieves the information of a complex object.
If the optional argument prompt contains a valid string, it is displayed in the Command Window; otherwise, the standard prompt Specify entity: is displayed.
If the selected entity is contained in a complex object, the function also returns:
- The resulting transformation matrix to allow transformation of points from the Entity Coordinate System (ECS) to the World Coordinate System (WCS)
- A list containing the Entity Name of the superior object
: (nentsel)
(<Ename: 4047a928> (2918.00 2351.00 0.00))
: (nentsel "Please pick a part: ")
Please pick a part:
(<Ename: 00030000> (4303.50 2288.00 0.00) ((1.00 0.00 0.00 0.00) (0.00 1.00 0.00 0.00)
(0.00 0.00 1.00 0.00) (4471.50 2309.00 0.00 1.00)) (<Ename: 404797ec>))
nentselp, entsel