NewPointRelativeToPoint Method


Application New Point Relative To Point Method

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: 25.0.0.0 (25.0.0.0)
Syntax
public PointRelativeToPoint NewPointRelativeToPoint(
	Reference hostPointReference
)

Parameters

hostPointReference Reference
The reference of the host point.

Return Value

PointRelativeToPoint
If 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 .
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →