Share

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

Name Description
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

Name Description
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

Name Description
Sketch Edit Orientation This sample demonstrates modifying the orientation of a sketch.
Create sheet metal rip feature This sample demonstrates the creation of a rip sheet metal feature.

Version

Introduced in version 4

Was this information helpful?