Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ardiscript:setproperty [2018/04/16 05:09]
optrix [Examples]
ardiscript:setproperty [2018/04/24 05:17] (current)
optrix [Parameters]
Line 10: Line 10:
 Default: None// Default: None//
  
-Specifies the name or ARDI ID of the asset you would like to view. If using an asset ID, begin the target with the '#'​ character.+Specifies the name or ARDI ID of the property ​you would like to modify. If using an asset ID, begin the target with the '#'​ character.
  
 ===Amount=== ===Amount===
Line 23: Line 23:
  
 <​code>​ <​code>​
-<​setproperty target="/​Roof Support #%INDEX%/Relay Bar.AFC Extension"​ amount="​0" /> +<​setproperty target="/​Roof Support #1/Relay Bar.AFC Extension"​ amount="​150" /> 
-<code/>+</code>
  
-Test+This will find the property called **AFC Extension** on the asset called **Relay Bar** which is a child asset to the asset **Roof Support #1**. It will then set that property to the //amount// equal to 150.