Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ATTEDIT problem

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
john.uhden
301 Views, 7 Replies

ATTEDIT problem

If you invoke the ATTEDIT command, it allows you to pick any part of a block insertion (with attributes) and it brings up a nice list of all the attributes enabling you to edit each value.

BUT, if I have preselected an insertion (as an ename named e), the (command "_.attedit" e) fails.

It fails even if I feed the command the ename of one of its attributes.

How can I get around that shortcoming without having to build my own DCL?

John F. Uhden

7 REPLIES 7
Message 2 of 8
john.uhden
in reply to: john.uhden

I found it.  The command to use is EATTEDIT.

John F. Uhden

Message 3 of 8
paullimapa
in reply to: john.uhden

you can also do this:

(initdia)(command "_.attedit" e)


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 4 of 8
john.uhden
in reply to: paullimapa

@paullimapa ,

Thanks, but according to the Help, EATTEDIT is not one of the commands that makes use of initdia.

(command "_.EATTEDIT" e) worked for me without initdia.  Maybe it was just because I had a lot of attributes.

John F. Uhden

Message 5 of 8
paullimapa
in reply to: john.uhden

Yes but _.attedit does require it since you’re wondering why that didn’t work 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 6 of 8
john.uhden
in reply to: paullimapa

Thanks, @paullimapa ,

That's fair enough.

 

BTW, I tried adding attributes via BEDIT, but they don't show up after a Bclose/Save.  Might it be because I had defined the block as non-explodable.  If that's the case, how do I change it to explodable?

John F. Uhden

Message 7 of 8
Kent1Cooper
in reply to: john.uhden


@john.uhden wrote:

..., I tried adding attributes via BEDIT, but they don't show up after a Bclose/Save.  ....


After ATTSYNC?

Kent Cooper, AIA
Message 8 of 8
john.uhden
in reply to: john.uhden

Ahah!  ATTSYNCH fixed it.

John F. Uhden

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta