model : IN_SESSION_BOOL
Overview
This video demonstrates the IN_SESSION_BOOL command in Nitro-CELL, which checks whether a specified model is currently loaded in the Creo Parametric session and returns a boolean result. Unlike the standard InSession command, IN_SESSION_BOOL returns an explicit true or false value to a cell, making it ideal for use in conditional formulas and automated decision logic within Excel. Engineers can use this command to verify model availability before running operations that require a model to be active, building more resilient automation workflows. The video shows how to enter the command, execute it, and use the boolean output in worksheet logic.
Key Steps
- Enter the IN_SESSION_BOOL command with the target model name
- Execute the command to check the Creo session
- Read the true/false boolean result from the output cell
- Use the result in Excel formulas for conditional workflow logic
- Combine with Open commands to load models that are not in session
Tips
- Returns a boolean value suitable for direct use in Excel IF formulas
- Use before any command that requires a specific model to be active
- This is a read-only check that does not modify the Creo session