Field
|
Description
|
Name
|
Specifies the name of the parameter, up to 200 characters. This is a required value. The parameter name must be unique within the configurable module.
The following restrictions apply to the parameter name:
• The first character is valid in regards to java.lang.Character.isJavaStart( ).
• The rest of the characters are valid in regards to java.lang.Character.isJavaIdentifierPart( ).
• The name cannot be a Java keyword. For example, public cannot be used as a parameter name.
• The name cannot contain spaces.
|
Description
|
(Optional) Provides a description of the parameter, up to 200 characters.
|
Map to Attribute
|
Represents the attribute to which this parameter is mapped. If the parameter is not mapped to an attribute, this field is blank.
|
Units
|
If the parameter type is defined as Real Number with Units, displays a list of possible unit values.
|
Type
|
Identifies the parameter type. This option is only available if the parameter is not mapped to an attribute. You can select a type or enter a class. The following types are selectable:
• Boolean
• Date & Time
• Real Number
• Real Number with Units — Cannot be used for calculations; however, it can be used for input parameters that are mapped to site-defined attributes.
• References
• URL
• Integer Number
• String
Classes are persistable, serializable custom types that can be entered into the field manually, such as com.ptc.ddl.util.AngularDimension or com.ptc.ddl.util.RatioObject.
|
Input Enabled
|
Indicates whether input is enabled when configuring the part. Possible values include:
• Yes, Required—Users must provide input.
• Yes, Not Required—Users are asked to provide input but are not required to.
• No—Users are not asked to provide input.
|
Prompt
|
Specifies the phrase that will be displayed for this parameter to help the user understand what the parameter represents. For example, a parameter that represents a set of colors might have a prompt value of "Select the desired color".
|
Specified By
|
Indicates if the parameter is specified by a value or an expression. Possible values include:
• Value
• Expression
|
Default Expression
|
If the Specified By option is set, you can enter a specific value or an expression.
If Specified By is set to Value, validation is based on the parameter types.
If Specified By is set to Expression, the expression is validated to ensure the syntax is correct. The Constraint Expression Editor opens in a separate window.
|