MassGBXMLExportOptions Constructor (IList(ElementId), IList(ElementId))


Constructs a new instance of the options used to export a mass model to gbXML.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2012

Syntax

C#
public MassGBXMLExportOptions(
	IList<ElementId> massZoneIds,
	IList<ElementId> massIds
)
Visual Basic
Public Sub New ( _
	massZoneIds As IList(Of ElementId), _
	massIds As IList(Of ElementId) _
)
Visual C++
public:
MassGBXMLExportOptions(
	IList<ElementId^>^ massZoneIds, 
	IList<ElementId^>^ massIds
)

Parameters

massZoneIds
Type: System.Collections.Generic IList ElementId
Indicates the mass zones to analyze in the exported gbXML.
massIds
Type: System.Collections.Generic IList ElementId
Indicates the masses to use as shading surfaces in the exported gbXML--these masses must not have mass floors or mass zones so as not to end up with duplicate surface information in the gbXML output.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →