TransformAndScaleVector Method


Converts a vector from global Revit coordinates to current IFC coordinates, including scale.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2013

Syntax

C#
public static XYZ TransformAndScaleVector(
	ExporterIFC exporterIFC,
	XYZ origVector
)
Visual Basic
Public Shared Function TransformAndScaleVector ( _
	exporterIFC As ExporterIFC, _
	origVector As XYZ _
) As XYZ
Visual C++
public:
static XYZ^ TransformAndScaleVector(
	ExporterIFC^ exporterIFC, 
	XYZ^ origVector
)

Parameters

exporterIFC
Type: Autodesk.Revit.DB.IFC ExporterIFC
The exporter.
origVector
Type: Autodesk.Revit.DB XYZ
The original vector.

Return Value

The transformed and scaled point.

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 →