2009

Table Of Contents
If you enter a number (for example 0, 400, 5.3), the value is treated as a numeric
value. If it’s got a decimal place, the floating-point formatting is preserved up to the
user-defined decimal places.
If you enter an alphanumeric string between single or double quote marks, such as
“hello” or ‘testing’, the value is treated as a sting.
If you enter the word true or false without any quotes, the value is treated as a
boolean (true = 1, false = 0).
Modifier - assignment operators for your variable. You can use any of the following
operators with numbers and boolean values. However, using strings is limited to the 'Set
Equal To' operator only.
Set Equal To
Increment By
Decrement By
Store Property
A store property action stores an object property in a variable when a script is triggered. This can be
useful if you need to trigger events based on embedded object properties or live data in a linked
database.
You can specify the following properties for this action type:
Set - click this button, and use the shortcut menu to define the objects, which are used to
get the property from:
Clear - clears the current selection.
Set From Current Selection - the objects are set to your current object selection in
the main NavisWorks window.
Set From Current Selection Set - the objects are set to your current search set or
selection set.
Note:
If your selection contains a hierarchy of objects, the top-level object will be automatically used to
get the property from. So, for example, if you selected a group called "Wheel", which includes two
subgroups called "Rim", and "Tyre", only the properties that relate to "Wheel" can be stored.
Variable to Set - the name of the variable to recieve the property.
Category - the property category. The values in this drop-down box depend on the
selected objects.
Property - the property type. The values in this drop-down box depend on the chosen
property category.
Adding Interactivity
428