Share

WorkPlanes.AddByLineAndTangent Method

Parent Object: WorkPlanes

Description

Method that creates a new work plane through the input line and tangent to the input surface. This method is not currently supported when creating a work plane within an assembly.

Syntax

WorkPlanes.AddByLineAndTangent( Line As Object, Face As Face, ProximityPoint As Point, [Construction] As Boolean ) As WorkPlane

Parameters

Name Type Description
Line Object Input object that represents a line. This object can be a linear Edge, WorkAxis, SketchLine, or SketchLine3D object.

Face Face Input Face object that indicates the tangent surface. This face must either be a cylinder whose axis is parallel to the line, a cone that is positioned such that a valid tangent exists, or a sphere.

ProximityPoint Point Input Point object that indicates which of the possible two solutions to use. For cylinders and spheres the plane can be on either side of the surface. Which solution to use will be determined by which side the proximity point is closest to. This point is only used for the initial computation. During a recompute of the model the plane will remain on the same side of the tangent surface regardless of its position relative to the originally specified point.

Construction Boolean Optional Input Boolean that specifies whether to create the work plane as a construction plane or not. The default is False, which indicates to create a standard work plane, not a construction work plane. A construction work plane is hidden from the user and is not displayed graphically or listed in the browser.

This is an optional argument whose default value is False.

Version

Introduced in version 4

Was this information helpful?