Revit 2026 API
ApplicationNew |
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.0.4.0 (26.0.4.0)
Syntax
public PointRelativeToPoint NewPointRelativeToPoint( Reference hostPointReference )
Public Function NewPointRelativeToPoint ( hostPointReference As Reference ) As PointRelativeToPoint
public: PointRelativeToPoint^ NewPointRelativeToPoint( Reference^ hostPointReference )
member NewPointRelativeToPoint : hostPointReference : Reference -> PointRelativeToPoint
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the input argument hostPointReference is . |
See Also