WorkPlanes.AddByTwoLines Method
Parent Object: WorkPlanesDescription
Method that creates a new work plane based on the two input lines. Line1 defines the X axis. If the two lines are not in the same plane, the plane is calculated by crossing the vectors defined by Line1 and Line2. This method is not currently supported when creating a work plane within an assembly.
Syntax
WorkPlanes.AddByTwoLines( Line1 As Object, Line2 As Object, [Construction] As Boolean ) As WorkPlaneParameters
Name | Type | Description |
Line1 | Object | Input object that represents a line. This object can be a linear Edge, WorkAxis, or SketchLine object. |
Line2 | Object | Input object that represents a line. This object can be a linear Edge, WorkAxis, or SketchLine object. |
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. If work features are created as construction: *
This is an optional argument whose default value is False. |