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: 

How to change the Wire Numbering field to either yes or no using API

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
alan_rackham
237 Views, 2 Replies

How to change the Wire Numbering field to either yes or no using API

I just discovered today that I can use the following API call to add wire layers to AutoCAD electrical.  This manual does not show me how to update the Wire Numbering field.  Can anyone help?

(c:ace_mod_wiretype "RED-AWG" (list "SIZE" "14" "USER1" "XHW") nil)
2 REPLIES 2
Message 2 of 3

that api is to modify existing wiretype, not sure why there isn't an option to toggle numbering.

 

You can use c:ace_new_wiretype to add a wire layer

 

Or possibly include "WIRENO" 0 (0 off/1 on) in your options list

 

 

Message 3 of 3

James

 

Thanks for the information.  The final solution was:

 

(c:ace_mod_wiretype "WIRES_NORMAL" (list "WIRENO" "1") nil)

 

You need quotes around the number.  This should be in the API help, but it isn't

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

Post to forums  

Autodesk Design & Make Report