Revit_importer : ImporterPlugin

Exposes the Revit Importer plugin to MAXScript. Available in 3ds Max 2016 and higher.

Constructor:

Class instances not creatable by MAXScript.

   

Aliases:

 Revit_importer
Revit_Import 

   

Properties:

No properties, methods or interfaces exposed.

   

Related Functions:

The following functions can be used to programmatically get and set the Revit Importer options:

RevitImporterGetOption <String>optionName

Returns the value of the named Revit importer option.

Possible options are:

"combineoption" - range from 0 to 4, default is 0

"geometrydetail" - range from 0 to 15, default is 8

"material" - boolean, default is True

"camera" - boolean, default is True

"light" - boolean, default is True

"rpc" - boolean, default is True

"daylight" - boolean, default is True

"biminfo" - boolean, default is True

"fullscene" - boolean, default is False

"viewdetail" - range from 0 to 3, default is 0

"view" - string, default is the unsupplied value

"extrudedetect" - boolean, default is True

"simplifymesh" - range from 0.0 to 0.5, default is the unsupplied value

   

RevitImporterSetOption <String>optionName <Value>newValue

Sets the value of the named Revit importer option.

See above for valid option names and value ranges.

Returns OK.

   

EXAMPLE

RevitImporterGetOption "combineoption"
--> 0
RevitImporterGetOption "geometrydetail"
--> 8
RevitImporterSetOption "geometrydetail" 12
-->OK
RevitImporterGetOption "material"
--> true
RevitImporterGetOption "camera"
--> true
RevitImporterGetOption "light"
--> true
RevitImporterGetOption "rpc"
--> true
RevitImporterGetOption "daylight"
--> true
RevitImporterGetOption "biminfo"
--> true
RevitImporterGetOption "fullscene"
--> false
RevitImporterGetOption "viewdetail"
--> 0 
RevitImporterGetOption "view"
--> unsupplied
RevitImporterGetOption "extrudedetect"
--> true
RevitImporterGetOption "simplifymesh"
--> unsupplied