AutoCAD Electrical General Discussion

AutoCAD Electrical General Discussion

Active Contributor
46 Posts
0 Kudos
Registered: ‎04-20-2005
Post 1 of 2

Ladder Line References

234 Views, 1 Replies
11-26-2012 03:17 PM

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



681 Posts
119 Kudos
Registered: ‎08-01-2007
Post 2 of 2

Re: Ladder Line References

12-03-2012 05:37 AM in reply to: joechrobak



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
Information Modeling and Platform Products Group

Autodesk, Inc.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.