McNeel Wiki
Scripting methods for Brazil
edit · print · help · all topics
Main Pages

AccuRender

Bongo

Brazil r/s

Developer

Flamingo

Penguin

Rhino Blogs

Rhino

Rhino Labs

Search

Languages

Česky

Deutsch

English

Español

Français

Italiano

Polish

日本語

한국어

中文(繁體)

中文(简体)

 
.
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.

Last Modified [11/12/2008] rename · changes · history · subscriptions · references · file upload