Line Object
Description
The Line object. The object created is a transient mathematical object and is not displayed graphically. For more information, see the Transient Geometry article in the overview section.
Methods
Copy |
Creates a copy of this Line object. The result is entirely independent and can be edited without affecting the original Line object. |
DistanceTo |
Method that returns the distance to the specified point. |
GetLineData |
Get the data defining this line. |
IntersectWithCurve |
Method that returns Point objects that represent the points at the intersection of the Line/LineSegment and the input curve. Returns Nothing if the curves overlap or are parallel. |
IntersectWithSurface |
Method that returns Point objects that represent the points at the intersection of the Line/LineSegment and the input surface. Returns Nothing if the Line/LineSegment lies on the surface or it is parallel to the surface. |
PutLineData |
Method that sets the data defining this line. |
Properties
Direction |
Specifies the direction of the line. |
Evaluator |
Gets the CurveEvaluator for the line. |
IsColinearTo |
Property that gets whether this line is colinear to the specified line, within the specified tolerance. |
RootPoint |
Specifies the root point of the line. |
Accessed From
AnnotationPlaneDefinition.XAxis,
DetailDrawingView.DrawingViewToModelSpace,
DetailDrawingView.SheetToModelSpace,
DrawingView.DrawingViewToModelSpace,
DrawingView.SheetToModelSpace,
Line.Copy,
PlanarSketch.AxisEntityGeometry,
PlanarSketchProxy.AxisEntityGeometry,
Plane.IntersectWithPlane,
SectionDrawingView.DrawingViewToModelSpace,
SectionDrawingView.SheetToModelSpace,
SketchBlockDefinition.AxisEntityGeometry,
SketchBlockDefinitionProxy.AxisEntityGeometry,
TransientGeometry.CreateLine,
WorkAxis.Line,
WorkAxisProxy.Line
Samples
Version
Introduced in version 4