String
Model ElementString defines a user defined text string in MotionSolve.
Class Name
String
Description
The string may be of any length. It must contain only printable ASCII characters. String is primarily used within user-defined subroutines. They are commonly used to pass file names, messages, block names, and DLL names to user defined subroutines.
Within a user defined subroutine, the MotionSolve utility subroutine GTSTRG is used to access the String. The ID of the String itself may be passed as a parameter to the user-defined subroutine.
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | NO | |
label | Str () | ✓ | |
string | String () | ✓ |
Usage
String (string=String, optional_attributes)
Attributes
- string
- String
- id
- Integer
- label
- String
Example
XML Syntax | Python Syntax |
---|---|
|
|
Comments
- See Properties for an explanation about what properties are, why they are used, and how you can extend these.
- Reference_Strings may be used in any user defined subroutine.
- Within a user defined subroutine, the utility GTSTRG is used to access a Reference_String. The ID of the Reference_String may be passed as a parameter to the user-defined subroutine.