WorkAxis.SetByTwoPoints Method

Parent Object: WorkAxis

Description

Method that redefines the work axis to go between the two input points.

Syntax

WorkAxis.SetByTwoPoints( Point1 As Object, Point2 As Object )

Parameters

Name Type Description
Point1 Object Input object that represents a point. This object can be a WorkPoint, Vertex, SketchPoint, or SketchPoint3D object.

Point2 Object Input object that represents a point. This object can be a WorkPoint, Vertex, SketchPoint, or SketchPoint3D object.

Remarks

This method is not valid when the work axis exists in an Assembly component definition.

Version

Introduced in version 4