ExportCategory Property


Value is a category indicating which discipline model will be used for GreenBuildingXML export.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011

Syntax

C#
public ElementId ExportCategory { get; set; }
Visual Basic
Public Property ExportCategory As ElementId
	Get
	Set
Visual C++
public:
property ElementId^ ExportCategory {
	ElementId^ get ();
	void set (ElementId^ value);
}

Remarks

OST_Rooms will use the architectural 3d rooms for export. OST_MEPSpaces will use the MEP 3d Spaces for export.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: The export category is neither OST_Rooms nor OST_MEPSpaces.
Autodesk.Revit.ExceptionsArgumentNullException When setting this property: 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 →