Construct a PointOnFace object which is used to define the placement of a ReferencePoint given a reference and a location on the face.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public PointOnFace NewPointOnFace( Reference faceReference, UV uv )
Parameters
- faceReference Reference
- The reference whose face the object will be created on.
- uv UV
- A 2-dimensional position.
Return Value
PointOnFaceA new PointOnFace object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument faceReference or uv is nullptr. |