2027 Method
Changes 5
M

Document.NewSpotCoordinate

Description:
Generate a new spot coordinate 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 projected point. If the reference is not valid or the point cannot be projected to reference correctly, an exception will be thrown
public SpotDimension NewSpotCoordinate(
	View view,
	Reference reference,
	XYZ origin,
	XYZ bend,
	XYZ end,
	XYZ refPt,
	bool hasLeader
)
  • view
    The view in which the spot coordinate is to be visible.
  • reference
    The reference to which the spot coordinate is to be bound.
  • origin
    The point which the spot coordinate evaluate.
  • bend
    The bend point for the spot coordinate.
  • end
    The end point for the spot coordinate.
  • refPt
    The actual point on the reference which the spot coordinate evaluate.
  • Boolean
    hasLeader
    Indicate if it has leader or not.
Return Value SpotDimension If successful a new spot dimension object, otherwise .