Share

TransientGeometry.CreateLineSegment Method

Parent Object: TransientGeometry

Description

Method that creates a new LineSegment object. The object created is a transient mathematical object and is not displayed graphically

Syntax

TransientGeometry.CreateLineSegment( StartPoint As Point, EndPoint As Point ) As LineSegment

Parameters

Name Type Description
StartPoint Point Input Point object that specifies the start point of the line.
EndPoint Point Input Point object that specifies the end point of the line.

Samples

Name Description
Transient solid body creation The following sample demonstrates the creation of a transient solid block body. The newly created body is then displayed using client graphics in a part.
Transient surface body creation The following sample demonstrates the creation of a transient surface body consisting of a single rectangular face. The body is created in transient space and then copied over to a part document as a base feature.
Transient B-Rep Ruled Surface with Lines Demonstrate creating a transient ruled surface. This sample uses all straight line segments for each of the sections. A part document must be open.
Transient B-Rep Ruled Surface with Arc and Line Demonstrate creating a transient ruled surface. This sample uses straight line segments for once section and an arc for the second. A part document must be open.
Create curve primitives This sample demonstrates the creation of curve primitives (lines, arcs, circles, etc.) using client graphics.

Version

Introduced in version 11

Was this information helpful?