Skip to main content

Exists Parameter

Overview

This video demonstrates the Exists Parameter command in Nitro-CELL, which checks whether a specific parameter exists on the active Creo model. The command returns a boolean result indicating the presence or absence of the named parameter. This is a valuable validation step before attempting to set or get a parameter value, as operations on non-existent parameters will fail. The video shows how to use Exists Parameter as a pre-check in automation workflows, enabling conditional logic that creates missing parameters or skips operations when a parameter is not found. This command helps build more robust and error-tolerant automation scripts.

Key Steps

  1. Open the target model in the Creo session
  2. Enter the Exists Parameter command with the parameter name to check
  3. Execute the command to determine if the parameter exists
  4. Read the boolean result from the output column
  5. Use the result to conditionally execute Set, Get, or Create operations

Tips

  • Use Exists before Set to avoid errors when a parameter might not be present on all models
  • Combine with SetCreate for workflows where the parameter should be created if missing
  • This command is read-only and does not modify the model