Author Topic: Attribute changes using dialog box  (Read 1814 times)

0 Members and 1 Guest are viewing this topic.

TJAM51

  • Guest
Attribute changes using dialog box
« on: January 21, 2005, 07:38:32 AM »
I am seeking a method to change attributes but window, crossing or single pick selection to a color, another layer, or any other property using a dcl. The dcl needs to be able to list the layers so I can pick without typing....anyone know of something like this?


Thanks

SMadsen

  • Guest
Attribute changes using dialog box
« Reply #1 on: January 24, 2005, 07:38:43 AM »
Wouldn't be hard to write but have you tried EATTEDIT? It seems to do exactly what you want (except for multi-selection).

TJAM51

  • Guest
Attribute changes using dialog box
« Reply #2 on: January 24, 2005, 01:13:31 PM »
I have tried that but at this time really need the ability to do a window or crossing.



Thanks

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Attribute changes using dialog box
« Reply #3 on: January 24, 2005, 02:18:20 PM »
How about something along these lines.
Code: [Select]


  (setq cntr 0)
  (if (setq ss (ssget))
(repeat (sslength ss)
 (command "_.EATTEDIT" (ssname ss cntr))
 (setq cntr (1+ cntr))
 )
)
TheSwamp.org  (serving the CAD community since 2003)

CADaver

  • Guest
Attribute changes using dialog box
« Reply #4 on: January 24, 2005, 02:30:05 PM »
BATTMAN will change 'em all.