visual3d:documentation:pipeline:other_commands:create_text_data
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:other_commands:create_text_data [2024/06/19 12:52] – sgranger | visual3d:documentation:pipeline:other_commands:create_text_data [2025/08/01 16:34] (current) – wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{{{{{{{====== | + | ====== |
| - | create a signal that contains text instead of a number. | + | ===== Overview ===== |
| - | createtextdatadlg1.jpg | + | The **Create_Text_Data** command is used to generate a text-based signal in Visual3D. Unlike standard numeric signals, this command allows a signal to be created where each frame contains text data instead of numeric values. This can be helpful for labeling data, embedding annotations, |
| - | create_text_data | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | ! / | ||
| - | **;** | ||
| - | it is possible to specify **either** text_data or text_file_name but not both. | ||
| - | / | ||
| - | \\ | ||
| + | ===== Pipeline Command ===== | ||
| - | if / | + | The command below is as seen in the Visual3D application. The parameters allow for customization of how the text signal |
| - | and the text box and filename edit box are empty | + | |
| - | the user is prompted for input. | + | |
| - | createtextdatadlg2.jpg | + | |
| - | example: given the dialog | + | < |
| + | Create_Text_Data | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | </ | ||
| - | createtextdatadlg3.jpg | + | ===== Command Parameters ===== |
| + | |||
| + | The following table outlines the available parameters and their functions. | ||
| + | |||
| + | |**Parameter**|**Description**| | ||
| + | |**/ | ||
| + | |**/ | ||
| + | |**! / | ||
| + | |**! / | ||
| + | |**! / | ||
| + | |||
| + | Note: Either /TEXT_DATA or / | ||
| + | |||
| + | ===== Dialog ===== | ||
| + | |||
| + | The command can be edited either in the text editor or inj dialog form. To open the dialog, either double-click the command in the pipeline workshop or click ' | ||
| + | |||
| + | Below is the dialog box for the **Create_Text_Data** command: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | This dialog provides three different methods to supply text to the signal. | ||
| + | * Box 1: Displays and accepts input in RTF (Rich Text Format) | ||
| + | * Box 2: Displays and accepts input as plain formatted text. | ||
| + | * Box 3: Allows the user to browse and select an external text or RTF file to load. | ||
| + | |||
| + | Additional Options | ||
| + | * Return with RTF Formatting: If selected, the contents of Box 1 will be used. This is useful if you are working with styled text. | ||
| + | * Return Text: Uses Box 2 (Plain Text) as the input source | ||
| + | * Return Filename: Uses the selected file path from Box 3 to load the contents of an external file.\ | ||
| + | |||
| + | |||
| + | If no text or file is provided, and the / | ||
| + | |||
| + | ===== Examples ===== | ||
| - | the resulting signal in the workspace is: | ||
| - | textitemsignal.jpg | ||
| - | ====== syntax issue ====== | ||
| - | consider the following: | ||
| - | / | ||
| - | a forward slash (/) is a special character for pipeline commands that indicates that a parameter_name follows immediately afterwards. | ||
| - | if an equals sign (=) follows visual3d confirms that a parameter was specified. | ||
| - | two equals signs (==), however, does confirm that a parameter was specified. | ||
| - | visual3d searches for an equals sign after each slash because this logically indicates that the user has specified a parameter. | ||
| - | text_data is assigned the string 08/09 | ||
| - | visual3d finds an equals sign after the next slash, so interprets the rest of the string as a new parameter | ||
| - | /2017 by mjt using modify_speed_metric_ver01 speed = 0.4 | ||
| - | it doesn' | ||
| - | solution | ||
| - | remove the = sign | ||
| - | / | ||
| - | or specify two equals signs | ||
| - | / | ||
| - | }}}}}}}} | ||
visual3d/documentation/pipeline/other_commands/create_text_data.1718801533.txt.gz · Last modified: by sgranger
