Parameters and Parameter Sets
The Parameter object contains the definition of a parameter that can be used in drawing mode or 3D mode. The Parameter Set is a collection of Parameters.
Image
Image
Adding Parameters
  1. Select Add new object Image or select Edit existing objects Image or use Image to copy an existing entry and modify from there.
    • The Object Edit dialog appears.
      Image
  2. Type in the Creo Parameter name that you want to call out.
  3. Select Image to enter the UI Label that is displayed in the user dialog.
    Image
  4. Enter an Admin Label that is used for distinction within the administration dialog.
  5. Select Image to enter a UI Description that will be displayed in the Description column in the user dialog.
  6. Check the Designate check box if this parameter shall be designated to Windchill.
  7. Check the Translate check box if the value of this parameter shall be translated. For each configuration language an unique instance is automatically created using the parameter name as a basis and a language specific suffix. E.g. if the parameter name is set to “MY_PARAM” and the translate attribute is set, the parameters “MY_PARAM_EN”, “MY_PARAM_DE” and “MY_PARAM_CN” could be created and updated. If the user changes the parameter value via drop down list in the user interface, the corresponding translation for the chosen value is applied to all language instances of the parameter. The suffixes are defined for each language within the corresponding xml file (<configuration directory>\translations\<language name>\san_language_settings.xml) under the node “<param_suffix>”.
  8. Choose the Source of the parameter from the pull-down menu.Use Solid to call out parameter values from the 3D model or Drawing to call out values from the 2D drawing.
  9. Choose the Parameter Value Type from the pull-down menu.
  10. Choose the Input Type from the pull-down menu to define how the user can edit the parameter value. You can choose from the following options:
    • Read-Only — Value is displayed, but user cannot change
    • Inputpanel — User can type in a value
    • Optionmenu — User can select from pull-down menu only
    • Optionmenu (editable) — User can select from pull-down menu or can type in a value
  11. Enter a Default Value. Use ‘-’ for no value.
  12. (Optional) You may select Image to specify a Value List (text file) from the /lists folder. You also can enter a semicolon separated string.
  13. Enter the Maximum Length of the parameter value. The maximum length that Creo allows is 80 characters. The user will only be able to enter characters up to the specified length.
  14. (Optional) Enter a Regular Expression to specify the format of the value. Refer to the Internet (i.e. Wikipedia) for explanations.
  15. (Optional) Enter a RegExp Description to be displayed in the Parameter Status Window. This helps the user to understand when the entered value does not match the regular expression.
  16. (Optional) Choose a Function from the pull-down menu. Currently two functions are available.
    • Login name — the value of the ‘USERNAME’ environment variable
    • Today’s date — the current date is used (format is set in the configuration)
Adding Parameter Sets
  1. Select Add new object Image or select Edit existing objects Image or use Image to copy an existing entry and modify from there.
    • The Object Edit dialog appears.
      Image
  2. Select Image to enter the UI Label that is displayed in the admin dialog.
  3. (Optional) Enter an Admin Label that is used for distinction within the administration dialog.
  4. (Optional) Click in the color bar and the Color UI dialog opens. Define a background color for the current Parameter Set within the user dialog.
    Image
  5. Choose Add new element   Add Parameter
    • A new Parameter entry is created within the Object Edit dialog
      Image
  6. Choose an existing Parameter from the pull-down menu.
  7. Repeat for all intended parameters in the set.