This shows you the differences between two versions of the page.
brazil:scripting [2016/03/30] |
brazil:scripting [2020/08/14] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Scripting methods for Brazil ====== | ||
+ | |||
+ | > **Note:** //See also [[developer: | ||
+ | |||
+ | |||
+ | To get a scripting object for Brazil, use the following code: | ||
+ | |||
+ | dim brazil | ||
+ | set brazil = Rhino.GetPlugInObject(" | ||
+ | |||
+ | Then use the Brazil object to access the functions below. | ||
+ | |||
+ | =====Methods===== | ||
+ | |||
+ | | ||
+ | Returns or modifies document parameter. | ||
+ | |||
+ | > **Parameters: | ||
+ | varValue = Optional. Variant. Use to set value. | ||
+ | |||
+ | ] | ||
+ | |||
+ | > **Returns: | ||
+ | NULL in error conditions. | ||
+ | |||
+ | ] | ||
+ | |||
+ | | ||
+ | Returns or modifies object parameter. | ||
+ | |||
+ | > **Parameters: | ||
+ | strPath = Required. String. Full path to object paramter in XML tree. | ||
+ | |||
+ | varValue = Optional. Variant. Use to set value. | ||
+ | |||
+ | ] | ||
+ | |||
+ | > **Returns: | ||
+ | NULL in error conditions. | ||
+ | |||
+ | ] | ||
+ | |||
+ | | ||
+ | Returns or modifies light parameter. | ||
+ | |||
+ | > **Parameters: | ||
+ | strPath = Required. String. Full path to light paramter in XML tree. | ||
+ | |||
+ | varValue = Optional. Variant. Use to set value. | ||
+ | |||
+ | ] | ||
+ | |||
+ | > **Returns: | ||
+ | NULL in error conditions. | ||
+ | |||
+ | ] | ||
+ | |||
+ | |||
+ | |||
+ | |||