The User Variables section allows for you to create custom variables to be applied to Image Paths (in CM4D and DataUtility) and wherever variables have been used previously in CM4D.
|
Attribute= |
Default Value |
Alternate Value |
Notes |
|
UserVariableName1= |
"ValueForUserVariableName1" |
|
Any parameter may be created and defined, which must then be used with the following expression, where "x" equals the user-defined parameter: ~user,x~ |
One way these variables may be used is to support the distribution of a single image across a network without having to change the image path, as shown below:
[UserVariables]
server= "\\NorthServer"
hood= "~User,dev~\Phase\Alpha\Hood\Images\Hood.wrl"
decklid= "\\EastServer\Phase\Alpha\Decklid\Images\Decklid.wrl"
door= "\\SouthServer\Phase\Alpha\Door\Images\Door.wrl"
myLabel= "~label~ ~chr,1~"
myExp= "MyExp: {2.0 * 3.0 + ~act,pos~} ~user,mylabel~"
As a result of the example settings above, when the variable ~user,door~ is used in place of the image path, the image Door.wrl will always be loaded from the defined path.
Can we improve this topic?