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: 24.0.0.0 (24.0.0.0)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- faceReference
- Type: Autodesk.Revit.DBReference
The reference whose face the object will be created on.
- uv
- Type: Autodesk.Revit.DBUV
A 2-dimensional position.
Return Value
A new PointOnFace object.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentNullException | Thrown when the input argument faceReference or uv is a null reference (Nothing in Visual Basic). |