You can create custom properties with lists of multiple
values.
To create a list property:
-
In the Task Pane, on the Design Library tab, click
Configure Toolbox
.
-
In , under Hole Wizard and Toolbox folder,
click Configure.
-
Click 2 -
Customize Your Hardware.
-
On the Customize
Hardware page, select the folder or indivdual component to apply
the custom property to.
-
Under Custom
Properties, click Add New Custom Property
.
-
In the Custom
Property Definition dialog box, type the Property Name.
-
Under Options, set options as needed.
-
Under Type, select
List.
-
Under Value, type a list
value.
-
For properties that require a configuration name, under
Suffix, type an optional separator
and suffix.
You can delete a list value by clicking Delete
in the value row.
-
Repeat steps 5 and 6 to add more values.
-
Click OK.
List Property Example
In the
Custom Property Definition dialog
box:
- Create a custom list property called Color.
- Select Each value for this
property requires a new configuration name and Add as configuration specific property.
- Use these values and suffixes (suffixes contain hyphens as
separators):
Value |
Suffix |
Red |
-r |
Green |
-g |
Blue |
-b |
On the Customize Hardware
page, select (enable) the custom property for a component. The configuration list
changes to include a column called Color.
Each configuration list row contains a color value, and the configuration names
include the suffixes you specified.
With Color selected in the
Custom Properties list, you can specify
Green as the default color for this
component in the right pane. You can also disable a value for the current component
by clearing it in the list.