To add further definition to a part, such as a name for a material, you can assign optional properties to a part size definition in a parts list.
After an optional property is assigned to the part, the property may be viewed or edited in the Part Properties tab of either the Pipe Properties or the Structure Properties dialog box, viewed or edited in the Network Entities Window, or it can be displayed as labeling text for the part in the drawing.
An example of an optional property is the Material property available for the Concrete Pipe part family. You can assign this optional property to part sizes within the Concrete Pipe part family.
To add an optional property to a part size
- In Toolspace, on the Settings tab, expand the Pipe Network collection, and then expand the Parts Lists collection.
- Right-click the desired parts list and click Edit Parts List. The Network Parts List dialog box is displayed.
- Click the Pipes tab to assign an optional property to a pipe part size, or the Structures tab to assign an optional property to a structure part size.
- On either the Pipes tab or the Structures tab, in the Name column, expand the parts list so that you can see the part families that are currently included.
- Right-click the desired part family and select Add Part Size.
- The Part Size Creator Dialog Box is displayed. The optional properties are identified in the Source field.
- If the optional property can be assigned, you can click in the Value field and set the property from a list of choices. If the optional property has a static value, no choices are available.
- Click in the Value field to select and assign the property.
- Click OK on the Part Size Creator dialog box.
- Type in the value or string.
- Click OK or Apply on the Pipes or Structures tabs to save the changes.
To add a user-defined property to a network part
- Navigate to the Part Parameter Configuration xml file (AeccPartParamCfg.xml). The default location is C:\Documents and Settings\All Users\Application Data\Autodesk\AutoCAD <version>\enu\Pipes Catalog\Aecc Shared Content.
- Open the file and select View
Source in order to modify the file. - Navigate to the <AeccParamDeclaration> section. A sample optional property is the Hazen Williams Coefficient flow analysis. The entry for this is: <AeccDfParameter name="ACHW" desc="Hazen Williams Coefficient" context="FlowAnalysis_HazenWilliams" index="0" datatype="Float" usage="Double_General" unit="" visible="True" internal="True"/>.
- Copy an existing optional property and make changes as appropriate to create a new property.
- In the <AeccParamUsage> section, the corresponding entry for the sample in step 3 is <AeccOptParam context="FlowAnalysis_HazenWilliams"/>. Copy and modify an entry as appropriate to create an new entry for your property.
- Save and close the xml file.