DataRefs and Commands¶
The plug-in provides a dialog for working with the X-Plane’s DataRefs and Commands.
It can be opened with buttons DRF:
and CMD:
.
X-Plane’s¶
For using X-Plane’s DataRefs and Commands you have to specify the X-Plane’s folder with the plug-in’s menu X-Plane -> Settings
The files DataRefs.txt
and Commands.txt
from X-Plane’s folder will be loaded into plug-in.
Warning
Some 3Ds Max’s version can’t save last specified X-Plane’s folder properly if it contains non ASCII characters.
Project’s¶
Warning
It is still experimental feature! You can use it on your risk.
Note
The plug-in’s DataRef.txt
reader ignores the first line. This is because the reader for X-Plane’s DateRefs and Project’s DataRef is the same and this format assumes that the first line is just an information line.
- The
X-Plane -> Settings
contains some settings for this feature. - UseID: Enables using ID feature. It is described bellow.
- Sorting: Enables sorting. Data from the
DataRef.txt
andCommands.txt
will be sorted by data’s name while loading.
Warning
If UseID and Sorting are enabled then while auto-assigning ID the sorted data will be save.
DataRefs.txt
and Commands.txt
in the same place where your 3Ds Max’s scene file is saved. The format of those data files the same as X-Plane’s ones, but it has an extension.unique ID -> data key
(DataRef/Command) and the plug-in uses ID in your 3Ds Max’s scene. While exporting the ID will be replaced with the associated with it data (DataRef/Command)..txt
files..txt
files. Then those changes will be pulled into 3Ds Max’s scene while it is loading and will be used while exporting.Example of valid data
Pay attention that DataRefs use tab symbol as the separator while Commands use space.
000001: my/data/ref/1
000005: my/data/ref/2
my/data/ref/3
000001: my/command/1
my/command/2
000005: my/command/3