DriveWorks Pro 16: Export Control Values And Constants To Text File [send feedback...]

Export Control Values And Constants To Text File

This Specification Task will export Controls and Constants with there values to an existing text file.

This Task will NOT create a file. You must specify an already existing text file with its extension.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
DelimiterCharacter to use between the name, value and type on each row (comma by default).
Export PathFull path, including extension, of the file that the Controls and Constants will be exported to.
Constants to ExcludeA pipebar (|) delimited list of Constants to exclude.
Control Names to ExcludeA pipebar (|) delimited list of Control names to exclude.

Example

When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Delimiter"#"## will be used as the delimiter. This is the character which will be used to separate the name, value and the type.
Export Path"C:\MyDocuments\Exports\Export.txt"C:\MyDocuments\Exports\Export.txtThis is the full file path with extension.
Constants To Exclude"B"BThe Constant DWConstantB will not be included in the text file.
Control Name To Exclude"TextBox2"TextBox2The Control TextBox1 will not be included in the text file.

Example Data

TypeNameValue
Text Box ControlTextBox1ABC
Numeric Text Box ControlNumericTextBox1123
Slider ControlSlider143
Text Box ControlTextBox2XYZ
ConstantA123
ConstantB456
ConstantCDriveWorks

Example Text File

Created Text File

Name#Value#Type

TextBox1#ABC#Control

NumericTextBox1#123#Control

Slider1#43#Control

A#123#Constant

C#DriveWorks#Constant

Table of Contents