InSession Model
Overview
This video demonstrates the InSession Model command in Nitro-CELL, which checks whether a specific model is currently loaded in the Creo Parametric session. This is a useful validation command that can be placed before other operations to confirm a model is available before attempting to modify, save, or export it. The command returns a boolean result indicating whether the named model exists in the current session. The video shows how to use this command as a conditional check in automation workflows, preventing errors that would occur if a command targets a model that is not loaded. It also demonstrates how to combine InSession checks with Open commands for robust workflow design.
Key Steps
- Enter the InSession Model command with the target model name
- Execute the command to check if the model is loaded in Creo
- Read the boolean result from the status column
- Use the result to conditionally execute subsequent commands
- Combine with Open commands to load models that are not yet in session
Tips
- Use InSession checks before operations that require a specific model to be active
- Combine with conditional logic in your worksheet to handle both loaded and unloaded scenarios
- This command is lightweight and does not modify the Creo session