Display full version of the post: How to define wire size in Circuit Builder ???

busy7700
21.04.2014, 16:47
Hi All,I was wondering if someone could help me please with Circuit Builder.How can I define the wire size by using API calls or call out value of attribute from the table ?  or if you know another way please let me know. Thanks in advance!

John Connor
21.04.2014, 18:27
Isn't wire size handled in the Create/Edit Wire Type dialog box?  Wire types are controlled by layers.Size: Wire size property for the wire type.  Replaceable parameter %S in Layer Name.

busy7700
21.04.2014, 18:48
Yes I did this step already but I was wondering how I could call out the value when I run the circuit builder? Thanks

John Connor
21.04.2014, 18:50
You want the wire size to be called out like a wire number?

busy7700
21.04.2014, 19:08
Thank you John for reply.Yes, I want to call out   them as wire number.

John Connor
21.04.2014, 19:16
Did you try clicking on the icon to the right of Wire Setup to launch the Wire Size Lookup dialog?
John Connor2014-04-21 19:29:56

busy7700
21.04.2014, 19:35
I want to access the sub-list table (or something else if is possible) to call out value ("WIRE SIZE")Please see attached photo for a better understanding of what I want.

John Connor
21.04.2014, 19:50
I don't know how you would add that unless you edited the wire number block by adding an attribute for size.  The block name is WD_WNH.

John Connor
21.04.2014, 20:03
>There you go.  Now when I insert a wire I get to tell ACADE not only what the number is but the size as well.Just be careful what you wish for because it could come back to haunt you later on.  You might be better off creating a brand new wire number block instead of using the one ACADE provides.  You'll have to determine for yourself if that is a wise move or not.


John Connor2014-04-21 20:05:30

busy7700
21.04.2014, 20:34
I tried to edit the block "WD_WNH" with a new attribute "WSIZE".  Next I inserted a new  marker_blocks "WS01" in my "ace_cb1_***" and I called in spreed sheet "(c:ace_cb_wnum nil 1 nil)Could you please tell me what I'm doing wrong?  because something is not working.Would be very much appreciated your help. Thanks in advance.
busy77002014-04-21 21:53:31

John Connor
21.04.2014, 23:04
It looks like you copied what was there then renamed WIRENO to WSIZE.  Probably not a good idea.Try creating a brand new block instead.

busy7700
22.04.2014, 17:03
Hi John,Could you please share with me how is look your new block?I am a beginner in using AutoCAD Electrical and Circuit Builder.(you can contact me sandumariana7@gmail.com if is works for you)Thank You in advance!

John Connor
22.04.2014, 17:56
I am a beginner too as far as AutoCAD Electric goes (2012 version) and I am not familiar with Circuit Builder.  But I do have extensive knowledge of AutoCAD.  Maybe I am not the best person to be giving you advice.

busy7700
22.04.2014, 18:23
I need your help, please help me.Please let me know how you did arise the WiRE SIZE "RED_12AWG" when you run your circuit.I created a new block from the scratch. I followed the steps:: Schematic -- Symbol Builder -- OK (Block Editor Open) -- Add Atrribute -- "WIRENO" and "WIRES" -- Save the block in the pathWhen I run my circuit the new block is show up whit WIRENO "111-T1" but when I check the properties the WIRES attribute value is empty. I do wrong?

John Connor
22.04.2014, 19:42
I created a temporary block for testing purposes only.  After I proved I could do it, and after posting the image here, I closed the drawing without saving the block because I did not need or want it anymore.

busy7700
22.04.2014, 19:49
How you made the connection between the attribute and wire size?

John Connor
22.04.2014, 19:57
I copied the original block [WD_WNH] off to one side of my drawing then exploded it.I added the new attribute then I created a new block and called it WD_WSH.When I insert the new block into my drawing the first two attributes to be filled in are for the wire number and the wire size.  All the W*USER attributes I ignore.

John Connor
22.04.2014, 19:58
This is what I see on my screen when I insert the new block.


John Connor
22.04.2014, 20:02
This is what the exploded block looks like with the new attribute added.The line is only for referencing the basepoint for my new block.  The number and size will be equidistance from either side of the wire.


John Connor2014-04-22 20:26:10

John Connor
22.04.2014, 20:05
And this is what the block looks like after it has been created and inserted into my drawing.The white line is a wire.  The spacing between the bottom of the wire number and the wire itself is 0.0625 inches.  The spacing between the top of the wire size number and the wire itself is 0.0625 inches.


John Connor2014-04-22 20:26:31

John Connor
22.04.2014, 20:24
I've got to run off for a while so I can't provide any further help.  I'll try to check back later.  Good luck.

John Connor
23.04.2014, 13:15
If you want to you can keep the block name the same.  When it comes time to save your block give it the name WD_WNH.  You'll be told there is already a block by that name (and the number of instances of the block) in the drawing and asked if you want to redefine it.  In this case the answer would be yes so click on Redefine Block.  Once you have done that run the ATTSYNC command and go with the default option "Select".  Click on one of the WD_WNH blocks.  It has been redefined.  Now double-click on one of the blocks to bring up the Enhanced Attribute Editor.  You should now see WIRESZ as one of the tags that can be filled in.

John Connor
23.04.2014, 13:17
This is what you'll see on your screen when you try to save the revised version of the WD_WNH block.  You want to pick the Redefine block option.