24
1979
The schematic parent solenoid symbol includes just one extra attribute: WDTAGALT carries a copy of the instrument value of the bubble.
Your drawings must be part of the active AutoCAD Electrical project so that the WDTAGALT value on the instrument drawing is automatically updated when you edit the schematic parent tag name and vice versa. Using AutoCAD Electrical SURF on one automatically includes the other in the surf pick window. 1 Open the Project Manager. 2 Open the project containing the instrument and schematic drawings. 3 On the Project Manager, double-click the schematic drawing to open it. 4 Zoom in so that your schematic symbol is visible.
5 On the Project Manager, double-click the instrument drawing to open it. 6 Zoom in so that your valve representation is visible.
7 On the Project Manager, right-click the project name, and select Properties. 8 On the Project Properties, Cross-references dialog box, Cross-reference Options section, select Peer-to-Peer. 9 Click OK. 10 Right-click the schematic symbol to edit in the drawing (in this case, SOL2500). 11 Select Edit Component from the context menu. 12 On the Insert/Edit Component dialog box, click Tags Used: Schematic.
13 Select Show all components for all families. The tag values from the other symbol appear in the list. 14 Select the valve representation (in this case, FE100) with a family code of IN (for instrument). 15 Click Copy Tag. 16 On the Copy Tag dialog box, click WDTAGALT. 17 On the Insert/Edit Component dialog box, click Show/Edit Miscellaneous. 18 Verify that the WDTAGALT value lists the TAG1 value of the valve (in this case, FE100) and click OK. 19 On the Insert/Edit Component dialog box, click OK. 20 On the Update Other Drawings dialog box, click Now to update the drawing. The WDTAGALT value of the schematic symbol is automatically updated and the TAG1 value of the valve (or TAG1 PART1/TAG1 PART2 combined value) appears next to the symbol in the drawing.
The WDTAGALT value of the valve is automatically updated and the TAG1 value of the schematic symbol appears next to the valve in the drawing.
Any device can have pins assigned to it, but common components that carry pin assignments are relays, motor starters, and connectors. Pins are used for:
You can expand the Pin List database table as needed. Many users have difficulty creating their own database entries so the following procedures simplify this procedure for you.
Basic workflow
Pin lists are directly associated to catalog numbers and therefore are not applied to a component symbol until the catalog number has been assigned. You can use wildcards inside the Pin List database to find the catalog number to apply a single pin list to multiple symbols. The basic workflow for pin numbers being assigned to a symbol is as follows:
Insert a component. On the Insert/Edit Component dialog box, assign a catalog number. Pin List database is queried. Coil pins are applied to the parent symbol's terminal attributes. The Pin List is applied to the parent symbol as xdata or attributes. If the pin numbers are assigned as xdata, there is not a PINLIST attribute since the pin assignment comes from the pin list table.
Setting up COILPINS
The COILPINS column in the Pin List database specifies the terminal pin numbers for a coil or parent symbol of a component. This is generally two pin numbers separated by a comma (such as K1,K2). When a component calls for additional pin assignments on the parent, you can continue the list with each value separated by commas. These values are applied to the TERM01 and TERM02 attributes respectively on the parent symbol. If you set COILPINS = "K1,K2;" then pins K1/K2 are assigned to the parent symbol of a component. In the example below, TERM01 = K1 and TERM02 = K2.
Setting up a PINLIST
The PINLIST column in the Pin List database specifies the contact types and their respective pin numbers. A two terminal contact has three elements in this format: contact type, terminal pin, terminal pin. Each PINLIST value can have up to 256 characters. Use a value 0-5 to specify the contact type, where:
0 = convertible contact 1 = N.O. 2 = N.C. 3 = Form-C (NO/NC pair) 4 = multiple-pole terminal strips or undefined type 5 = multiple-pin or stacked terminals
If you set PINLIST = "0,13,14;0,23,24" then 0= contact type, 13 (or 23)= TERM01, and 14 (or 24)= TERM02. If you set PINLIST = "0,13,14,*prompt," "*prompt" adds a description label. This optional label is always the last element of the list and is preceded by an asterisk character (if the asterisk is left out, the comment is interpreted as another pin number). To view or manually edit the PINLIST values, select Edit Component, and then click NO/NC Setup on the Insert/Edit Component dialog box.
Shared files
The following shared files can be pasted from your local machine to a shared location. The table lists the file names, default location, and any WD.ENV file lines that must be modified. The main executables and static support files are located under C:\Program Files [(x86)]\Autodesk\Acade {version}\. The user-modifiable support files and database content are found under Windows XP: C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\ Windows Vista, Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\ NOTE It is not required that you share these files, but sharing makes it easier for multiple users to work with projects in AutoCAD Electrical.
Databases default_cat.mdb, footprint_lookup.mdb, schematic_lookup.mdb, wd_lang1.mdb, wd_picklist.mdb, wddinrl.xls, ace_electrical_standards.mdb Windows XP: C:\Documents and Settings\{username}\My Documents\Acade {version}\AeData\Catalogs Windows Vista, Windows 7:C:\Users\{username}\Documents\Acade {version}\AeData\Catalogs WD.ENV file edit: Original path: WD_CAT,%WD_DIR%/catalogs/,AE catalog file path Edited path: WD_CAT,N:Electrical/Shared_Files/Catalogs/,AE catalog file path NOTE These files must be kept in the same location since the program locates them according to the same WD.ENV file entry. Circuit Builder Spreadsheet ace_circuit_builder.xls Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\AcadE {version}\Support\
Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\AcadE {version}\Support\ WD.ENV file edit: Original file name: WD_CIRCBUILDER_FNAM,ace_circuit_builder.xls,Circuit Builder spreadsheet file name Edited name: WD_CIRCBUILDER_FNAM,my_ace_circuit_builder.xls,Circuit Builder spreadsheet file name Symbol libraries jic1, jic125, iec2, iec4, jis2, gb2, panel, pneu_iso125 Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\Libs Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\Libs
NOTE The symbol library path is stored with each project in its .wdp file and must be modified. AutoCAD Electrical icon menu (Insert Component menus) ACE_AS_MENU.DAT, ACE_GB_MENU.DAT, ACE_HYD_MENU.DAT, ACE_IEC_MENU.DAT, ACE_JIC_MENU.DAT, ACE_JIS_MENU.DAT, ACE_PANEL_MENU.DAT, ACE_PID_MENU.DAT, ACE_PNEU_MENU.DAT, WD_ABECAD.DAT Windows XP: C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support Windows Vista, Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support
NOTE The menu path is stored with each project in its .wdp file and must be modified. Slide images for AutoCAD Electrical menus ACE_GB.slb, ACE_GB.dll, ACE_JIS.slb, ACE_JIS.dll, ace_as.slb, ace_as.dll, ace_hyd.slb, ace_hyd.dll, ace_pid.slb, ace_pid.dll, bb.slb, iec1.slb, iec.dll, loc2.slb, pn0.slb, pn0.dll, pn1.slb, pn1.dll, pn2.slb, pn2.dll, pn3.slb, pn3.dll, pnl2.slb, pnl2.dll, pnl.slb, pnl.dll, s1.slb, s1.dll, s2.slb, s2.dll, Ww.slb
Windows XP:C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support Windows Vista, Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support S_LDPC.SLB, WD_LOCAL.SLB, WDSIG.SLB, WDSIG_1.SLB, gepb.slb C:\Program Files [(x86)]\Autodesk\Acade {version}\Support WD.ENV file edit: Original path: *WD_SLB,x:some path/, to override path pointing to ".slb" slide lib support files Edited path: WD_SLB,N:/Electrical/Shared_Files/Slides/, to override path pointing to ".slb" slide lib support files NOTE For the path in the .env file to be recognized, the asterisk (*) in front of the line must be removed. These slide files may be relocated using this path, or they can just be placed in the same location as the menu files. PLC database/images Content of PLC folder (ace_plc.mdb and bitmap files) Windows XP: C:\Documents and Settings\{username}\My Documents\Acade {version}\AeData\PLC Windows Vista, Windows 7: C:\Users\{username}\Documents\Acade {version}\AeData\PLC NOTE These files must be in a location that is specified as an AutoCAD Support path. They can be placed in a location that is already defined as being a support path, or you can add a new support path pointing to this location. Description selections wd_desc.wdd Windows XP: C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support Windows Vista, Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support
NOTE These files must be in a location that is specified as an AutoCAD Support path. They can be placed in a location that is already defined as being a support path, or you can add a new support path pointing to this location. Installation code selection list default.inst Optional file, does not exist by default. To create this file in Notepad, create a file with the project name and an .inst extension (or use default.inst) and save to an AutoCAD Support path so the program can find it. NOTE These files must be in a location that is specified as an AutoCAD Support path. They can be placed in a location that is already defined as being a support path, or you can add a new support path pointing to this location. Location code selection list default.loc Optional file, does not exist by default. To create this file in Notepad, create a file with the project name and a .loc extension (or use default.loc) and save to an AutoCAD Support path so the program can find it. NOTE These files must be in a location that is specified as an AutoCAD Support path. They can be placed in a location that is already defined as being a support path, or you can add a new support path pointing to this location.
NOTE You cannot set up network deployment after installing AutoCAD Electrical as a stand-alone program on individual machines.
Setting up layers
1 In a blank AutoCAD Electrical drawing,
drop-down Drawing Properties. 2 On the Alert dialog box, click OK to add the WD_M block. 3 In the Drawing Properties dialog box, click the Style tab. You can select the default Fan-In/Out marker style here along with defining the layers for the wires. Notice that the default layer name for fan in/out single line layers is "_MULTI_WIRE." 4 In the Drawing Properties dialog box, click OK. 5 Click the AutoCAD Layer Properties Manager tool. 6 In the Layer Properties Manager dialog box, change the color of "_MULTI_WIRE" to red and the color of "WIRES" to blue for this example. The color difference illustrates how the feature works. 7 In the Layer Properties Manager dialog box, click OK.
Inserting components
1 Click Schematic tab Insert Components panel Insert Components
drop-down Icon Menu. 2 In the Insert Component: JIC Schematic Symbols dialog box, select Push Buttons. 3 In the JIC: Push Buttons dialog box, select Push Button N.O. 4 Press F9 to turn on SNAP. 5 Insert the push button anywhere on the left-hand side of the drawing. 6 In the Insert/Edit Component dialog box, click OK-Repeat to insert two more push buttons directly below the first one. 7 In the Insert/Edit Component dialog box, click OK after the last push button is inserted on the drawing. 8 Repeat to insert three Limit Switches N.O. Insert the limit switches anywhere on the right-hand side of the drawing (slightly below the push buttons you inserted).
Adding wires
1 Click Schematic tab Insert Wires/Wire Numbers panel Insert Wires
drop-down Wire. 2 Add a wire to the top push button. Drag the wire to the right. 3 Repeat for the other two push buttons. 4 Add a wire to each of the limit switches. Drag the wires to the left. 5 Press F9 to turn off SNAP. 6 Select all of the wires and verify that they were created on the WIRES layer.
Arrows drop-down Fan In Source. 2 In the Fan In/Out Source dialog box, select Solid as the Source marker style. 4 Click the left button to set the wire connection orientation.
5 Select in the middle of the wire that is connected to the top push button. 6 In the Signal - Source Code dialog box, enter "cbla" as the code and "RED" as the description. If you enter the color of the wire in the Description field, AutoCAD Electrical reports use this information in the Wire Color field. 7 Click OK. 8 In the Source/Destination Signal markers (for Fan In/Out) dialog box, click Yes to insert the matching destination marker now.
NOTE Because the destination wires are nearby, it is easier to insert them right away. If the wires were on another drawing you could wait until later to add the destination markers. 9 In the Fan-In/Fan-Out Signal Destination dialog box, select Solid as the destination marker style. 10 Click the right button to set the wire connection orientation.
11 Select in the middle of the wire connected to the top limit switch. Notice that the wires for both change from blue to red, and the description RED appears on both. AutoCAD Electrical breaks the wire and changes the appropriate wire piece to the defined layer. When inserting a source marker the wire coming out of the marker changes; when inserting a destination marker, the wire going into the marker changes.
You are prompted to define the next source. 12 Repeat for the middle and bottom wires for each group.
For the middle wire: In the Signal - Source Code dialog box, click Use to enter "CBLA-01" as the code and enter "BLUE" as the description. For the bottom wire: In the Signal - Source Code dialog box, click Use to enter "CBLA-02" as the code and enter "WHT" as the description. Notice that the wires change from blue to red, and the descriptions BLUE and WHT display on both sets of wires. 13 Press Esc to exit the command. 14 Select all of the wires and verify that they are on the _MULTI_WIRE layer.
5 Type MA at the command prompt to run the AutoCAD MATCHPROP command. 6 Click the wire connected to the top limit switch. 7 Click each of the lines you just created. The lines change from black to red since they are taking on the properties of the wire you selected.
Markers drop-down Cable Markers. 2 Select to insert a cable marker. 3 Insert the cable marker on the horizontal line. 4 In the Insert/Edit Cable Marker (Parent wire) dialog box, click Catalog Data Lookup. 5 In the Parts Catalog dialog box, select the 3 conductor (second item in list) and click OK. 6 In the Insert/Edit Cable Marker (Parent wire) dialog box, delete the wire color/id value (BLK), and click OK. 7 In the Insert Some Child Components dialog box, click Close.
Database Editors
drop-down PLC Database File Editor. 2 Click the PLC Database File Editor tool. 3 In the PLC Database File Editor dialog box, highlight PLCs in the PLC selection list and click New Module. 4 In the New Module dialog box, specify the following:
Manufacturer: Allen-Bradley Series: 1746 Series Type: Discrete Input Code (Catalog Number): 1746-IA9 Terminals: 9 Addressable Points: 8
5 Click OK.
You now have a new blank input module with nine terminals and eight addressable I/O points. You now need to define some information for each terminal in the module, the most important being what symbols AutoCAD Electrical should stack together to build the module. Usually the top-most symbol for the module is a little different from the rest so
that it can carry some basic information for the module that only needs to occur once in the final symbol.
3 Select to use Module Info Input I/O Point Wire Left by selecting the picture and then click OK. The selected terminal is assigned to the Terminal Type in the PLC Database File Editor dialog box. AutoCAD Electrical looks at the block to see what attributes come in when the block is inserted. Some of the attributes come in with predefined values that can be overwritten. You will see these predefined values in the grid below the terminal type list. 4 In the PLC Database File Editor dialog box, multiple-select the next seven terminals, right-click, and select Edit Terminal.
NOTE You can select multiple fields to edit at the same time by dragging your mouse across contiguous fields or by holding down the Control key while selecting non-contiguous fields. 5 In the Select Terminal Information dialog box, select the Input category and look at the available terminals.
6 Select the Input I/O Point Wire Left terminal and click OK. All seven terminals are assigned at the same time.
7 In the PLC Database File Editor dialog box, right-click on the last terminal and select Edit Terminal. 8 In the Select Terminal Information dialog box, select the Terminal category. 9 Click the Terminal Point Wire Right terminal and click OK. As an alternative to the Select Terminal Information dialog box, you can use the drop-down list of predetermined Terminal Types. Click the arrow for the Terminal Type and select from the list of available terminal types.
There are about two dozen symbols (with a file name "HP?*.dwg" where "?" is the style number) associated with each style in the library folder. To create a style, copy an existing style's symbols to one of the unused style numbers (6-9) and edit each library symbol. Library folder: Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\Libs\{library}\ Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\Libs\{library}\ 3 Specify the module box dimensions for the selected style. These values set the right, left, top, and bottom offsets for the rectangle that surrounds the module. The optional Split Top and Split Bottom specify the offsets for a split module where Split Top specifies the offset for the top of a split module and Split Bottom specifies the offset for the bottom of the split module. If left blank, the rectangle Top and Bottom values are used. 4 Specify any properties for the lines that make up the box. You can set the color and linetype using the properties fields. To predefine the color, enter "COLOR colorname" into the box. For linetype, enter "LTYPE linetypename" in the box. 5 Click OK.
Category
Used in the PLC Database File editor to easily find specific types of terminals. These descriptions are used during the terminal type selection process. They need to be maintained as unique This file is also used by the PLC database File editor to display a view of the terminal for selection. Symbols and BMP files need to be created outside of the PLC database file editor. Symbols are found in the standard library search path, while PLC Bitmap images are maintained in the same OS folder as the PLC Database itself Windows XP: C:\Documents and Settings\{username}\My Documents\Acade {version}\AeData\ Windows Vista, Windows 7: C:\Users\{username}\Documents\Acade {version}\AeData\
Unique Description
1 In the PLC Database File Editor dialog box, click Settings. The Terminal Block Settings dialog box lists the library symbols for the terminal blocks that appeared in the Select Terminal Information dialog box. Notice that row 1 lists the block file name and sample bitmap file for the terminal we selected for Terminal Type 1. 2 Switch between the various graphic styles. Notice that the block name updates depending on the style and orientation you select. For example, the block name is "HP1WA-DL" for Style 1, Horizontal. If you select Style 4, Vertical the block name changes to "VP4WA-DL". Graphical styles are used during the operation of the PLC Parametric Selection process. These bitmap images appear during normal operation and selection of PLC entries and are found at C:\Program Files\Autodesk\Acade {version}\Acade. Use the same file names that are already there: P_STYLEx.bmp where 'x' is the plc style 1-9. 3 Click View DWG or View Bitmap to view the PLC parametric symbols. 4 After you are done viewing the various symbols, click Cancel.
Notice that the value for the LINE1 is RACK %%1 and LINE2 is SLOT %%2. The prompting values of %%1 and %%2 are populated with what you type into the text box when prompted. The static text of Rack and Slot appears in the attribute once the PLC module is created. There are multiple prompting variables from %%1 through %%9. Prompting strings can be added to any existing attributes on the terminal block. If you wanted to add additional prompts with out using the existing attributes you would have to modify the block file to add additional attributes such as Line3. Top terminals are the only symbols which can accept prompts during the parametric PLC insertion process. 2 Edit each attribute value for the TAG attributes to read "IN-%%N." Besides the Module Prompt variables, AutoCAD Electrical also supports the use of an address variable. When the module is inserted, the PLC I/O addresses are calculated based on some AutoCAD Electrical settings and the module settings. You can trigger AutoCAD Electrical to include a prefix or suffix to each address value it inserts. The %%N represents the calculated I/O address and the IN- is the prefix that gets added to the address value. You can also use the prompt values. For example, if you want to permanently encode the rack and group numbers (%%1 and %%2 prompts) into each I/O address value, encode each I/O address entry in the date file with "TAGA_=%%1%%2%%N." 3 If you want to assign a text constant to any attribute value, combine a text constant with the variables as shown in the module prompts and addressing examples above.
6 In the I/O Address dialog box, specify a beginning I/O address or use the quick picks to select an address (such as I:/00). 7 Click OK. Your module should look like the following. The Manufacturer, Catalog Number, and Description attributes also display at the top of the module (not shown).
The spreadsheet on page 2006 defines the available circuits, circuit types, and defaults for each option within a circuit. The template on page 2010 (.dwg file) for a selected circuit defines the placement for the individual components and the wiring. The electrical standards database on page 2015 provides the values used to annotate the circuit, size circuit components, and provide the appropriate motor wire type.
Workflow
1 Circuit Builder opens the spreadsheet and reads in the first sheet named ACE_CIRCS. 2 Circuit Builder shows the list of defined circuits in the Circuit Selection dialog box. 3 Select a circuit to insert or configure. The associated line from the ACE_CIRCS sheet provides the base drawing template name, and the name of a circuit code sheet. The circuit code sheet is a separate sheet within the Circuit Builder spreadsheet. 4 The base drawing template for the circuit inserts at your selected location. 5 Circuit Builder finds and reads the attributes on all the special marker blocks on the inserted drawing template. 6 Circuit Builder matches each marker block to a specific section in the circuit codes sheet. This section can be a single spreadsheet row or
multiple consecutive rows in the circuit codes sheet. The section identifies one of the following:
The action taken at this marker block location in the circuit. For example, calculate a wire type, insert a wire number, or adjust rung spacing. Provides a list of component insertion options that can be inserted at this point in the circuit. For example, presents a selection list containing a fuse, circuit breaker, or disconnect switch symbol.
Each marker block is processed in sequence, controlled by an ORDER attribute value carried on each marker block 7 A marker block can insert a nested template into the main circuit template. If the nested template carries its own marker blocks, these marker blocks are added to the overall list to process. When all marker blocks have been processed, the circuit is complete.
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\AcadE {version}\Support\ Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\AcadE {version}\Support\
The default spreadsheet name, ace_circuit_builder.xls, can be overridden by setting the environment variable, WD_CIRCBUILDER_FNAM, in the wd.env on page 1984 file.
ACE_CIRCS sheet
Circuit Builder reads the list of circuit categories and types from the first sheet in the spreadsheet, ACE_CIRCS. This information appears in a tree-structure selection window in the Circuit Selection dialog box. The ACE_CIRCS sheet contains the following columns.
CATEGORY A major circuit category displayed at the highest level of the tree structure in the Circuit Selection dialog box. The specific type of circuit within a major category. The circuit types appear at the second level of the tree structure. The drawing template that is inserted when this circuit is selected. If a .dwg extension is not present, it is assumed. The circuit code sheet name that is referenced for the selected circuit template. This circuit code sheet carries the definitions for all the marker blocks in the selected drawing template and any nested templates. Code maps to the ANNO_CODE table in the spreadsheet. Allows you to predefine the description, installation, location, and other key information, for the motor or load and the individual components that might be inserted into the circuit.
TYPE
DWG_TEMPLATE
SHEET_NAME
ANNO_CODE
COMMENTS
Text displayed in the Circuit Elements list in the Circuit Configuration dialog box. The default option for a circuit element is marked with an X. When a circuit is inserted rather than configured, all elements marked with "X" are used to build the selected circuit. Title for the group of options in the middle Select section of the Circuit Configuration dialog box. Each circuit element can have one or more groups of options. For example, the main disconnecting means might have two groups of options, the disconnecting means itself and an optional auxiliary contact. This field can also contain a predefined code to bring up a separate dialog instead of driving the middle Select section of the main Circuit Configuration dialog box. There are two pre-defined codes: !MCC_CTRL - invokes the Select Motor on page 710 dialog box when the Browse button on the Motor Setup section of the Circuit Configuration on page 708 dialog box is selected. It must be combined with the ace_cb_motor_select API call in the LOOKUP_CMD entry. !PF_CTRL - invokes the Select Load on page 711 dialog box when the Browse button on the Load Setup section of the Circuit Configuration on page 708 dialog box is selected. It must be combined with the ace_cb_power_feed_select API call in the LOOKUP_CMD entry.
UI_DEF
UI_TITLE
NOTE Include the ace_cb_wire_select API call in the LOOKUP_CMD entry to invoke the Wire Size Lookup on page 712 dialog box when the Browse button in the Wire Setup section of the Circuit Configuration dialog box is selected.
UI_PROMPT_LIST
The text to display in the middle Select section for each option within this group. A numerical value assigned to the selection from each group. These numerical values are added up and matched to the value in the UI_SEL column. NOTE This value must be inserted as a text value in the spreadsheet and not as a number. An apostrophe character in front of the number forces the spreadsheet software to interpret it as a text value. You can also format the cells specifically as text. The text appears left justified in the cell.
UI_VAL
UI_SEL
A numerical value matched to the sum total of the values in the UI_VAL column for each selection made within a group. The COMMAND_LIST value from this row is used to insert the selected options. NOTE This value must be inserted as a text value in the spreadsheet and not as a number. An apostrophe character in front of the number forces the spreadsheet software to interpret it as a text value. You can also format the cells specifically as text. The text appears left justified in the cell.
COMMAND_LIST
The command calls to insert the selected options. NOTE These calls are generally set up using standard AutoLISP format. Multiple calls can be concatenated in the same cell or in subsequent rows of the sheet. If multiple rows are used, the UI_SEL value cell is repeated. Anything after a semi-colon character is interpreted as a comment
ANNOTATE_LIST
Optional command calls to annotate the circuit element. The ANNOTATE_LIST calls execute after all rows of the COMMAND_LIST calls have executed. Optional command calls to perform the electrical standards database or catalog lookups for the selected circuit element. This field controls the right-hand side of the Circuit Configuration dialog. Optional catalog lookup table name. If the option contains multiple components, such as a disconnect switch and a fuse, there are multiple columns where n increments for each component. The title for the component within the Setup & Annotation section on the Configuration dialog box. If the option contains multiple components, such as a disconnect switch and a fuse, there are multiple columns where n increments for each component.
LOOKUP_CMD
TABLEn
TITLEn
ANNO_CODE sheet
Allows you to predefine the description, installation, location, and other key information for the motor or load and the individual components inserted into the circuit.
ANNO_CODE CODE Value is matched to the ANNO_CODE value from the ACE_CIRCS sheet. Value is matched to the CODE value of the marker block on the circuit template.
ATTRIBUTE
Attribute name on the component inserted at the position of the marker block. Text prompt displayed in the Annotation Presets dialog box. The default value for the attribute if annotation presets are listed on page 708 or applied on page 706. This value can be a text value or an AutoLISP expression that returns a text value. Future
PROMPT DEFAULT
OPTIONS
ace_cb1_*.dwg - primary circuit drawing templates ace_cb2_*.dwg - branching or nested circuit drawing templates
The default location for the circuit drawing templates is the schematic library folder:
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\AcadE {version}\Libs\{library}\ Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\AcadE {version}\Libs\{library}\
One-line template drawings have a 1- suffix. The default location is in a 1- folder under the schematic library folder.
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\AcadE {version}\Libs\{library}\1Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\AcadE {version}\Libs\{library}\1-
NOTE This template drawing naming convention is recommended but is not required for Circuit Builder to function. A circuit template contains the wiring framework for the circuit and special marker blocks. These marker blocks are nothing more than instances of a standard AutoCAD block, ace_cb_marker_block, carrying three attributes. These marker blocks tell Circuit Builder that some action or decision is required at the insertion point of the marker block. The action can be:
Insert a component. Insert a multi-pole component. Make a wire type assignment to the underlying wire. Insert a wire number on the underlying wire. Decide if a branching circuit is needed. Decide if an underlying wire stretches and connects to a nearby power bus. Decide if underlying wire bus spacing adjusts.
NOTE If you choose to Insert a circuit, bypassing the Circuit Configuration dialog box, the default options, as defined in the Spreadsheet on page 655, for each circuit element are used.
ORDER
MISC1
_WIRESKIP=<value> - number of wires to skip over when trying to connect to another wire. _MAXTRAPCOUNT=<value> - maximum search distance to look for a wire connection, given in wire connection trap units. The wire connection trap value is fixed and is displayed on the Drawing properties: drawing format tab on page 231 for the active drawing. _BASE - indicates a base wire, the one that does not move, when setting up to adjust multiple bus wire spacing. If not defined, the wire that is co-linear with the insertion point of the template becomes the default base wire. _L =<value>- each sublist, delimited by "|" characters, can predefine attribute values for individual poles of a multi-pole component, set of terminals, or set of cable markers. _D=<value> - define the build direction override for a multi-pole component. 1=build right, 2=build up, 4=build left, 8=build down. Without an override, the build direction is down for horizontal inserts, and from left to right for vertical inserts. X=<value or AutoLISP expression> - reposition the marker block in the "X" direction. For example, "_X=(* 0.5 DIST01)" means adjust the position of this marker block in the X direction by an amount equal to 0.5 times the bus spacing distance defined by marker block with a CODE attribute value of "DIST01". This example can be used to position a marker block for a single phase motor insertion point, halfway between two power bus wires. _Y=<value or AutoLISP expression> - reposition the marker block in the "Y" direction.
NOTE The flags defined in the circuit drawing marker blocks override any spreadsheet settings.
Blocks that define a wire number to assign to the wire under the block. Blocks that define the placement of a branching or nested circuit such as a control circuit at the insertion point of the marker block. Blocks that define the placement of a component, connector, terminal, cable marker, or a multi-pole component at the insertion point of the marker block. Blocks that control rung spacing adjustment for the wires under these blocks. Blocks that are processed as a group must carry common CODE and ORDER attribute values. Blocks that control stretching a wire segment to connect to another wire.
Component
Bus Spacing
Wire Connections
NOTE The name of the marker block cannot be changed. The Circuit Builder command only processes marker blocks named "ace_cb_marker_block".
Provide an anchor point for the one-line circuit representation that begins at this location. Break into the one-line bus where the circuit connects.
On a dual circuit one-line template, there are three of bus-tap symbols. One at the normal point where the circuit ties into the bus. There is another version of the symbol on each of the two circuit "legs", each marking the point where that part of the dual circuit starts. These bus-tap symbols allow various reports to report accurately on a one-line circuit, whether a single circuit or a dual circuit representation. The following bus-tap symbols are supplied:
HDV1_BT_1-.dwg - with dot for horizontal one-line circuit VDV1_BT_1-.dwg - with dot for vertical one-line circuit HDV1_BTT_1-.dwg - tee connection for dual horizontal circuit
VDV1_BTT_1-.dwg - tee connection for dual vertical circuit HDV1_BTL_1-.dwg - corner connection for dual horizontal circuit VDV1_BTL_1-.dwg - corner connection for dual vertical circuit
Windows XP: C:\Documents and Settings\{username}\My Documents\Acade {version}\AeData\Catalogs\ Windows Vista, Windows 7: C:\Users\{username}\Documents\Acade {version}\AeData\Catalogs\
Sizing and wire type values are based on information from the electrical standards database. Circuit Builder looks for a match on the motor size, supply voltage, and phase. On a match, Circuit Builder provides the Full Load Amp value, recommended motor power conductor size, and suggested rating values for various branch circuit protection elements such as circuit breakers, fuses, and disconnect switches. The electrical standards database also allows Circuit Builder to provide engineering estimates and green calculations in the area of power conductor size versus energy losses. Designing to meet minimum code requirements can conflict with green design. For example, designing to the minimum conductor size for a given load can provide short-term savings on material cost but run up longer-term expense due to higher heating loses in the wiring. Over the life of the installation, the energy lost in heating up the minimum-sized wiring, instead of reaching the load to do useful work, could be substantial. During wiring sizing, Circuit Builder displays not only a list of the valid wire sizes meeting the ampacity requirements of the load, but also a list of the estimated maximum energy loss cost for each wire size. This set of calculations allows you to make better green design decisions. For example, you decide to oversize the conductors for a motor to reduce conductor heating losses. This results in a higher initial cost for material and installation labor. However,
this cost is recovered many times over in reduced energy losses in the wiring during the life of the installation. NOTE The ace_electrical_standards.mdb file replaces the mcc.mdb file used in previous versions of Circuit Builder. The electrical standards database contains multiple tables used by Circuit Builder.
MOTOR Contains the values used to populate the Select Motor on page 710 dialog box. Contains the values used to populate the Select Load on page 711 dialog box. This table name can have an optional suffix to relate it to a specific electrical standards code. Options tables contain values defining defaults and options lists specific to an electrical standard. For example, default to copper wiring, AWG size standard, and feet for conductor length units. Wire ampacity tables contain the ampacity ratings for different conductor sizes and insulation temperature ratings. Grounding conductor sizing tables contain the maximum ampacity ratings for different grounding conductor sizes. This information is used to retrieve the minimum grounding conductor size and provide a selection list of larger sizes. Wire insulation tables lists the insulation types, the maximum temperature rating for each, and de-rating factors for each based on a series of temperatures. Conductor Reactance/AC Resistance tables contain values used to estimate single-phase and three-phase voltage drop values. Conduit/raceway descriptions list used with the XL&R_{wire type}_{wire size standard} tables. Fill tables contain the ampacity de-rating factors used when there is more than one current carrying conductor (power wiring, not ground, neutral, or control wires) in the same conduit, duct, or raceway.
FEED
OPT
FILL
MOTOR_I_DESC
Lists the component type descriptions whose sizing ties directly into the full load amps value (FLA) of the motor or load. The CODE value maps to the MOTOR_I_CALC and MOTOR_I_MAP tables. Lists the formula to calculate the maximum amp value for various types of components on a per motor type basis. Maps the calculated FLA for a component to a specific rating value and an optional catalog assignment.
MOTOR_I_CALC
MOTOR_I_MAP
NOTE Each table name can have an optional suffix to relate it to a specific electrical standards code.
Motor table
The data in the Motor table is used to populate the Select Motor on page 710 dialog box. Filter the selection list by type, voltage, and frequency. The load and FLA values for the selected motor are passed back to the Circuit Configuration dialog box and are used in wire size calculations. The values are also used to calculate breaker size, fuse size, and disconnect switch rating, for the selected motor. The MOTOR table follows this table naming convention:
MOTOR - if no specific electrical standards table is found, the default table name to use. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed MOTOR table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
Feed table
The data in the Feed table is used to populate the Select Load on page 711 dialog box. Filter the selection list by type, voltage, and frequency. The load and FLA values for the selected feed are passed back to the Circuit Configuration dialog box and are used in wire size calculations. The values are also used to calculate breaker size, fuse size, and disconnect switch rating, for the selected load.
FEED - if no specific electrical standards table is found, the default table name to use. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed FEED table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
Options tables
Options tables contain values defining defaults and options lists specific to an electrical standard. For example, default to copper wiring, AWG size standard, and feet for conductor length units. The OPT table follows this table naming convention:
OPT - if no specific electrical standards table is found, the default table name to use. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed OPT table name is not necessary unless you plan to set up the electrical standards database to support multiple standards. Description
Default full load amps multiplier value used to determine a maximum load. For example, the full load amps for a motor is rated at 10 amps and the FLA_MULT default is set to 1.25. The minimum wire size calculation for the wiring for the motor is based upon an ampacity rating of not 10 amps but 12.5 amps (10 amps x 1.25). The FLA_MULT factor displays in the Select Motor on page 710 and Wire Size Lookup on page 712 dialog boxes. Continuous load correction factor for wire size ampacity de-rating. If the electrical load is anticipated to be a continuous load, a default de-rating factor can be automatically applied to the wire size ampacity calculation. For example, a given electrical code defines the Continuous load correction factor at a value of 0.8. This means that a given wire size that normally has a maximum rated ampacity value of 20 amps is de-rated to a maximum ampacity of 16 amps when the wiring is to power a motor that is expected to be a con-
Name
FLA_MULT
C_LOAD
Name
Description
tinuous load. The wire size calculation may need to select the next larger wire size.
W_METAL
Default wire metal value used to determine appropriate wire ampacity and wire insulation table names. For example, CU to define copper wiring as the default, AL to define aluminum wiring as the default. Default wire type standard used to determine appropriate wire ampacity and wire insulation table names. For example, AWG or MM2. Maximum allowable % voltage drop in power wiring. This value can be used to help calculate an appropriate wire size when the wire run distance is also defined. Default insulation type used to determine the ambient temperature correction factor. Wire run distance values for pick list in the Wire Size Lookup dialog box. The run distance is used for estimated voltage drop calculations in the motor or load power wiring. Run distance units for power conductors and values for units pick list in the Wire Size Lookup dialog box. Run distance is used in the estimated voltage drop calculation. Units are either "FT" for feet or "M" for meters. Unit cost per kWh. This value is used for estimating a maximum annual cost of energy loss in the power wiring for a motor or load, assuming a continuous full load. KWh cost units character used in the Wire Size Lookup dialog box showing the wire loss estimates. For example, $ for dollar, for euro.
W_STD
V_DROP
W_INSUL
LEN_LIST
LEN_UNITS
KWH_COST
KWH_COST_UNITS
SHORTNAME
The code for the electrical standards name for this table. This code on page 182 is saved in the project .wdp file when the standard is applied to a project. The full name of the electrical standards name for this table. This value, extracted from all the OPT tables, provides the values for the pick list when setting an Electrical Code Standard for a project from the Project properties: project settings tab on page 204. Run distance units for power conductors and values for units pick list in the Wire Size Lookup dialog box. Run distance is used in the voltage drop calculation.
FULLNAME
LEN_UNITS
Name
VOLTS
Description
Default supply voltage value and values for voltage pick list in the Wire Size Lookup dialog box. Default supply phase value and values for phase pick list in the Wire Size Lookup dialog box. For example, 1 for single-phase, 3 for three-phase. Default value for the minimum wire size when displaying paralleled wire option in the Wire Size Lookup dialog box. For example, 1-0 AWG. Default value for the maximum number of wire conductors when displaying paralleled wire option in the Wire Size Lookup dialog box. For example, 4 for up to four paralleled wires per phase. Default ambient temperature correction factor. This value is used in wire type sizing. It must match up with one of the temperature de-rating column labels found in the INSUL_* tables. For example, 30C. Default power factor for a motor. This value is used in estimated voltage drop calculations. For example, 0.85. Default power factor for a power feed. This value is used in estimated voltage drop calculations. For example, 0.85. Defines the expression to calculate the minimum grounding conductor ampacity size. The I in the expression represents the motor or load full load amps (FLA). The result of the expression is then applied to the appropriate AMPG table to determine the minimum grounding conductor size.
PHASE
PARALLEL_MIN_SIZE
PARALLEL_MAX_CNT
T_AMBIENT
M_POWERFACTOR
F_POWERFACTOR
AMPG_MAX
Automatically select a default wire size based upon the maximum load amp value displayed in the Select Motor on page 710 or Select Load on page 711 dialog boxes.
Automatically calculate or recalculate suggested wire sizes in the Wire Size Lookup on page 712 dialog box as various parameters and de-rating factors are applied.
AMP - the table name prefix. _{type} - the wire metal type such as CU for copper, or AL for aluminum. _{size} - wire size standard such as AWG, or MM2 for metric. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
For example, a table named AMP_CU_AWG_NEC contains the wire ampacity information for copper, AWG sizes, and parallels what is found in the National Electrical Code. Name
SIZE
Description
Wire size code. This value can be automatically pushed into a wire type layer name. For example, 12, 250KCMIL. Wire size description shown on the Wire Size Lookup dialog box. For example, 12 AWG, 250 KCMIL. Imperial cross-section value for the wire conductor size. Maximum ampacity rating values for the wire conductor size for each of these standard ambient temperature ratings. Additional columns can be added or an existing column can be deleted. For example, if local electrical codes do not support 90C, this field can be removed from the table and does not show up as an option in the Wire Size Lookup dialog box.
SIZE_DESC
Provide a suggested minimum grounding conductor size based on the amp value returned by the expression defined in the AMPG_MAX entry in the OPT table.
Provide a selection list on the Wire Size Lookup on page 712 dialog box giving this minimum suggested size plus all larger grounding conductor sizes.
The grounding conductor sizing tables use the following naming convention:
AMPG - the table name prefix _{type} - the wire metal type such as CU for copper, or AL for aluminum. _{size} - wire size standard such as AWG, or MM2 for metric. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
For example, a table named AMPG_CU_AWG_NEC contains the grounding conductor sizing information for copper, AWG sizes, and parallels values found in the National Electrical Code. Name
SIZE
Description
Wire size code. This value can be automatically pushed into a wire type layer name for the ground wire. For example, 12, 250KCMIL. Wire size description shown on the Wire Size Lookup dialog box. For example, 12 AWG, 250 KCMIL. Maximum amp value associated to this grounding wire size. The value comes from the result of the expression held in the AMPG_MAX entry of the OPT table.
SIZE_DESC
MAX
Automatically select a default wire size based upon the maximum load amp value, displayed in the Select Motor on page 710 or Select Load on page 711 dialog boxes, and the default insulation type and ambient temperature rating defined in the W_INSUL and T_AMBIENT entries of the OPT table.
Automatically calculate or recalculate suggested wire sizes in the Wire Size Lookup on page 712 dialog box as various insulation and temperature de-rating factors are applied.
INSUL - the table name prefix. _{type} - the wire metal type such as CU for copper, or AL for aluminum. _{size} - wire size standard such as AWG, or MM2 for metric. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
For example, a table named INSUL_CU_AWG_NEC contains the wire insulation information for copper, AWG sizes, and parallels values found in the National Electrical Code. Name
INSUL INSUL_DESC TEMP 25C-80C
Description
Insulation type code. Insulation type description shown on the Wire Size Lookup dialog box. Standard, maximum temperature rating for the insulation type. A series of wire conductor ampacity de-rating factor values for maximum ambient temperature. Columns can be added or deleted. For example, if 30C is the minimum ambient temperature rating, the 25C column can be removed.
The description table, XL&R_DESC, contains the labels used on the Wire Size Lookup on page 712 dialog box for the conduit or raceway type selection list. The labels also map to the columns in the data tables.
Data tables The conductor reactance/AC resistance data tables use the following naming convention:
XL&R - the table name prefix _{type} - the wire metal type such as CU for copper, or AL for aluminum. _{size} - wire size standard such as AWG, or MM2 for metric. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
For example, a table named XL&R_CU_AWG_NEC contains the conductor reactance/AC resistance information for copper, AWG sizes, and parallels values found in the National Electrical Code. Name
SIZE C1-C3
Description
Wire size code. A set of reactance and resistance values, semi-colon delimited for the conduit type. The first element is the estimated reactance and the second element is the AC resistance. NOTE see the XL&R_DESC table for the corresponding label for each. Data for additional conduit/raceway types can be added to this table with a corresponding entry added to the XL&R_DESC table.
NOTE See Wire Size Lookup on page 712 for the voltage drop calculation.
Fill tables
When multiple current carrying wire conductors are in the same conduit, duct, or raceway, the wire ampacity may need to be de-rated. Current carrying wire conductors are defined as power wiring, not ground, neutral, or control wires. The Fill table provides the de-rating factor based on the maximum number of power wire conductors. The FILL table follows this naming convention:
FILL - the table name prefix. _{standard} - optional suffix to relate it to a specific electrical standards code. For example, an _NEC suffix could mean that the data for the table parallels the National Electrical Code. A suffixed FILL table name is not necessary unless you plan to set up the electrical standards database to support multiple standards.
MOTOR_I* tables
A set of three tables containing values used for calculating suggested breaker size, fuse size, and disconnect switch ratings for a given motor or load amp value. Each table name can have an optional suffix to relate it to a specific electrical standards code such as _NEC for National Electrical Code.
MOTOR_I_DESC
Lists the component type descriptions whose sizing ties directly into the full load amps value (FLA) of the motor or load. The CODE value maps to the MOTOR_I_CALC and MOTOR_I_MAP tables.
MOTOR_I_CALC
Lists the formula to calculate the maximum amp value for various types of components on a per motor type basis. Each row gives a motor type followed by columns marked with the codes given in the MOTOR_I_DESC table. Each cell contains an expression to calculate a FLA value. The FLA value for the selected motor corresponds to the symbol "I" in the expression. Valid operations are +-*/^. The ^ character is the exponential function. For example, I^2 is I squared, while I^0.5 is the square root of I. If-then-else statements are supported including one level of nested statements. For example,
(if (I > 400) then (I * 8) else (I * 11)) - the calculated amp value is eight times FLA current for 0-400 amps and 11 times for greater than FLA of 400 amps. One level of nesting is supported. (if (I >= 9.0) then (I * 1.25) else if (I < 2.0) then (I * 3.0) else (I * 1.67) - the calculated value is set to (I * 1.67) if I is less than 9 but greater or equal to 2.0 amps. If I is less than 2.0 amps the calculated value is (I * 3.0), and if greater than or equal to 9.0 amps, it is (I * 1.25).
MOTOR_I_MAP
Maps the calculated FLA for a component to a specific rating value and an optional catalog assignment. The rating value is annotated to the symbol using the API call c:ace_cb_anno2 in the circuit builder spreadsheet. The optional catalog assignment is defined in the Default field. Use the following format: MFG={manufacturer};CAT={catalog};ASSYCODE={assembly code} If the ASSYCODE value is not needed, use the format: MFG={manufacturer};CAT={catalog}
CATALOGSEL table
Circuit Builder uses the CATALOGSEL table to save the catalog selections made for the motor and other components. The catalog information is saved based on the motor size. If this same motor size is used later on another circuit, these previous catalog selections become the default values when they match up with the configured selections. For example, if the previous circuit was configured with a 10HP motor with time-delay fuses, and a 10HP motor with
time-delay fuses is selected for the new circuit, the previously used catalog selection appears as the default. If the circuit is configured using the Reference an existing circuit on page 721 feature, the values are not used from the CATALOGSEL table but from the referenced circuit. However, if a new motor is then selected from the Select Motor on page 710 dialog box, the CATALOGSEL tables values are checked for a match.
Create the circuit drawing template on page 2032 (an AutoCAD .dwg file). Add a reference to this new circuit in the ACE_CIRCS on page 2038 sheet in the ace_circuit_builder.xls spreadsheet. Create or modify a circuit codes on page 2039sheet in the ace_circuit_builder.xls spreadsheet.
NOTE This exercise demonstrates the capabilities of Circuit Builder and the result may not necessarily be electrically valid.
1 Locate the existing circuit template drawing file ace_cb1_FVNR_H.dwg. Copies of the circuit builder templates are installed in each of the schematic library folders, JIC125, IEC2, and so onto. Copy this file to ace_cb1_FVNR_H_custom.dwg. NOTE The circuit template name is not critical and does not affect functionality of Circuit Builder. 2 Open the copied and renamed circuit template, ace_cb1_FVNR_H_custom.dwg, in AutoCAD. Make sure that you have write access to the drawing. This template consists of three wires and some marker blocks. 3 Open ace_circuit_builder.xls in a spreadsheet software for reference. See Circuit Builder spreadsheet overview on page ? for the location of this file. Use standard AutoCAD commands to modify the template and not AutoCAD Electrical commands. It avoids creating a template that contains an extra copy of the AutoCAD Electrical WD_M block. If you accidentally use a command that inserts the invisible WD_M block, either UNDO or erase and purge the WD_M block instance. To erase and purge the invisible block, follow these steps: 1 Enter ATTDISP at the command prompt. 2 Enter ON to make all attributes visible. 3 Locate the block at 0,0. 4 Click Home tab Modify panel Erase. 5 Select the block and press enter. 6 Enter PURGE at the command prompt. 7 Select WD_M in the Block s section. 8 Click Purge. 9 Click Close.
Top wire skips over two wires and connects to the left-most vertical bus wire. Middle wire skips over one wire and connects to the middle vertical bus wire. Bottom wire connects to the first vertical bus wire it encounters.
1 Zoom in on the left-hand side of the template. You should see three marker blocks, each with a CODE value of WCON. Each one is directly on top of and near the end of one of the wires. 2 Enter ATTEDIT and select the top WCON marker block. You should see the following values:
CODE = WCON - maps back to a row in the circuit codes sheet with a function to stretch the end of the underlying wire to try to make a connection. ORDER = 1.02 - indicates the order of processing for the marker block relative to all the other marker blocks in the template. The order value can be an integer number or a decimal number. The blocks are processed low to high starting at 0. Blocks with the same ORDER value are processed as a group.
MISC1 = _WIRESKIP=2;_MAXTRAPCOUNT=200 - defines any special handling of the marker block. See the Marker block attributes on page 660 topic for a complete list of supported values.
3 Change the MISC1 value to _MAXTRAPCOUNT=200, removing _WIRESKIP=2. The _WIRESKIP value defines the number of wires to skip over when trying to connect to the vertical bus when inserted. Removing this value directs Circuit Builder to connect to the first vertical wire it finds. The _MAXTRAPCOUNT limits the relative distance that circuit builder searches to find a wire to connect to. It is measured in an integer number of wire connection trap on page 232 distance units. If _MAXTRAPCOUNT is not defined or is zero, the search is across the whole extents of the drawing. 4 Click OK. 5 Enter ATTEDIT and select the bottom WCON marker block. 6 Change the MISC1 value to _WIRESKIP=2;_MAXTRAPCOUNT=200, making sure to enter the semi-colon character between the values. It tells Circuit Builder to skip over two vertical wires when trying to connect to the vertical bus and to search up to 200 times the trap distance for a vertical wire to connect to. If none are found within that distance, Circuit Builder will not stretch this wire. 7 Click OK.
5 Open the 3ph_H worksheet. 6 Find the entry for Control transformer and circuit - non-reversing in the COMMENTS column. 7 Find the CODE value for this row, XF01. This CODE value links the marker block to the circuit code sheet. 8 Switch back to the drawing and locate the marker block with the CODE value of XF01. 9 Erase the marker block using the AutoCAD ERASE command. 10 Repeat the steps to locate and delete the power factor correction marker block, CODE=KVAR1.
Use letters or numbers for the value. There is no code naming convention. Make sure it is unique within the circuit codes spreadsheet. This marker block code value maps a row or group of rows in to the spreadsheet. The information in the spreadsheet directs Circuit Builder to perform a specific action at the XY coordinate of this marker block. 6 Enter a value for the ORDER attribute, for example 12. This value can be an integer or decimal number and defines the order that the marker blocks are processed. In this example, 12 is the highest ORDER value on the template. This means that the action defined by this marker block is the last one processed as the circuit is built. 7 Enter an optional value for the MISC1 attribute, such as LOC=FIELD;DESC1=ADDED COMPONENT. This value can carry a number of flags on page 2010 as well as predefine attribute values. When more than one, they are to be semi-colon delimited.
NOTE Save the circuit template drawing after all the modifications are made.
ACE_CIRCS sheet
The ACE_CIRCS sheet in the ace_circuit_builder.xls spreadsheet controls the circuit options displayed on the Circuit Selection dialog box. In this exercise, you add entry to this ACE_CIRCS sheet so your new circuit option shows up in the Circuit Selection dialog box. 1 Open ace_circuit_builder.xls for edit using a spreadsheet software. See Circuit Builder spreadsheet overview on page ? for the location of this file. 2 Open the ACE_CIRCS sheet. The structure of this sheet controls the tree structure used by Circuit Builder on the Circuit Selection dialog box. You will add a new category, Custom Circuits, with one custom circuit option, My 3-ph motor, within that category. 3 Enter Custom Circuits in the CATEGORY field of the first blank row below the existing entries. It adds a new category to the highest level of the tree display. 4 Enter My 3-ph motor in the TYPE field for the same row. It adds an option within this new category. 5 Enter ace_cb1_FVNR_H_custom.dwg in the DWG_TEMPLATE field in this row. It defines which circuit template drawing to use for this option. This is the circuit template drawing created in the Create the circuit template on page 2032 exercise. 6 Enter 3ph_H_custom in the SHEET_NAME field in this row. It defines the circuit codes sheet name. This is created in the Circuit codes sheet on page 2039 exercise. 7 Save the spreadsheet. NOTE Leave the ANNO_CODE field blank. See Predefine attribute values using annotation presets on page 2072 to learn how to define annotation.
It is the label that shows up above the selection list in the middle part of the Circuit Configuration dialog box. 9 Enter Red Light in the UI_PROMPT_LIST field in the same row. It is the text shown in the selection list for this item, displayed in the middle part of the dialog box. 10 Enter 1 in the UI_VAL field in the same row. It is a numerical value assigned to the selection from each group. These numerical values are added up and matched to the value in the UI_SEL column. This example only has one value. 11 Enter 1 in the UI_SEL field in the same row. NOTE All UI_VAL and UI_SEL values must be inserted as text values in the spreadsheet and not as numbers. An apostrophe character in front of the number forces the spreadsheet software to interpret it as a text value. You can also format the cells specifically as text. The text should appear left justified in the cell. If any values appear right justified, they must change from numeric to text values. It is a numerical value matched to the sum total of the values in the UI_VAL column for each selection made within a group. The COMMAND_LIST value from this row is used to insert the selected options. 12 Enter (c:ace_cb_insym #xyz nil HLT1R #scl 8 nil) in the COMMAND_LIST field. It is the API call Circuit Builder uses to insert a component. See the API documentation for more information. 13 Enter Selector Switch in the UI_PROMPT_LIST field in the next row. It is the second option within the Extra Component option. The CODE, COMMENTS, and UI_TITLE fields should remain blank. 14 Enter X in the UI_DEF field in this row. It defines the entry as the default option. The default is used when the circuit is inserted using the Insert button on the Circuit Selection dialog box. If the Configure button is selected, the "X" entry is the preselected default in the Circuit Configuration dialog box when the options for this marker block are displayed 15 Enter 2 in the UI_VAL field in the same row. 16 Enter 2 in the UI_SEL field in the same row.
17 Enter (c:ace_cb_insym #xyz nil HSS112 #scl 8 nil) in the COMMAND_LIST field. 18 Enter NO Contact in the UI_PROMPT_LIST field in the next row. 19 Enter 3 in the UI_VAL field in the same row. 20 Enter 3 in the UI_SEL field in the same row. 21 Enter (c:ace_cb_insym #xyz nil HCR21 #scl 8 nil) in the COMMAND_LIST field. 22 Enter None in the UI_PROMPT_LIST field in the next row. 23 Enter 0 in the UI_VAL field in the same row. 24 Enter 0 in the UI_SEL field in the same row. Leave the COMMAND_LIST field blank, meaning that if this option is selected no action is needed.
25 Save the spreadsheet. NOTE A new circuit codes sheet is not always needed. Depending on the circuit and the circuit options, the information can be added to an existing sheet. In this example, a new sheet was created to demonstrate the procedure.
4 Look for the new category you added, Custom Circuits, on the Circuit Selection dialog box. If it is not there, or is not in the place you wanted, go back to the ACE_CIRCS on page 2038 exercise. 5 Expand the Custom Circuits category and select the circuit you added, My 3-ph motor. If it is not there or is not in the place you wanted, go back to the ACE_CIRCS on page 2038 exercise. 6 Click Configure. 7 Select a location on the 3-phase bus. If the wires do not connect to the bus in the way defined, go back to Define wires stretching to connect to bus on page 2034. 8 Look through the circuit elements on the Circuit Configuration dialog box. If the circuit element for the new marker block, Extra Component, is not there, go back to Circuit codes sheet on page 2039. 9 Select Extra Component in Circuit Elements. If the options, Red Light, Selector Switch, NO Contact, and None are not displayed in the Select section, go back to Circuit codes sheet on page 2039. If the default value for the Extra Component is not Selector Switch, go back to Circuit codes sheet on page 2039. 10 Select a component from the list.
11 Select to insert all the circuit elements. 12 If the component selected for the new Extra Component option was not inserted, go back to Circuit codes sheet on page 2039. 13 If the attribute values for the component are not predefined, LOC=FIELD and DESC1=ADDED COMPONENT, go back to circuit template on page 2032. 14 If the three terminals are not numbered, T1, T2, and T3, go back to circuit template on page 2032.
Spreadsheet
The spreadsheet defines the available circuits, circuit types, and defaults for each option within a circuit. The default name for the Circuit Builder spreadsheet is ace_circuit_builder.xls. The default location for the spreadsheet is:
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\AcadE {version}\Support\ Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\AcadE {version}\Support\
The ace_circuit_builder.xls spreadsheet can be relocated into any of the normal AutoCAD Electrical or AutoCAD support paths. The circuit builder spreadsheet name can be overridden by setting the environment variable, WD_CIRCBUILDER_FNAM, in the wd.env on page 1984 file.
ace_cb1_*.dwg - primary circuit template drawings ace_cb2_*.dwg - branching or nested circuit template drawings
The default location for the circuit template drawings is the schematic library folder:
One-line circuit templates have a 1- and the default location is in a 1- folder under the schematic library folder.
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\AcadE {version}\Libs\{library}\1Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\AcadE {version}\Libs\{library}\1-
Windows XP: C:\Documents and Settings\{username}\My Documents\Acade {version}\AeData\Catalogs\ Windows Vista, Windows 7: C:\Users\{username}\Documents\Acade {version}\AeData\Catalogs\
See also:
Circuit Builder spreadsheet on page 2006 Circuit Builder drawing templates on page 2010 Circuit Builder database on page 2015
3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the component, for example CODE: PB01, COMMENTS: Stop, UI_PROMPT_LIST: Stop. Notice the values in TABLE0: PB and TITLE0: Push Button. It indicates that the component can have a main catalog value. The TABLE0 value is the table name for the catalog lookup. The TITLE0 value is the title for the section in the Setup & Annotation area of the Circuit Configuration dialog box. 5 Add a value in the TABLE1 and TITLE1 cells. For example, if the push button requires a cover and it is found in the MISC_CAT table of the catalog lookup database file, enter TABLE1: MISC_CAT and TITLE1: Cover. 6 Save the spreadsheet. The next time Circuit Builder is run using the configure option, an extra catalog section appears for this component.
On the marker block for the component in the circuit template drawing. In the Circuit Builder spreadsheet circuit codes sheet.
NOTE The attribute value defined on the marker block overrides any value defined in the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the specific component, for example CODE: X001, COMMENTS: Motor terminal connections, UI_PROMPT_LIST: Square. There can be multiple selections within the group. For example, there is a selection for the type of disconnecting means, and a selection to include an auxiliary contact. Each selection is assigned a numerical value from the UI_VAL field. The values are added to determine the appropriate action for this combination of selections. The sum is matched to a value in the UI_SEL field. Once this match is made, the COMMAND_LIST value, ANNOTATE_LIST value, and so on, are used to insert and annotate the selections.
5 Edit the API call in the COMMAND_LIST column for this component. For example, the last argument of this Insert Multi-pole Component API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before: (c:ace_cb_multipole #xyz nil "HT0001" 3 #scl 4 nil) After: (c:ace_cb_multipole #xyz nil "HT0001" 3 #scl 4 _L=|TERM01=T1|TERM01=T2|TERM01=T3|) NOTE See the API documentation for more information. 6 Save the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
5 Save the circuit template drawing. 6 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 7 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 8 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 9 Find the optional component, for example CODE: LT01, COMMENTS: Light, UI_PROMPT_LIST: Light. 10 Edit the API call in the COMMAND_LIST column for the option that would require a wire trim or removal. For example, add this command call for the "No light" option in the spreadsheet: (c:ace_cb_trim "XY01" nil) where XY01 is the CODE attribute value assigned to each wire marker block. NOTE See the API documentation for more information. 11 Save the spreadsheet.
8 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 9 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 10 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 11 Find the optional component, for example CODE: PB02, COMMENTS: Start, UI_PROMPT_LIST: Start. 12 Edit the API call in the COMMAND_LIST column for the option that would require the conditional insert. Multiple API calls can be used to insert multiple components. For example: (c:ace_cb_insym #xyz nil "HPB11" #scl 8 nil)(c:ace_cb_insym "XY02" nil "HMS21" #scl 8 nil) Note the difference in the second call. Instead of passing the #xyz global variable name that carries the XY coordinate of the main marker block, it passes the "XY02" code name. This means that the "HMS21" symbol will insert wherever marker block "XY02" is located in the inserted template. 13 Edit the API call in the COMMAND_LIST column for the option that requires a wire trim or removal. For example: (c:ace_cb_trim "XY01" nil) where XY01 is the CODE attribute value assigned to each wire marker block. Instead of passing the XY coordinate as the first argument, the "XY01" code name is passed. It instructs Circuit Builder to find all marker blocks with CODE attribute value "XY01" and with the target ORDER value and trim or remove their underlying wires NOTE See the API documentation for more information. 14 Save the spreadsheet.
3 Edit its MISC1 attribute value using the format _D={digit}, where 1=build left to right, 2=build up, 4=build right to left, and 8=build down. For example, if the template has a vertical 3-phase bus and the disconnection means that marker block is located over the right-hand wire, give its MISC1 attribute a value of "_D=4". It causes the child poles of the multi-pole insert to move to the left to pick up the remaining two bus wires.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
The base wire is the marker block that has a MISC1 attribute with a value of "_BASE". If no MISC1 attribute has a _BASE value, the underlying wire that comes closest to being colinear with the insertion point of the template is the one that becomes the base wire.
A template can carry multiple groups of marker blocks indicating that the underlying bus wires should auto-adjust. The CODE value can be the same for all groups, but each group must have its own ORDER value.
On the marker block for the wire in the circuit template. In the Circuit Builder spreadsheet circuit codes sheet. Based on motor size selection.
NOTE The attribute value defined on the marker block overrides any value defined in the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the specific wire, for example CODE: WT01, and COMMENTS: Assign motor wire type - phase 1. 5 Edit the API call in the COMMAND_LIST column for this wire. For example, the last argument of this Set Wire type API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown:
Before: (c:ace_cb_set_wiretype #data 1 nil nil) After:(c:ace_cb_set_wiretype #data 1 nil _WIRETYPE=BRN_10AWG) NOTE See the API documentation for more information. 6 Save the spreadsheet.
5 Edit the API call in the COMMAND_LIST column for this wire. For example, the last argument of this Set Wire type API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before: (c:ace_cb_set_wiretype #data 1 nil nil) After:(c:ace_cb_set_wiretype #data 1 nil _WIRETYPE=BRN_@WSIZE@) NOTE See the API documentation for more information. 6 Save the spreadsheet.
On the marker block for the wire in the circuit template. In the Circuit Builder spreadsheet circuit codes sheet.
NOTE The attribute value defined on the marker block overrides any value defined in the spreadsheet.
_WIRENUMBERS=0 defines the layer as No Wire Numbering. Any wire without this flag is created as a normal wire numbering layer by default. NOTE This flag applies only if the wire layer does not exist and is created when the circuit is inserted.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the specific wire, for example CODE: WT01, and COMMENTS: Assign motor wire type - phase 1. 5 Edit the API call in the COMMAND_LIST column for this wire. For example, the last argument of this Set Wire type API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before: (c:ace_cb_set_wiretype #data 1 nil nil) After:(c:ace_cb_set_wiretype #data 1 nil _WIRENUMBERS=0;_WIRETYPE=BRN_10AWG)
_WIRENUMBERS=0 defines the layer as No Wire Numbering. Any wire without this flag is created as a normal wire numbering layer by default. NOTE This flag applies only if the wire layer does not exist and is created when the circuit is inserted.
NOTE See the API documentation for more information. 6 Save the spreadsheet.
7 Find the marker blocks for the wire numbers that are tied to the motor tag. These could be on the main circuit template or on a nested template drawing. Open the circuit template drawing. 8 Find the correct marker block for the wire number. 9 Edit its MISC1 attribute value using the @MOTOR_NUM@ in the format where you want the motor tag value. For example, _TAGFMT=@MOTOR_NUM@-%N or to predefine a wire number, _TAGFMT=@MOTOR_NUM@-T1A.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 10 Save the circuit template drawings.
Format the numeric tag of the motor symbol into other component tags
You can include the motor symbol tag number assignment in other components in the circuit. It requires coordination between the motor symbol insertion and the insertion of the other components. The motor symbol must
insert before these other components. The order of insertion is controlled by the ORDER attribute value on the marker blocks within the circuit template drawing. The marker block ORDER attribute value for the motor symbol must be a lower number than the ORDER values of the marker blocks for the other components in the circuit template drawing. When the other components are inserted, the motor tag value can be incorporated into the subsequent component tags. 1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the motor symbol, for example CODE: MTR03, COMMENTS: Motor symbol, UI_PROMPT_LIST: 3ph motor. There can be multiple selections within the group. For example, there is a selection for the type of disconnecting means, and a selection to include an auxiliary contact. Each selection is assigned a numerical value from the UI_VAL field. The values are added together to determine the appropriate action for this combination of selections. The sum is matched to a value in the UI_SEL field. Once this match is made, the COMMAND_LIST value, ANNOTATE_LIST value, and so on, are used to insert and annotate the selections. 5 Edit the API call in the ANNOTATE_LIST column for this component. For example, it might look like this with two API calls concatenated: (c:ace_cb_anno #data 0)(c:ace_cb_save "@MOTOR_NUM@" "TAG1*" nil 1) The second one, c:ace_cb_save, saves the TAG1 attribute value on the motor in to memory under an index tag of @MOTOR_NUM@. This value can be referenced when the subsequent component marker blocks are processed. NOTE See the API documentation for more information on c:ace_cb_save. 6 Find the component you want the tag to follow the motor tag, for example CODE: CAP01, COMMENTS: Power factor correction capacitor. 7 Edit the API call in the COMMAND_LIST column for this component. For example, it might look like this: (c:ace_cb_insym #xyz nil "VCA113_1-" #scl 8 "%N=@MOTOR_NUM@")
The last argument of this API call, %N=@MOTOR_NUM@, tells Circuit Builder to use the TAG1 value from the motor, saved as @MOTOR_NUM@, as the number part of the tag for this component. For example, if the component tag format is defined on page 222 as %S-%F-%N, the numeric part of the motor tag is used for the %N part of the generated component tag. You can also define this using a fixed _TAGFMT option. Using this approach overrides the component tag format defined on page 222 for the drawing. Some examples:
"_TAGFMT=%F@MOTOR_NUM@" - used with the component family code string, %F. "_TAGFMT=%S-@MOTOR_NUM@%F" - used with the SHEET_NAME value of the drawing, %S. "_TAGFMT=CA@MOTOR_NUM@" - used with a defined text prefix.
8 Repeat for each component that should base the tag value off the motor tag value. 9 Save the spreadsheet. NOTE It can also be done by defining the MISC1 attribute on the marker blocks for each component as described in Format the numeric tag of the motor symbol in a wire number on page 2058.
1 Open the circuit template drawings that contain the parent and child marker blocks. There can be more than one circuit template drawing involved, for example a main template with power contacts and a nested template with the starter coils and interlocking auxiliary contacts. 2 Find the correct marker block for each component that requires a new default tag link. 3 Edit the MISC1 attribute value adding _PRETAG={new default tag link}. For example, add _PRETAG=MF for the forward motor coil and contacts, and _PRETAG=MR for the reverse motor coil and contacts.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon (:). 4 Save the circuit template drawings. When Circuit Builder inserts the nested circuit containing the child contacts, it matches these predefined tag values with the correct parent coil.
The elements in the first sublist of the "#data" list are held in memory in the following order. The values related to the motor are held in the first eight elements. See the API documentation for a complete list of elements. 0 Motor Type 1 Power 2 Units 3 Voltage 4 Phase 5 Hertz (Hz) 6 Speed (RPM) 7 Full Load Amps (FLA) NOTE Circuit Builder numbers this indexed list starting at 0 rather than 1. There are two ways to map these values to the attributes on a component.
On the marker block for the motor, fuse, or circuit breaker symbol in the circuit template drawing. In the Circuit Builder spreadsheet circuit codes sheet.
NOTE The attribute value defined on the marker block overrides any value defined in the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the motor symbol section, for example CODE: MTR03, COMMENTS: Motor symbol, UI_PROMPT_LIST: 3ph motor. There can be multiple selections within the group. For example, there is a selection for the type of disconnecting means, and a selection to include an auxiliary contact. Each selection is assigned a numerical value from the UI_VAL field. The values are added to determine the appropriate
action for this combination of selections. The sum is matched to a value in the UI_SEL field. Once this match is made, the COMMAND_LIST value, ANNOTATE_LIST value, and so on, are used to insert and annotate the selections. 5 Edit the API call in the COMMAND_LIST column for this motor symbol. For example, the last argument of this Insert Component API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before:(c:ace_cb_insym #xyz nil "HMO13" #scl 8 nil) After:(c:ace_cb_insym #xyz nil "HMO13" #scl 8 RATING2=HP: @1@) NOTE See the API documentation for more information. 6 Save the spreadsheet.
On the marker block for the component in the circuit template drawing. In the Circuit Builder spreadsheet circuit codes sheet.
NOTE The attribute value defined on the marker block overrides any value defined in the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the specific component, for example CODE: Q001, COMMENTS: Disconnecting means, UI_PROMPT_LIST: Disconnect switch and fuses. There can be multiple selections within the group. For example, there is a selection for the type of disconnecting means, and a selection to include an auxiliary contact. Each selection is assigned a numerical value from the UI_VAL field. The values are added to determine the appropriate
action for this combination of selections. The sum is matched to a value in the UI_SEL field. Once this match is made, the COMMAND_LIST value, ANNOTATE_LIST value, and so on, are used to insert and annotate the selections. 5 Edit the API call in the COMMAND_LIST column for this component. For example, the last argument of this Insert Multi-pole Component API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before: (c:ace_cb_multipole #xyz nil "HDS11F" 3 #scl 4 nil) After: (c:ace_cb_multipole #xyz nil "HDS11F" 3 #scl 4 _TAGFMT=DISC-%N) NOTE See the API documentation for more information. 6 Save the spreadsheet.
On the marker block positioned over the wire in the circuit template drawing. In the Circuit Builder spreadsheet circuit codes sheet.
NOTE The attribute value defined on the marker block overrides any value defined in the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the specific wire number, for example CODE: WN01F, and COMMENTS: Insert wire number on network, use drawing defaults, mark it as fixed. 5 Edit the API call in the COMMAND_LIST column for this component. For example, the last argument of this Insert Wire Number API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before: (c:ace_cb_wnum nil nil 1 nil)
After:(c:ace_cb_wnum nil nil 1 _TAGFMT=%N-T1) NOTE See the API documentation for more information. 6 Save the spreadsheet.
On the marker block for the component in the circuit template drawing. In the Circuit Builder spreadsheet circuit codes sheet. Annotation presets on page 2072 - provides the ability to select which attribute values to apply when the circuit is inserted.
NOTE An annotation preset value overrides the attribute value defined on the marker block. The attribute value defined on the marker block overrides any value defined in the spreadsheet.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing.
Spreadsheet method
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 3 Open the circuit code sheet with the same name as the SHEET_NAME value, for example SHEET_NAME: 3ph_H. 4 Find the specific component, for example CODE: PB01, COMMENTS: STOP, UI_PROMPT_LIST: Push button - Standard. There can be multiple selections within the group. For example, there is a selection for the type of disconnecting means, and a selection to include an auxiliary contact. Each selection is assigned a numerical value from the UI_VAL field. The values are added to determine the appropriate action for this combination of selections. The sum is matched to a value in the UI_SEL field. Once this match is made, the COMMAND_LIST value, ANNOTATE_LIST value, and so on, are used to insert and annotate the selections.
5 Edit the API call in the COMMAND_LIST column for this component. For example, the last argument of this Insert Component API call is used to predefine MISC1 coded values with nil when nothing extra is defined. Before and after are shown: Before: (c:ace_cb_insym #xyz nil "HPB12" #scl 8 nil) After: (c:ace_cb_insym #xyz nil "HPB12" #scl 8 DESC1=CONVEYOR;DESC2=SYSTEM RESET) NOTE See the API documentation for more information. 6 Save the spreadsheet.
See also:
Predefine description text, installation, location values for individual components in the circuit. Select which attribute values to apply to the circuit when it is built. Edit the attribute values before the circuit is built. 1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Open the ACE_CIRCS sheet. 3 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 4 Assign a code value in the ANNO_CODE field if there isnt one, for example ANNO_3M. 5 In AutoCAD Electrical, open the circuit template drawing listed in the DWG_TEMPLATE field, for example ace_cb1_FVNR_H.dwg. 6 Open the ANNO_CODE sheet in the spreadsheet. This sheet provides a link between the circuit you select (identified by the ANNO_CODE value), a specific marker block (identified by its CODE value), and a specific attribute on the marker block.
7 Enter the ANNO_CODE value from earlier in the ANNO_CODE field of a blank row, ANNO_3M. For this example, you define some attribute values for the motor symbol. 8 In AutoCAD Electrical, find the marker block that defines the insertion point for the motor symbol. Find the CODE attribute value, for example MTR03. 9 In the spreadsheet, add a new line in the ANNO_CODE table for each attribute you wish to predefine. For example:
ANNO_CODE = ANNO_3M. It is the value from the ACE_CIRCS sheet for this circuit. CODE = MTR03. It is the value from the CODE attribute on the marker block. ATTRIBUTE = LOC. It is the attribute name you want to predefine. PROMPT = Motor - Location code. This is the text used on the Annotation Presets on page 708 dialog box. This dialog box is displayed if you select the Presets - List button when the circuit is inserted. Default = FIELD. It is the attribute value to apply to the LOC attribute when the motor symbol is inserted.
10 Repeat for each attribute value you want to predefine. The ANNO_CODE and CODE values should be the same for each attribute on this motor symbol. 11 Save and close the spreadsheet. You are now ready to test the changes. 12 Click Schematic tab Insert Components panel Circuit Builder
drop-down Circuit Builder. 13 Select the circuit CATEGORY and TYPE, CATEGORY: 3ph Motor Circuit and TYPE: Horizontal - FVNR - non reversing. 14 Select the Presets button in the Special Annotation section. 15 Select the Lists button next to Presets. The Annotation Presets dialog box displays. Any attributes with non-blank values are selected by default and applied to the symbol when it is
inserted. You can select which attribute values to apply or edit the values as necessary. 16 Select OK. 17 On the Circuit Selection dialog box, select Insert. The circuit is built and the attribute values are applied.
NOTE The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon. 4 Save the circuit template drawing. NOTE To get a fixed wire number, you must adjust the API call in the spreadsheet to indicate it. See the API documentation for more information.
When the Circuit Configuration dialog box opens, and you select Main Disconnecting Means from the Circuit Elements tree structure, the Fused Disconnect option is selected. If you select Insert, instead of Configure, to insert the circuit without user prompts, the Fused Disconnect is used for the main disconnecting means. If you always want a different option selected or used as the default, this value can be changed. 1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls. 2 Find the circuit category and type in the ACE_CIRCS sheet, for example Category: 3ph Motor Circuit and Type: Horizontal - FVNR - non reversing. 3 Find the value in the SHEET_NAME column, for example 3ph_H. Open the worksheet by selecting on the 3ph_H tab. 4 Find the circuit element by looking at the values in the COMMENTS and UI_TITLE columns. For example, COMMENTS: Disconnecting Means and UI_TITLE: Main Disconnect. Notice there are multiple options for this circuit element as listed in the UI_PROMPT_LIST column. The current default option is indicated by an X in the UI_DEF column. 5 Move the X in the UI_DEF column to the row containing the option you want as the default, for example Circuit Breaker. Make sure that only one row for the group contains an X. 6 Save the spreadsheet.
The CODE value of the marker block on the inserted circuit template drawing, points at a group of rows in the circuit codes sheet. These rows define the types of components that can be inserted at the location of this marker block. The row for the inserted component, either the default component or the component selected on the Circuit Configuration dialog box, contains an ANNOTATION_LIST column value. The ANNOTATE_LIST column value contains a call to the API function c:ace_cb_anno2. This function includes a code argument like A1. The code argument should match a code value in the MOTOR_I_DESC table of the electrical standards database file.
Here is an example for a disconnect switch entry: (c:ace_cb_anno2 nil A1 RATING1 0 nil) In this example, A1 is the code to match in the MOTOR_I_DESC table (for Disconnect switch non-fused), and RATING1 is the attribute on the inserted disconnect switch symbol to receive the final calculated amp value.
The MOTOR_I_CALC table also has a column of data with a label that matches the code used in the C:ace_cb_anno2 call.
The cell in the MOTOR_I_CALC table contains an expression using I to represent the full load amps of the motor. This expression is evaluated using the actual full load amps for the motor. The calculated value is used to determine the value to assign to the attribute. Valid operations are +-*/^. The ^ character is the exponential function. For example, I^2 is I squared, while I^0.5 is the square root of I. If-then-else statements are supported including one level of nested statements. For example, (if (I > 400) then (I * 8) else (I * 11)) means the calculated amp value is eight times FLA current for 0-400 amps and 11 times for greater than FLA of 400 amps. One level of nesting is supported. (if (I >= 9.0) then (I * 1.25) else if (I < 2.0) then (I * 3.0) else (I * 1.67) means the calculated value is set to (I * 1.67) if I is less than 9 but greater or equal to 2.0 amps. If less than 2.0 amps it is (I * 3.0) and if greater than or equal to 9.0 amps it is (I * 1.25). Valid Boolean operations are >, <. >=. <=, =.
The MOTOR_I_MAP table contains a row with a matching code value, such as A1.
The result of the calculation, made from the expression in the MOTOR_I_CALC table, is compared to the MAX values in the MOTOR_I_MAP table to determine the appropriate RATING value. In the earlier example, the 28 amp motor load multiplied by 1.15 yields 32.2 amps minimum for A1. This means that a match is made on the record with a MAX value of 60 and yields a 60A switch rating. The RATING value is assigned to the attribute specified in the c:ace_cb_anno2 call, for example RATING1. Define an optional catalog assignment to the component by adding a value in the DEFAULT field in the MOTOR_I_MAP table. The format is
MFG={manufacturer};CAT={catalog}. For example, an A3 entry for 15A time-delay fuses might look like the following example: MFG=BUSSMAN;CAT=KTK-R-15 When a component has multiple calculated values such as a disconnect switch with fuses, the two RATING attributes for the component are semicolon delimited, as shown in this example: (c:ace_cb_anno2 nil A7 RATING1;RATING2 nil 0) The MOTOR_I_MAP table contains corresponding semicolon delimited values in the RATING column.
NOTE See the API documentation for more information on the Circuit Builder API calls.
_MAXTRAPCOUNT=n
trap distance cannot be set. It is calculated from the drawing scale. NOTE If this value is not defined on the marker block, Circuit Builder uses a distance value equal to 200 times the trap distance value of the drawing.
The CODE value of the marker block must tie in to the (c:ace_cb_stretch_wire_connect #xyz nil #misc1) API call in the spreadsheet. The values on the MISC1 attributes are used for the #misc1 argument.
NOTE If the marked wire has a terminal at its end, Circuit Builder stretches the wire and moves the terminal. It stretches based on the origin of the connected terminal rather than the end of the wire.
the geometry of the symbol or by converting text entities to AutoCAD Electrical attributes. You can also use AutoCAD attribute definition and editing commands to do the same thing. Use this tool to quickly pick and place attributes. It tracks what attributes are present and checks your work to make sure that any AutoCAD Electrical required attributes are not omitted. For this exercise, you create a symbol and add AutoCAD Electrical attributes to the new geometry. Symbol Builder works in the Block Editor environment. You can add or modify the geometry of the symbol using standard AutoCAD commands within this environment.
NOTE You can also create and modify the graphics for the symbol in the Block Editor environment. 2 Click Schematic tab Other Tools panel Symbol Builder drop-down
Symbol Builder. 3 In the Select Symbol/Objects dialog box, Attribute template section, browse to the Library path Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\jic125 Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\jic125 4 In the Attribute template section, choose Symbol: Horizontal Parent.
5 In the Attribute template section, choose Type: Generic. 6 In the Select from drawing section, click Select objects and select the rectangle. 7 Select OK.
Add attributes
In this part of the exercise, you insert some AutoCAD Electrical attributes from the Symbol Builder Attribute Editor. You are not limited to these attributes, and you can include your own user-defined attributes on the AutoCAD Electrical block files. NOTE The TAG1 attribute is the only one required for a parent schematic symbol. The other attributes in the Required section are expected on a parent schematic symbol, however the symbol is recognized as a parent symbol without them. 1 If the Symbol Builder Attribute Editor is not visible, Click Symbol Builder tab Edit panel Palette Visibility Toggle.
3 box.
4 Change the height to 0.125 and Justify to Center. 5 Enter PS as the Value. It is the default code used as the %F value of the tag format (such as CR , PB, LT) 6 Select OK.
8 Select an insertion point for the attribute. NOTE You can also right-click and select Insert Attribute or drag the attribute to insert it.
9 TAG1.
Select DESC1, click the Insert Attribute tool, and insert it below
10 Repeat to insert the INST and LOC attributes above TAG1. 11 Select MFG, CAT, and ASSYCODE. Click the Insert Attribute tool, and insert them near the center of the rectangle. NOTE If the CAT and ASSYCODE attributes are not listed they are inserted with MFG as a group. 12 Repeat to insert the FAMILY attribute near the center of the rectangle.
13
With FAMILY still highlighted in the Symbol Builder Attribute Editor, select the Properties tool. Enter PS as the Value and OK. This assigns the %F value to the FAMILY attribute inserted.
2 Expand the Wire Connection section of the Symbol Builder Attribute Editor. 3 Expand the Direction/Style list and select Others to launch the Insert Wire Connections dialog box.
4 On the Insert Wire Connections dialog box, select Terminal Style: Screw. 5 Select Connection Direction: Left. 6 Check Use this configuration as default. This directs Symbol Builder to use the current Terminal Style and Scale as the default in the drop-down list. 7 (Optional) Enter L1 as the TERM01 value. This sets L1 as the default terminal pin number when the symbol is used. 8 (Optional) Select TERMDESC01 in the Pin Information section and click Delete. This directs Symbol Builder not to insert the optional TERMDESCxx attribute with the wire connection attribute. 9 Click Insert and select in the center of the left-hand side of the rectangle as shown. The wire connection attribute, X4TERM01, and the terminal pin attribute, TERM01, are inserted.
10 Back on the Symbol Builder Attribute Editor, expand the Wire Connection list and select Bottom/Screw.
11
Select the Insert Wire Connection tool and insert the terminal in the bottom center of the rectangle.
12 Select Right/Screw from the Wire Connection Direction/Style list. 13 Select the Insert Wire Connection tool and insert the terminal in the center of the right-hand side of the rectangle.
14 In the Pins section, enter GND in the TERM02 value, and L2 in the TERM03 value.
1 Click Symbol Builder tab Edit panel Done. 2 Click Base Point: Pick point and select the center of the rectangle. 3 Select Wblock. Wblock creates the symbol .dwg file, while Block creates the symbol for this drawing file only. 4 Enter the Name and file path or keep the default. AutoCAD Electrical provides a default name for the new symbol based on the attribute template selected. Avoid changing the first four letters of the file name and limit the total length to 32 characters. 5 (Optional) If you are going to add the symbol to the icon menu at a later time using the Icon Menu Wizard on page 1231, check Icon image. Enter the image name and folder. 6 (Optional) Click Details to see the Symbol Audit on page 359 dialog box listing potential issues with your symbol. 7 Select OK. 8 Select Close Block Editor from the block editor toolbar. 9 (Optional) Select Yes to insert the symbol on the drawing and select a location. If you place the component on an existing wire, the wire breaks. The component tag is assigned.
Additional options
The additional options for creating a symbol listed are not used for this example, but you can use them when creating your own symbol.
Optional Attributes: The attributes listed in this section are allowed on a parent symbol. You can also add attributes to the Required or Optional list using the following steps. 1 Select the Add Attribute tool to launch the Insert/Edit Attributes dialog box.
2 Enter the attribute name as the Tag value. 3 Enter all property values.
4 Click Insert to insert the attribute or OK to add it to the list without inserting it.
Link Lines: Inserts Link Line attributes so the program can draw dashed link lines between a parent symbol and its related child contact. It requires special attributes at the point where the dashed line connects to the symbol. 1 Expand the Link Lines section. 2 Select a direction from the Direction list.
RATING or POS sections: You can add up to 12 Rating and Position attributes. If the attribute template contains a RATING1 or POS1 attribute, or you add one, these sections are available on the Symbol Builder Attribute Editor. 1 Expand the RATING or POS section.
Convert Text to Attribute dialog box: If you selected existing text entities from the Select Symbol/Objects dialog box, or added text while in the Block Editor environment, this option converts existing text entities to AutoCAD Electrical attributes in the same location as the original text.
Select the Convert Text to Attribute tool from the Symbol Builder toolbar to launch the dialog box.
2 Select a text entry in the list and click the arrow pointing at the attribute name. 3 Repeat for all text entities. 4 Click Done. The text entity is converted to the attribute. The text value becomes the default value for the attribute.
Convert text: If you selected existing text entities from the Select Symbol/Objects dialog box, or added text while in the Block Editor environment, this option converts a single text entity to an AutoCAD Electrical attribute in the same location as the original text. 1 Select an attribute on the Symbol Builder Attribute Editor.
3 Select the text entity. The text entity is converted to the attribute. The text value becomes the default value for the attribute.
Audit Symbol: At any time you can audit on page 359 the symbol to find any potential issues with your symbol and symbol name.
NOTE You can also create and modify the graphics for the symbol in the Block Editor environment. 2 Click Schematic tab Other Tools panel Symbol Builder drop-down
Symbol Builder. 3 In the Select Symbol/Objects dialog box, Attribute template section, browse to the Library path
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\jic125 Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\jic125 4 In the Attribute template section, choose Symbol: Horizontal Terminal. 5 In the Attribute template section, choose Type: Terminal with wire number. 6 In the Select from drawing section:, click Select objects and select the rectangle. 7 Select OK.
Add attributes
In this part of the exercise, you insert some AutoCAD Electrical attributes from the Symbol Builder Attribute Editor. You are not limited to these attributes, and you can include your own user-defined attributes on the AutoCAD Electrical block files. NOTE The TAGSTRIP attribute is the only one required for a schematic terminal. The other attributes in the Required section are expected on a schematic terminal, however the symbol is recognized as a schematic terminal without them. 1 If the Symbol Builder Attribute Editor is not visible, Click Symbol Builder tab Edit panel Palette Visibility Toggle.
3 box.
Select WIRENO, click the Insert Attribute tool, and insert it above TAGSTRIP. Use the Properties tool to change it to Justify = Center.
9 Select MFG, CAT, and ASSYCODE. Click the Insert Attribute tool, and insert them near the center of the rectangle. NOTE If the CAT and ASSYCODE attributes are not listed they are inserted with MFG as a group.
2 Expand the Wire Connection section of the Symbol Builder Attribute Editor. 3 Select Left/None. NOTE If the default terminal style is not None, select Others and change the default style to None. This wire connection style contains attributes only.
Select the Insert Wire Connection tool and insert the wire connection in the center of the left-hand side of the rectangle. Use the Midpoint OSnap to insert the wire connection attribute in the middle of the line.
5 The wire connection insertion remains active until you press Enter. Press R{spacebar} and insert the wire connection in the center of the right-hand side of the rectangle. 6 Press T{spacebar} and insert the wire connection in the center of the top of the rectangle. 7 Press B{spacebar} and insert the wire connection in the center of the bottom of the rectangle. Press Enter.
1 Click Symbol Builder tab Edit panel Done. 2 Click Base Point: Pick point and select the center of the rectangle. 3 Select Wblock. Wblock creates the symbol .dwg file, while Block creates the symbol for this drawing file only. 4 Enter the Name and file path or keep the default. AutoCAD Electrical provides a default name for the new symbol based on the attribute template selected. Avoid changing the first four letters of the file name and limit the total length to 32 characters. One-line symbols follow the same naming convention as schematic parent and child symbols. For convenience the one-line symbols provided have a 1- suffix. However, the symbol name does not define the symbol
as a one-line symbol. This is defined by the WDTYPE attribute on page 325 value of 1- on the symbol, or a 1-1 on a one-line bus-tap symbol. 5 (Optional) If you are going to add the symbol to the icon menu at a later time using the Icon Menu Wizard on page 1231, check Icon image. Enter the image name and folder. 6 (Optional) Click Details to see the Symbol Audit on page 359 dialog box listing potential issues with your symbol. 7 Select OK. 8 Select Close Block Editor from the block editor toolbar. 9 (Optional) Select Yes to insert the symbol on the drawing and select a location. If you place the terminal on an existing wire, the wire breaks. The terminal tag is assigned.
Symbol Builder. 3 In the Select Symbol/Objects dialog box, Attribute template section, browse to the Library path where the one-line symbols are stored: Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\jic125\1Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\jic125\14 In the Attribute template section, choose Symbol: Vertical Parent.
5 In the Attribute template section, choose Type: (CB) Circuit breakers. 6 In the Select from drawing section, click Select objects and select the graphics. 7 Select OK.
Add attributes
In this part of the exercise, you insert some AutoCAD Electrical attributes from the Symbol Builder Attribute Editor. You are not limited to these attributes, and you can include your own user-defined attributes on the AutoCAD Electrical block files. The TAG1 and WDTYPE attributes are the only required attributes for a one-line parent symbol. The other attributes in the Required section are expected on a one-line parent symbol, however the symbol is recognized as a one-line parent symbol without them. The WDTYPE on page 325 attribute value must have a value of 1- for a one-line symbol or 1-1 for a one-line bus-tap on page 659 symbol. 1 If the Symbol Builder Attribute Editor is not visible, Click Symbol Builder tab Edit panel Palette Visibility Toggle.
3 box.
4 Change the height to 0.125 and Justify to Center. The value is predefined as CB since the Circuit breaker template was selected. It is the default code used as the %F value of the tag format (such as CR , PB, LT) 5 Select OK.
NOTE You can also right-click and select Insert Attribute or drag the attribute to insert it.
Select WDTYPE, click the Insert Attribute tool, and insert it. The WDTYPE attribute has a value of 1- and is invisible by default. It is required to identify the symbol as a one-line symbol.
9 TAG1.
Select DESC1, click the Insert Attribute tool, and insert it below
10 Repeat to insert the INST and LOC attributes above TAG1. 11 Select MFG, CAT, and ASSYCODE. Click the Insert Attribute tool, and insert them near the center of the rectangle. NOTE If the CAT and ASSYCODE attributes are not listed they are inserted with MFG as a group. 12 Repeat to insert the FAMILY attribute near the center of the rectangle.
2 Expand the Wire Connection section of the Symbol Builder Attribute Editor. 3 Expand the Direction/Style list and select Top/None.
This style contains just the wire connection attributes with no graphics. Select Others to display the Insert Wire Connections dialog box for selecting other styles.
Select the Insert Wire Connection tool and insert the wire connection attributes. The wire connection attribute, X2TERM01, and the terminal pin attribute, TERM01, are inserted.
5 Back on the Symbol Builder Attribute Editor, expand the Wire Connection list and select Bottom/None.
Select the Insert Wire Connection tool and insert the wire connection attributes. The wire connection attribute, X8TERM02, and the terminal pin attribute, TERM02, are inserted.
1 Click Symbol Builder tab Edit panel Done. 2 Click Base Point: Pick point and select the center of the symbol. 3 Select Wblock. Wblock creates the symbol .dwg file, while Block creates the symbol for this drawing file only. 4 Enter the Name and file path or keep the default. AutoCAD Electrical provides a default name for the new symbol based on the attribute template selected. Avoid changing the first four letters of the file name and limit the total length to 32 characters. NOTE One-line symbols follow the same naming convention as schematic parent and child symbols. For convenience the one-line symbols provided have a 1- suffix. However, the symbol name does not define the symbol as a one-line symbol. 5 (Optional) If you are going to add the symbol to the icon menu at a later time using the Icon Menu Wizard on page 1231, check Icon image. Enter the image name and folder. 6 (Optional) Click Details to see the Symbol Audit on page 359 dialog box listing potential issues with your symbol.
7 Select OK. 8 Select Close Block Editor from the block editor toolbar. 9 (Optional) Select Yes to insert the symbol on the drawing and select a location. If you place the component on an existing wire, the wire breaks. The component tag is assigned.
See also:
Symbol Builder. 2 Browse to the existing block to select the symbol to create or edit. 3 In the Select Symbol/Objects dialog box, Attribute template section: Browse to the Library path for example Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\jic125 Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\jic125 4 In the Attribute template section: Choose Symbol: Horizontal Parent for example. 5 In the Attribute template section: Choose Type: Generic for example. 6 Select OK. 7 Convert existing attribute or text objects to AutoCAD Electrical attributes. 8 Add wire connections on page 350 as needed.
9 Click Symbol Builder tab Edit panel Done. A default symbol name is supplied which you can keep or change as needed depending on the symbol type and symbol naming conventions on page 282
Select the Convert Text to Attribute tool to open the dialog box. All the attributes and text objects contained in your non-AutoCAD Electrical block are in the left-hand list. The AutoCAD Electrical attribute names are in the right-hand list.
3 Select an existing attribute/text from the left-hand list. Click the arrow next to the attribute in the right-hand list. 4 Repeat for each non-AutoCAD Electrical attribute or text object you want to convert. 5 Select Done.
Panel footprint symbols do not have to carry the wire connection attributes that schematic symbols almost always carry. There are no parent/child versions of a symbol for panel footprint symbols. Some of the attribute names are different. A panel symbol must have the P_TAG1 or P_TAGSTRIP attribute rather than the TAG1 or TAGSTRIP attribute.
The symbol block naming for the panel footprint does not follow the special naming convention. The first four or five characters of the block name for a panel symbol is not as critical as it is for schematic symbols.
In this example, you take geometry (either geometry you just drew, existing geometry, or a vendor representation) and convert it to an AutoCAD Electrical panel footprint using the Symbol Builder. 1 Click Schematic tab Other Tools panel Symbol Builder drop-down
Symbol Builder. 2 In the Select Symbol/Objects dialog box, Attribute template section, browse to the Library path Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\jic125 Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\jic125 3 In the Attribute template section, choose Symbol: Panel Footprint. 4 In the Attribute template section, choose Type: Generic. 5 In the Select from drawing section, click Select objects and select the existing objects or an existing block. 6 Select OK.
3 box.
4 Change the height to 0.125, Justify to Center, and Visible. 5 Select OK.
7 Insert the attribute above the symbol graphics. NOTE You can also right-click and select Insert Attribute or drag the attribute to insert it.
Select DESC1 and DESC2, click the Insert Attribute tool, and insert them below the P_TAG1. Use the Properties tool to change them to Height = 0.125, Justify = Center, and Visible.
9 Insert the LOC, INST, MFG, CAT, and ASSYCODE attributes. NOTE If the CAT and ASSYCODE attributes are not listed they are inserted with MFG as a group.
1 Click Symbol Builder tab Edit panel Done. 2 Click Base Point: Pick point and select the insertion point for the graphics. 3 Select Wblock. Wblock creates the symbol .dwg file, while Block creates the symbol for this drawing file only. 4 Enter the Name and file path or keep the default. AutoCAD Electrical provides a default name for the new symbol based on the attribute template selected.
5 (Optional) If you are going to add the symbol to the icon menu at a later time using the Icon Menu Wizard on page 1231, check Icon image. Enter the image name and folder. 6 (Optional) Click Details to see the Symbol Audit on page 359 dialog box listing potential issues with your symbol. 7 Select OK. 8 Select Close Block Editor from the block editor toolbar. 9 (Optional) Select Yes to insert the symbol on the drawing and select a location.
Additional Options
The additional options for creating a symbol listed are not used for this example, but you can use them when creating your own symbol.
Optional Attributes: The attributes listed in this section are allowed on a panel footprint. You can also add attributes to the Required or Optional list using the following steps. 1 Select the Add Attribute tool to launch the Insert/Edit Attributes dialog box.
2 Enter the attribute name as the Tag value. 3 Enter all property values. 4 Click Insert to insert the attribute or OK to add it to the list without inserting it.
RATING section: You can add up to 12 Rating attributes. If the attribute template contains a RATING1 attribute, or you add one, this section is available on the Symbol Builder Attribute Editor. 1 Expand the RATING section.
Convert Text to Attribute dialog box: If you selected existing text entities from the Select Symbol/Objects dialog box, or added text while in the
Block Editor environment, this option converts existing text entities to AutoCAD Electrical attributes in the same location as the original text.
Select the Convert Text to Attribute tool from the Symbol Builder toolbar to launch the dialog box.
2 Select a text entry in the list and click the arrow pointing at the attribute name. 3 Repeat for all text entities. 4 Click Done. The text entity is converted to the attribute. The text value becomes the default value for the attribute.
Convert text: If you selected existing text entities from the Select Symbol/Objects dialog box, or added text while in the Block Editor environment, this option converts a single text entity to an AutoCAD Electrical attribute in the same location as the original text. 1 Select an attribute on the Symbol Builder Attribute Editor.
3 Select the text entity. The text entity is converted to the attribute. The text value becomes the default value for the attribute.
Audit Symbol: At any time you can audit on page 359 the symbol to find any potential issues with your symbol.
Windows XP: C:\Documents and Settings\All Users\Documents\Autodesk\Acade {version}\Libs\panel\ Windows Vista, Windows 7: C:\Users\Public\Documents\Autodesk\Acade {version}\Libs\panel\
You can set up to have visible attributes added to any footprint automatically at footprint insertion time. There are five attribute template drawings:
wd_ptag_addattr_comp.dwg wd_ptag_addattr_trm.dwg wd_ptag_addattr_wtrm.dwg wd_ptag_addattr_itemballoon.dwg Wd_ptag_addattr_pnltermstrip.dwg component footprints terminal with terminal number terminal with wire number as terminal number balloons terminal footprints (when inserted by Level/Sequencing tools)
When a panel footprint is inserted, the following steps are performed if the appropriate attribute template exists. 1 Find the center of the footprint by collecting and averaging the objects that make up the footprint. 2 Insert the attribute template at the calculated center of the footprint. 3 Make sure there are no duplicate attributes. If duplicate attributes are found, the attribute from the footprint is kept. 4 Re-block the added attributes with the inserted footprint. 5 Add the schematic data to the footprint. The data is added as attribute data if the target attribute exists. If the target attribute does not exist, the data is added as invisible xdata.
NOTE Wire connection attributes are not included in the symbol attribute templates but are in separate wire connection templates on page 2107. 1 Create a drawing file following the naming convention AT_{symbol}_{type}.dwg containing the AutoCAD Electrical attribute definitions. 2 (Optional) Add the xdata and indexed attributes which tell the Symbol Builder Attribute Editor how to handle each attribute. 3 (Optional) Add the symbol type to the _FAMILY_DESCRIPTION table in the catalog database file.
VIA_WD_TOOLTIP
VIA_WD_MULTIATT
The value defines a group of attributes to insert together. The value lists all the attributes which are inserted along with the attribute with this xdata. The attributes listed are not displayed in the Symbol Builder Attribute Editor. For example, if you want DESC2 and DESC3 inserted when you insert DESC1, add this xdata with the value DESC2,DESC3 to the DESC1 attribute definition. NOTE MFG, CAT, and ASSYCODE are a default group. To insert them separately, add this xdata to the MFG attribute with a blank value.
VIA_WD_INDXMAX
The value provides the maximum number of times to index an attribute such as RATING. The default value is 12 if the xdata is not present. The value provides the display order.
VIA_WD_SEQ
Symbol type
Edit the _FAMILY_DESCRIPTION table in the catalog database, default_cat.mdb, to map the symbol name type value to a description. This description is used in the Type list on the Select Symbol / Objects on page 342 dialog box. For example, if the attribute template name is AT_HP_PS.DWG but you want Power Supply shown in the list on the dialog box, add an entry with PS in the Family column, and Power Supply in the Description.
The ? is replaced with the next available digit. AutoCAD Electrical allows up to ten styles using the digits 0-9. You can create them using new drawings or by copying a set of existing wire connection template drawings to the appropriate names and modifying as needed.
1: wire connects to the attribute from the right 2: wire connects to the attribute from above 4: wire connects to the attribute from the left 8: wire connects to the attribute from below 0: special for motor connections that radiate from a circle
4 (Optional) Add the TERM01 attribute definition. 5 (Optional) Add the TERMDESC01 attribute definition. 6 (Optional) Add a custom drawing property to define the style description. This value is the text displayed in the terminal style list in Insert Wire Connections dialog box.
Select Add. Enter Terminal style for the custom property name. Enter the style description for the value. Select OK to save the drawing property.
7 Save the drawing to the appropriate library folder following the wire connection template naming convention.
First two characters are BB. Optional characters which indicate the symbol type for this wire connection.
Parent or child schematic symbol Panel footprint or nameplate Schematic terminal with terminal number Schematic terminal following the wire number Panel terminal
One or two characters indicating the terminal style. It is a single number, 0 through 9, for schematic symbols. For a panel symbol, the single number is followed by an underscore. Last two characters are digits that indicate the wire direction.
00 11 12 13 21 22 23
Radial, wire connects from an angle Left and top Left Left and bottom Top Top, left, bottom, and right Bottom
31 32 33
Symbol Type
Schematic parent or child Schematic parent or child Schematic parent or child Schematic parent or child Schematic parent or child Schematic parent or child Schematic parent or child Schematic terminal with terminal number
Terminal Style
None
None
X0TERMn
BB111 to B133
Screw
X?TERMn, TERMn
BB211 to BB233
Small Screw
X?TERMn, TERMn
BB311 to BB333
X?TERMn, TERMn
BB411 to BB433
X?TERMn, TERMn
BB511 to BB533
BBSTTN012, BBSTTN021, BBSTTN023, BBSTTN032 BBSTWN012, BBSTWN021, BBSTWN023, BBSTWN032 BBPTWN0_12, BBPTWN0_21,
None
None
X?TERM01
Panel footprint
Template Name
BBPTWN0_23, BBPTWN0_32 BBPTWN1_12, BBPTWN1_21, BBPTWN1_23, BBPTWN1_32 BBPTWN2_12, BBPTWN2_21, BBPTWN2_23, BBPTWN2_32 BBPTWN_NOTERM0_12, BBPTWN_NOTERM0_21, BBPTWN_NOTERM0_23, BBPTWN_NOTERM0_32 BBPTWN_NOTERM1_12, BBPTWN_NOTERM1_21, BBPTWN_NOTERM1_23, BBPTWN_NOTERM1_32 BBPTWN_NOTERM2_12, BBPTWN_NOTERM2_21, BBPTWN_NOTERM2_23, BBPTWN_NOTERM2_32 BBPTWN_NOTERM3_12, BBPTWN_NOTERM3_21, BBPTWN_NOTERM3_23, BBPTWN_NOTERM3_32
Symbol Type
Terminal Style
Panel footprint
Panel footprint
No levels
WIRENOL, WIRENOR, L01PINL, L01PINR, TERM, L02WIRENOl, L02WIRENOR, L02PINL, L02PINR, L02TERM WIRENOL, WIRENOR, L01PINL, L01PINR, TERM, L02WIRENOl, L02WIRENOR, L02PINL, L02PINR, L02TERM, L03WIRENOL, L03WIRENOR, L03PINL, L03PINR, L03TERM
The ? is replaced with the appropriate wire connection direction number on page 312 and the n is replaced with the two digit sequential number. If your template contains only one wire connection attribute, always use 01. The 01 is replaced with the next available value when the wire connection template is inserted using Symbol Builder.
Add your own symbols, circuits, and commands to the icon menu
AutoCAD Electrical supplies two default icon menus: one for schematic symbols and the other for panel symbols. Each menu is driven by a text file. AutoCAD Electrical defaults to icon menu ACE_<standard>_MENU.DAT (where <standard> = JIC, IEC, GB, HYD, JIS, PID, or PNEU) for schematic symbols and ACE_PANEL_MENU.DAT for panel symbols. These menu files are located in
Windows XP: C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support\ Windows Vista, Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support\
You modify or expand the icon menus by editing the underlying icon menu text file. You can use a generic text editor and edit it manually or you can use the AutoCAD Electrical Icon Menu Wizard. Use the Icon Menu Wizard dialog box to select the function to be performed when the icon is selected from the icon menu.
Add component: Inserts a symbol Add circuit: Inserts a prebuilt circuit. This causes AutoCAD Electrical to insert and explode the .dwg name supplied. Add new submenu: Starts a new submenu. Add command: Performs a command. Use Command for inserting three-phase schematic symbols and panel footprints.
2 Click Schematic tab Other Tools panel Icon Menu Wizard. 3 In the Select Menu File dialog box, select to modify the schematic menu file, and click OK. 4 In the Icon Menu Wizard dialog box, select Add Component to add a new icon to the menu. NOTE You can also right-click in empty space and select Add icon Component.
Three pieces of information are needed for the new icon button. 5 On the Add Icon - Component dialog box, specify the image file name and graphic to appear in the icon button. The image name can be manually typed into the edit box. You can browse to an existing .sld or .png file to assign to the icon, use an image file that matches the active drawing name, use an image file that matches a picked block on the drawing, or use an image with the same name as the block name entered for the block name. NOTE Browse cannot be used if you are using a slide library (instead of individual <slide>.sld files). Manually enter these as "library name(slide name)". For example, "S1(hpb11)." If you have not created the slide image and want to have it created automatically from the current screen image, select Create PNG from current screen image. The Icon Menu Wizard runs the AutoCAD MSLIDE
Add your own symbols, circuits, and commands to the icon menu | 2113
command on your current screen image to create the .png and .sld file. If the file does not exist, then Create PNG from the current screen image is selected by default. If you do not want to create the image from the current drawing's displayed image, switch it off. If you want to redo an existing image, click this switch on. 6 Specify the block name to insert on the icon. The symbol's file name can be typed into the edit box or you can browse for an existing WBlocked ".dwg" file to assign to the icon, insert the full active drawing as a block, or select an existing block on the current drawing. 7 Click OK. The new menu button appears in the menu and the text you entered for the icon label appears in the tooltip or in the list if you set the viewing option to either Icon with text or List view.
8 Select the appropriate Insert Component command and test your new symbol insert.
The Create New Submenu dialog box appears. Here you can select the function that will be performed when the icon is selected from the icon menu. Three pieces of information are needed to trigger the new menu page. 2 On the Create New Submenu dialog box, specify the image file name and .sld or .png graphic to appear in the icon button. The image name can be manually typed into the edit box. You can browse to an existing .sld or .png file to assign to the icon, use an image file that matches the active drawing name, use an image file that matches a picked block on the drawing, or use an image file with the same name as the block name entered for the block name. NOTE Browse cannot be used if you are using a slide library (instead of individual <slide>.sld files). Manually enter these as "library name(slide name)". 3 Specify the submenu's title. 4 Click OK. 5 Select the appropriate Insert Component command and test your new symbol insert.
Add your own symbols, circuits, and commands to the icon menu | 2115
display at the right. If quotation marks are shown, then enclose the parameter value within quotation marks. NOTE If you select an API command that requires parameters you must manually enter the additional parameters as indicated. Commands that require parameters should be inside of parenthesis. If you use one of the AutoCAD commands from the list, no parenthesis are needed. For example, to add an icon that inserts a black flush push button, Allen-Bradley, catalog number 800T-A2A, with no rotation, select the command WD_INFP from the list. When you return to the Command dialog box, you must enter in the rest of the parameters.
"family" is used for the catalog file lookup table name "mfg" is used for the footprint lookup "cat" is the actual catalog number "assycode" is the catalog number assembly code (often blank) "footprint" is the library symbol name
NOTE Browse cannot be used if you are using a slide library (instead of individual <slide>.sld files). Manually enter these as "library name(slide name)". 3 Specify the circuit name to insert on the icon. The symbol's file name can be typed into the edit box or you can browse for an existing WBlocked ".dwg" file to assign to the icon or insert the full active drawing as a block. 4 Click OK. The new menu button appears in the menu. 5 Select the appropriate Insert Component command and test your new symbol insert.
Add your own symbols, circuits, and commands to the icon menu | 2117
NOTE Browse cannot be used if you are using a slide library (instead of individual <slide>.sld files). Manually enter these as "library name(slide name)". 3 Click OK. The new menu button appears in the menu. 4 Select the appropriate Insert Component command and test your new symbol insert.
NOTE Make sure this text is all on one line. 3 In your new "my_menu.dat" file, add a line like the following one so that you can jump back to the default AutoCAD Electrical icon menu. Default AutoCAD Electrical menu|back2wd.sld|$C=(c:wd_loadmenu "ACE_JIC_MENU.DAT")(c:wd_insym_go2menu 0) The result should be: **M0 D0 My Menu: My Companies Symbols AutoCAD Electrical menu|back2wd.sld|$C=(c:wd_loadmenu "ACE_JIC_MENU.DAT")(c:wd_insym_go2menu 0) 4 In the AutoCAD Electrical default icon menu, click the new "My menu" entry. Your menu should immediately appear and remains the default for subsequent component inserts. If you want to go back to the AutoCAD Electrical default menu, click the "AutoCAD Electrical menu" button you added to your custom menu. AutoCAD Electrical flips back to the default icon menu and it now remains the default for subsequent inserts.
options defined in the Project Properties dialog box can also be applied to any drawing in the project if needed. Project Settings Tab
Schematic Libraries AutoCAD Electrical contains two specific IEC-type symbols, IEC2 and IEC4. The main difference between these libraries is the size of the text associated with them. IEC2 symbols have a text size of 2.5 for the main text items such as Component Tag, Installation, Location, Component Description, and so on. IEC4 symbols have a text size of 3.5 for the Component Tag and a text size of 2.7 for Installation, Location, Component Description, and so on.
Components Tab
Component TAG Format In IEC you may want your components to be tagged with Sheet Number, Family Code, followed by a number that is either sequential or reference-based. To do this, in the Tag Format edit box, enter: %S%F%N where %S = the sheet number, %F = the family code defined for the component being inserted and %N = the numbering scheme for the active drawing (either sequential or reference-based). For sequential numbering, you can enter a starting number to use as a starting component number. For reference-based numbering, you can use one of the following numbering formats: X-Y Grid X Zones Reference Number
Components Tab
Component TAG Options Defines most of the specific tagging options to conform to the IEC tagging mode. Select the option that best fits your needs: Combined Installation/Location Tag Mode: Uses the combined installation/location tag for interpreting component tag names. For example, 100CR relay contact marked with location code PNL1 is interpreted as being associated with a different relay coil than relay contact -100CR marked with location code PNL2. If this setting is not selected, both contacts are associated with the same parent relay coil, 100CR.
By selecting this option, your component tags are automatically prefixed with the =, +, and - where applicable.
Suppress dash when first character of tag: Suppresses any single dash character prefix in an IEC tag that does not have a leading Installation/Location prefix (for example, "-K101" dash is suppressed to "K101" but "+LOC1-K101" remains unchanged).
When switched OFF, it automatically adds a single dash character to an IEC tag that does not already have a single leading dash prefix and does not have a leading Installation/Location prefix. For example, tag "K101" becomes "K101" but "+LOC1-K101" remains unchanged. NOTE This suppression takes place automatically in reports; and takes place graphically only when a component is inserted, edited, or retagged.
Format Installation/Location into tag: Specifies to exclude the Installation and Location code values as part of the tag when displaying. For example, if this is not on, a tag might show up
Components Tab
as K16 in the Surf dialog box. But if selected, the tag might show up +AAA-K16 (where AAA is the location). Suppress Installation/Location in tag when match drawing default: Suppresses Location and Installation values on components if they match the drawing default values. Suppress Installation/Location in tag on reports: Specifies to exclude Installation and Location values as part of the tag when displayed in reports. Upon insert: automatic fill Installation/Location with drawing default or last used: Fills the Installation and Location edit boxes on the Insert/Edit component dialog box and the attributes on the block with drawing default or last used values (if no drawing default).If not selected, these edit boxes and attributes are not filled in and are assumed.
Cross-reference Tab
Cross-reference Format In IEC, you may want to configure your cross-referencing text to display the Sheet Number - Reference Number. To do this, in the Same Drawing edit box, enter %S-%N (or click the %S-%N button). You can also define the format of the crossreferencing text that references other drawings in the Between Drawings edit box. Select this if you want to suppress IEC prefixes. NOTE You must run the Component Cross-reference command to update any existing cross-referencing text. In IEC, it is common to display a representation of the type of child component (Normally Open, Normally Closed or Form-C contact) in either a graphical or table format. If you select the graphical
Cross-reference Tab
(nontable) format, you can define details of the graphical format by clicking Setup.
Styles Tab
Wire Style In IEC, it is sometimes preferable to display wire connections as tee markers instead of connection dots. To do this, in the Wire Tee section, select the appropriate angle tee marker from the list.
Format Referencing
TIP Use negative spacing values for Horizontal or Vertical if you want to change the X-Y grid system's origin to be other than the upper left-hand corner of the drawing
X Zones: Similar to X-Y Grid, but there is not a Y-axis. Set your drawing's horizontal labels,
TIP Use negative zone spacing value if you want the zone reference origin to be at the right side of the drawing.
Scale
Drawing Properties Drawing Properties are configured by either right-clicking on the drawing name in the Project Manager and selecting Properties Drawing Properties, or by selecting Properties Drawing Properties. The options configured here are only applied to the drawing that they were configured on. NOTE Options that are duplicated on the Drawing Properties and Project Properties dialog boxes are not described in this section. Drawing Settings Tab
IEC-Style Designators Defines Installation and Location codes that are used for drawing defaults when placing components on the drawing and no override Installation or Location values are given on the specific component. These values are used when the Combined Installation/Location tag mode option is selected (described previously in Project Properties section).
Windows XP: C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support\User\ Windows Vista, Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support\User\ 2 Active project's .wdp file subdirectory 3 All paths defined under AutoCAD Options Files Support Files Search Path Depending on how you want to override component family names, you can move the wd_fam.dat file into the various locations mentioned above.
To always substitute a new family value for all projects you create, place the file in the User folder. (option 1) To use AutoCAD Electrical defaults most of the time but sometimes override them with project-specific defaults, place the file in the project folders for the project you want to override. You can have different defaults for each project. (option 2) If you want a default override from the AutoCAD Electrical default values, but sometimes want a project override to the global override, you will want to use option 3 and 2. Place the file somewhere in the AutoCAD support path, like C:\Program Files\Autodesk\Acade 200x\Acade, and then when you want to override these values, place the file in the project folder.
The library folders and icon menu are project settings. The component tagging options are on a per-drawing basis and must be applied to each drawing.
Project settings
1 Click Project tab Project Tools panel Manager. 2 Right-click on the project name in Project Manager. 3 Select Properties. 4 Select the Project Settings tab. 5 Expand the Schematic Libraries section. 6 Remove any folder names you no longer want and add any that you need. For example, remove the JIC folder and add the IEC library folder. NOTE AutoCAD Electrical searches for a symbol in the order the folders are listed. 7 Expand the Schematic Icon Menu File section. 8 Remove the menu you do not want and add the menu you need. For example, remove the ACE_JIC_MENU.DAT file and add the ACE_IEC_MENU.DAT file. 9 Click OK.
1 Click Project tab Project Tools panel Manager. 2 Right-click on the project name in Project Manager. 3 Select Properties. 4 Select the Components tab. 5 In the Component TAG Options section, check the Combined Installation/Location tag mode option for IEC tagging, uncheck it for JIC tagging. If using IEC tagging, set any of the other tagging options.
6 Highlight all the drawings in Project Manager you wish to apply the project settings to. 7 Right-click and select Properties Apply Project Defaults. NOTE When the project settings are applied to a drawing, all settings are applied, not specific ones.
1 Click Project tab Project Tools panel Manager. 2 Highlight the drawing in Project Manager that you wish to change. 3 Right-click and select Properties Drawing Properties. 4 Select the Components tab. 5 In the Component TAG Options section, check the Combined Installation/Location tag mode option for IEC tagging, uncheck it for JIC tagging. If using IEC tagging, set any of the other tagging options. 6 Click OK. NOTE You can change the component tagging options on the active drawing by
See also:
and data with the ability to search for required information across multiple drawings and projects. The AutoCAD Vault add-in works within AutoCAD Electrical, adding data management tools to the interface. Through the AutoCAD Vault add-in, you can add files to a vault, and check files in and out. The add-in works with both DWG and image files. In AutoCAD Electrical, you work on one project at a time. The project file (.wdp) lists all the drawings that are part of a project. When you make a change in one drawing, all files related to that drawing automatically update.
Log in and out of the vault Upon initial start-up of AutoCAD Electrical, you are not logged into the vault. You must log into Autodesk Vault to work with projects in the vault. You can also log into the vault using the File Vault menu Check projects in and out of the vault The most basic requirement of the vault is that you never work directly on a file in the vault. You must check out the project to the working folder on your local drive to edit it. When you finish working on the project, you must check the project back into the vault. When a project file and its related drawing files are checked out of a vault, only the files that are not currently checked out are downloaded. If the working copy of a file is older than the version in the vault, you are prompted to replace the working copy. If the working copy is currently checked out, it is not replaced.
TIP If you want others to view updates you made to a project and you want to continue modifying the project, select the Keep Checked Out option on the Check In dialog box. This checks in the updates you made to the project and keeps the project checked out to you. NOTE You must have all references of a project file downloaded to your working folder to edit the project file.
View the status of files in a design The status icons indicate the status of your local files as compared to the same files in the vault. You can tell when the local copy is in sync with the vault and when it is not. The tooltip for each status icon describes the state of the file and suggests the next logical step. The status of a local file is updated when it is saved to disk. NOTE The vault status icons are only available in the list view and only appear when you are logged into the vault.
3 In a single user environment, if you did not set a working folder yet, start Autodesk Vault Explorer and set a working folder on your local computer and then switch back to AutoCAD Electrical. In a multiple-user design environment, set the working folder on a shared network resource for the entire project team. This allows simultaneous access for all users on the same dataset and maintains the data consistency. 4 Open a project you want to add to the vault. 5 Add the opened project to the vault using the Check In or Check In Folder command. 6 Use the Open from Vault or Check Out command to open and check out the file from the vault. 7 To work on more files in the project, check out multiple files to the working folder using the Check Out All command in the Project Manager. 8 When you finish modifying the files, check them back into the vault using the Check In All command in the Project Manager. All related files update.
Get Latest Version retrieves a read-only copy of the most recent design data that is checked in. You cannot modify it until you check it out using Autodesk Vault Explorer or the Vault add-in for AutoCAD-based products. 1 In the Project Manager, select a file. 2 Right-click and select:
Get Latest Version to get the most recent version of the selected project file. Get Latest Version for All to get the most recent version of the selected project file and all of the related files.
3 In the Get Latest Version dialog box, click OK. The most recent versions of the selected files are downloaded from the vault. If the working copy of a file is newer than the most recent version of the file in the vault, you are prompted to chose either losing changes made to the current working copy or to not get the latest version of that file. 4 Click Settings to get the parents and children of the selected file. Get previous version Get Previous Version retrieves a past version of a file or a project and places a read-only copy in your working folder. Historical versions can never be modified. You can only create a new version of a file. 1 In the Project Manager, right-click a file or project, and then click Get Previous Version. 2 In the Get Previous Version dialog box, select a version of the file or project to retrieve. 3 If the file has parents and children to get, click Settings, and then specify which related files are retrieved as well. 4 Click OK. A read-only copy of the file is placed in the local working folder. You can view the file but you cannot modify it. To modify the file, you must check it out.
is associated to the latest versions of the drawing at that instance. You can edit individual drawings of a project and create versions of the drawings as needed. When you want to take a project snapshot (create a project version), check out the .wdp and check it back in. Even if the .wdp is not modified, if any drawings have newer versions, a newer version of the .wdp is created, associating all newer drawing versions. TIP Use Vault Explorer to examine the relationship between versions of the project file and corresponding drawings.
Autodesk Vault
You can choose to work in a local or shared working folder according to your design requirements. A shared working folder is highly recommended for the AutoCAD Electrical environment, especially in a multi-user situation, because it enables you and your design team to keep all files up-to-date. To use a shared workspace, the system administrator should preset a consistent working folder for all project members to use. Assign the working folder location to the root level ($) of the vault. A shared working folder cannot be assigned to a subfolder. NOTE If Inventor add-in clients will access the same vault, do not enforce a shared working folder. If Inventor and AutoCAD Electrical are sharing the same vault, the vault administrator cannot enforce the shared working folder. Each AutoCAD Electrical user must set the working folder individually to point to a common network drive. Rules For Using Shared Working Folders Using a shared workspace means multiple users may be working on the same files. All your vault operations are protected as long as you log into the vault before working on the files. The following guidelines will help prevent you from overwriting the changes made by someone else, and vice versa. 1 Remain logged into the vault at all times. You can use the Vault auto login option so you are automatically logged into the vault when AutoCAD Electrical starts. 2 If a file is currently checked out to another user, you cannot perform the following operations:
3 You cannot check out a file that is currently opened for read-write by another user. 4 You can still check out a file that is opened for read only by another user.
5 You can open a file in read only when it is currently checked out to someone else using the same working folder. 6 Ensure that the drawings are checked back into the vault after you finish working on them so they are available to other users who need to modify them.