GetGlobal3DDirectionHandle Method


Exporter IFCUtils Get Global 3DDirection Handle Method

Obtains the handle representing one cardinal direction in 3D.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static IFCAnyHandle GetGlobal3DDirectionHandle(
	int index,
	bool positive
)

Parameters

index Int32
The index of the handle, where 0 is X, 1 is Y and 2 is Z.
positive Boolean
True if the handle returned should be in the positive direction, false if the handle should be in the negative direction.

Return Value

IFCAnyHandle
The cached direction handle.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →