visual3d:documentation:pipeline:other_commands:create_text_data
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
visual3d:documentation:pipeline:other_commands:create_text_data [2024/07/17 15:46] – created sgranger | visual3d:documentation:pipeline:other_commands:create_text_data [2025/08/01 16:34] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Create Text Data ====== | ====== Create Text Data ====== | ||
- | ===== Command | + | ===== Overview |
- | Create | + | The **Create_Text_Data** command is used to generate a text-based signal in Visual3D. Unlike standard numeric signals, this command allows |
- | {{: | ||
+ | ===== Pipeline Command ===== | ||
+ | |||
+ | The command below is as seen in the Visual3D application. The parameters allow for customization of how the text signal is created" | ||
+ | |||
+ | < | ||
Create_Text_Data | Create_Text_Data | ||
- | / | + | / |
- | /SIGNAL_NAME=HELLO | + | /SIGNAL_NAMES= |
- | /TEXT_DATA=Hello World! | + | ! / |
- | / | + | ! / |
! / | ! / | ||
- | **;** | + | ; |
- | It is possible to specify | + | </ |
- | / | + | |
- | \\ | + | ===== Command Parameters ===== |
+ | |||
+ | The following table outlines the available parameters and their functions. | ||
+ | |||
+ | |**Parameter**|**Description**| | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**! /TEXT_DATA=**|Inline text data to be inserted directly in the command.| | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |||
+ | 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. | ||
- | if / | + | Additional Options |
- | and the text box and filename edit box are empty | + | * Return with RTF Formatting: If selected, |
- | the user is prompted for input. | + | * Return Text: Uses Box 2 (Plain Text) as the input source |
- | {{:CreateTextDataDlg2.jpg}} | + | * Return Filename: Uses the selected file path from Box 3 to load the contents of an external file.\ |
- | Example: Given the dialog | ||
- | {{: | + | If no text or file is provided, and the / |
- | The resulting signal in the workspace is: | + | ===== Examples ===== |
- | {{: | ||
- | ===== 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.txt · Last modified: 2025/08/01 16:34 by wikisysop