2024 Method
Changes 4
M

Document.NewSpotElevation

Description:
Generate a new spot elevation object within the project.
Remarks:
If the origin point is not on the reference, it'll be projected to the reference automatically. And the refPt is the projected point. If the reference is not valid or the point cannot be projected to reference correctly, an exception will be thrown
public SpotDimension NewSpotElevation(
	View view,
	Reference reference,
	XYZ origin,
	XYZ bend,
	XYZ end,
	XYZ refPt,
	bool hasLeader
)
Return Value nullNothingnullptr If successful a new spot dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .