Revit 2026 API
TransformOf |
Applies the transform to the vector
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public XYZ OfVector( XYZ vec )
Public Function OfVector ( vec As XYZ ) As XYZ
public: XYZ^ OfVector( XYZ^ vec )
member OfVector : vec : XYZ -> XYZ
Parameters
- vec XYZ
- The vector to be transformed
Return Value
XYZThe new vector after transform
Transformation of a vector is not affected by the translational part of the transformation.
See Also