Part Line

Description
A Part Line is a parametric line that can be created with the  Part Primitives command. The coordinates of its start and end point are relative to the coordinate system defined by its property.



Usage
See Part Primitives.

Example


A Part Line object created with the scripting example below is shown here.

Properties
See also: Property editor.

A Part Line object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data
The object has the same attachment properties as a Part Part2DObject.


 * : The X coordinate of the start point of the line. The default is.
 * : The Y coordinate of the start point of the line. The default is.
 * : The Z coordinate of the start point of the line. The default is.


 * : The X coordinate of the end point of the line. The default is.
 * : The Y coordinate of the end point of the line. The default is.
 * : The Z coordinate of the end point of the line. The default is.

Scripting
A Part Line is created with the method of the document.


 * Where is the name for the object.The name must be unique for the entire document.
 * The function returns the newly created object.

The is the user editable name for the object. It can be easily changed by

You can access and modify attributes of the object. For example, you may wish to modify the start and finish vertices.

start vertex

finish vertex

You can change its placement and orientation with: