Nitro-PROGRAM, Input Text
Overview
This video focuses on working with text-based INPUT entries in Pro/PROGRAM using Nitro-PROGRAM. It demonstrates how to create inputs that accept string or text values from users during model regeneration, as opposed to numeric inputs. The video covers the specific syntax and configuration needed for text inputs, including how to define default text values and format the prompt messages. It shows how Nitro-PROGRAM's graphical interface handles text input creation, ensuring the correct Pro/PROGRAM syntax is generated for string-type parameters. This is particularly useful for models that need user-supplied text such as part descriptions, material names, or custom labels.
Key Steps
- Open a model with a Pro/PROGRAM and launch Nitro-PROGRAM
- Navigate to the INPUTS section and add a new text-type input
- Link the input to a string parameter in the model
- Define the prompt text and default string value
- Write the program and regenerate to verify the text input prompt works
Tips
- Text inputs are ideal for parameters like descriptions, labels, or material names
- Ensure the linked parameter is of string type to avoid type mismatch errors
- Use clear default values that represent a typical or safe starting point