Author Topic: attedit not finding attributes to change  (Read 2042 times)

0 Members and 1 Guest are viewing this topic.

STEVEDALLAS

  • Guest
attedit not finding attributes to change
« on: April 28, 2008, 12:39:02 PM »
(defun c:acc ()
(setq attc(GETSTRING "\nEnter new attribute color: "))
(command "attedit" "y" "*" "*" "*" "c" PAUSE PAUSE)
(while
(= 1 (logand (getvar "cmdactive") 1))
(command "c" attc "n")
);;; end while
);;; end lisp

This code is not finding attributes to change.
I can list the object,objects.
It always lists attribute definition.
This code can not seem to in order to change attribute colors globally.
I was using 2004, now Autocad 2008.

ideas?

CADaver

  • Guest
Re: attedit not finding attributes to change
« Reply #1 on: April 28, 2008, 01:15:00 PM »

I can list the object,objects.
It always lists attribute definition.

If it lists as an "Attribute Definition" it is not yet an "Attribute".  To become and "Attribute", an "Attribute Definition" must be part of a block definition.

STEVEDALLAS

  • Guest
Re: attedit not finding attributes to change
« Reply #2 on: April 28, 2008, 02:20:36 PM »
Still no.

STEVEDALLAS

  • Guest
Re: attedit not finding attributes to change
« Reply #3 on: April 28, 2008, 02:21:51 PM »
Did the way attributes are defined change between 04 and 08?

deegeecees

  • Guest
Re: attedit not finding attributes to change
« Reply #4 on: April 28, 2008, 02:24:51 PM »
Do you simply want to change the color of each attribute in the current drawing?

STEVEDALLAS

  • Guest
Re: attedit not finding attributes to change
« Reply #5 on: April 28, 2008, 02:38:28 PM »
yes, to a particular color number or bylayer.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: attedit not finding attributes to change
« Reply #6 on: April 28, 2008, 02:41:39 PM »
post drawing where issue happens
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

deegeecees

  • Guest