Create a PointRelativeToPoint object, which is used to define
the placement of a ReferencePoint relative to a host point.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public PointRelativeToPoint NewPointRelativeToPoint( Reference hostPointReference )
Parameters
- hostPointReference Reference
- The reference of the host point.
Return Value
PointRelativeToPointIf creation is successful then a new PointRelativeToPoint object is returned, otherwise an exception with failure information will be thrown.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument hostPointReference is null. |