Brazil Rhino Scripting
Last changed: -84.249.123.205

.
TitleScripting methods for Brazil
NotesSee also Scripting methods for the RDK

Scripting methods for Brazil

To get a scripting object for Brazil, use the following code:

        dim brazil
        set brazil = Rhino.GetPlugInObject("Brazil for Rhino")

Then use the brazil object to access the functions below.

Methods

        DocumentParameter(strPath, varValue)

Returns or modifies document parameter.

ParametersstrPath = Required. String. Full path to document paramter in XML tree

varValue = Optional. Variant. Use to set value.

ReturnsVariant which is the current value of the parameter.

NULL in error conditions.

        ObjectParameter(strObjectId, strPath, varValue)

Returns or modifies object parameter.

ParametersstrObjectId = Required. String. Object identifier.

strPath = Required. String. Full path to object paramter in XML tree.

varValue = Optional. Variant. Use to set value.

ReturnsVariant which is the current value of the parameter.

NULL in error conditions.

        LightParameter(strLightId ,strPath, varValue)

Returns or modifies light parameter.

ParametersstrLightId = Required. String. Light identifier.

strPath = Required. String. Full path to light paramter in XML tree.

varValue = Optional. Variant. Use to set value.

ReturnsVariant which is the current value of the parameter.

NULL in error conditions.