Auto-assigning the same wire number for all ground wires
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was invloved in addressing this scenario over on the Idea Station. I thought I would post here as well, in case anyone needs to assign the same wire number to all ground wires.
You can assign wire numbers based upon layer name. If all grounds distribute from a common point they will all share the same wire number. You must first edit the wd.env file and remove the asterisk in from of the line that reads:
SETQ:GBL_wd_wnum_noduplicate_chk,'("GND" "24VDC" "COM")
GND is a default, so you only need to remove the asterisk that comments out the line. This will enable the option. If you prefer to name your ground wires PE or EARTH, add these text strings to the list. Place each within quotation marks. So the line will now look like this:
SETQ:GBL_wd_wnum_noduplicate_chk,'("GND" "24VDC" "COM" "PE" "EARTH")
Next go to Project Properties and click the Wire Numbers tab. Set as shown in the first attachment below. The reason I used D,D,D,D,D,etc. as the suffux is because the software needs some type of suffix when assigning wire numbers based upon line references. So I set the wire number to GN and the suffix adds the letter D. If I wanted to name the ground wires PE, I wouild enter P into the "Wire number format for layer" field and E,E,E,E,E,E, etc. into the suffix field.
You will notice that my main ground stud, tagged as -PE, branches off in a star-like configuration to distribute "potential earth" to various circuits. This method allows each ground wire to be a different gauge/size if necessary. Source arrows distribute ground to destination arrows attached to various circuits throughout the project.
But you could also just connect one wire to the ground stud and use a source arrow to feed multiple circuits throughout the project. Since all wires connect to the same source arrow all ground wires will share the same wire number. This method can be used if all ground wires are the same gauge/size. (see 2nd attachment)
If you are auto-assigning wire numbers sequentially, rather than line-reference based, no suffix is needed, so you can type GND, PE, EARTH, etc. into the "Wire number format for layer" field and leave the suffix field blank. So wires on a layer that begins with GN (green/yellow) will be numbered GND, PE, EARTH, etc.. GN* takes care of all sizes of green/yellow wires. (see 3rd attachment)
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.