<Code Lib>
2025.3 Method
Changes 2
M

DirectShape.AddReferencePoint(XYZ, DirectShapeReferenceOptions)

Description:
Adds a reference point to the DirectShape.
Overloads (2):
AddReferencePoint(XYZ,DirectShapeReferenceOptions)

public void AddReferencePoint(
	XYZ refPoint,
	DirectShapeReferenceOptions options
)

  • refPoint
    The coordinates of the new reference point.
  • options
    The options that are used to configure the new reference point.

  • The input point lies outside of Revit design limits. -or- options cannot be used to add a reference object to this DirectShape.
  • A non-optional argument was null

Loading…