Author Topic: USING POLARMODE  (Read 2757 times)

0 Members and 1 Guest are viewing this topic.

DEVITG

  • Bull Frog
  • Posts: 479
USING POLARMODE
« on: February 28, 2004, 10:21:16 AM »
the Var
POLARMODE

Controls settings for polar and object snap tracking. The value is the sum of four bitcodes:

Polar angle measurements
0  Measure polar angles based on current UCS (absolute)
1  Measure polar angles from selected objects (relative)
 
If I set to 1 (relative)

How I can select by LISP, with out the user action, the last line I draw to be the selected object.?? :?:
Location @ Córdoba Argentina Using ACAD 2019  at Window 10

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
USING POLARMODE
« Reply #1 on: February 28, 2004, 12:52:50 PM »
Code: [Select]
(setq ent (entlast))

Quote

Returns the name of the last nondeleted main object (entity) in the drawing

The entlast function is frequently used to obtain the name of a new entity that has just been added with the command function. To be selected, the entity need not be on the screen or on a thawed layer.
TheSwamp.org  (serving the CAD community since 2003)