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: 

Ladder Line References

1 REPLY 1
Reply
Message 1 of 2
joechrobak
398 Views, 1 Reply

Ladder Line References

Is it possible to use the replaceable parameters that are used for device tagging and wire numbering in the ladder line references?

Currently we are using sheet and line number for our ladders. I would like too use the %A  project drawing lists SEC value for each drawing  and a line number.  Basically replace the sheet number with the section number.

 

Is there an API that will let me do this?

 

Thanks for any help

 

Joe

1 REPLY 1
Message 2 of 2
PatMurnen_Adsk
in reply to: joechrobak

Joe,

 

These other replaceable parameters are not supported for ladders. You could use the API c:wd_chg_ldr_info to update the ladders on the active drawing using the SEC value. You could use c:wd_is_cur_dwg_in_proj to see how to get a drawing's SEC value. There is an example in the Help for that API that shows how to get the SHEET value. The SEC value would just be a different value in the same list. See the Help on the API wd_mdb2_upd_prj_ixlst for the values held in the GBL_wd_prj_ixlst list.

 

A little more difficult than what you were hoping but it should work if all put together in a lisp function.

 



Pat Murnen
Principal Content Developer
Product Development – AutoCAD Product Line Group

Autodesk, Inc.

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

Post to forums  

Autodesk Design & Make Report

”Boost