AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LISCP or SCRIPT for renaming ladders in AutoCAD Electrical

2 REPLIES 2
Reply
Message 1 of 3
crosby.109
352 Views, 2 Replies

LISCP or SCRIPT for renaming ladders in AutoCAD Electrical

I am looking for a LISP method to invoke the ladders to see the change on their FIRSTRUNG attribute.

 

Any ideas from the experts out there?

 

I have already completed the LISP that finds the first components of the ladders and then updates the values accordingly in FIRSTRUNG but then when i try to call the object method Update() with:

 

(vla-update AXName) ; where AXName is the Active X object of the first element in ladder

 

But the ladders don't update the rest of the rungs . . .

 

Any ideas??

 

Thanks!

 

-Wyatt

2 REPLIES 2
Message 2 of 3
crosby.109
in reply to: crosby.109

It looks as though the rest are just text and don't mean anything and there isn't a method to invoke, I just have to go in the code and change all the text . . . crikee

Message 3 of 3
TomTom111
in reply to: crosby.109

Yup. It is all text for a visual reference.

You can either double click on each text and edit the value of each, or use the revise ladder command in the Edit Wires/Wire Numbers pallet.

That will change the first ladder number, which is a "smart" block, and it will renumber every ladder number underneath it in one fell swoop.

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

Post to forums  

Autodesk Design & Make Report

”Boost