Obsolete. Superseded by IFeatureManager::InsertRefPlane.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ICreatePlaneFixed2( _
ByRef P1 As Double, _
ByRef P2 As Double, _
ByRef P3 As Double, _
ByVal UseGlobal As Boolean _
) As RefPlane |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim P1 As Double
Dim P2 As Double
Dim P3 As Double
Dim UseGlobal As Boolean
Dim value As RefPlane
value = instance.ICreatePlaneFixed2(P1, P2, P3, UseGlobal)
|
C# | |
---|
RefPlane ICreatePlaneFixed2(
ref double P1,
ref double P2,
ref double P3,
bool UseGlobal
) |
C++/CLI | |
---|
RefPlane^ ICreatePlaneFixed2(
& double% P1,
& double% P2,
& double% P3,
& bool UseGlobal
) |
Parameters
- P1
- Array of 3 doubles (x, y, z) in meters; this is the first of three model-space points used to define the plane orientation; it is also used as the origin for the plane coordinate system
- P2
- Array of 3 doubles (x, y, z) in meters; this is the second of three model-space points used to define the plane orientation; the planes X-axis is directed from P1 to P2 unless useGlobal is set to True
- P3
- Array of 3 doubles (x, y, z) in meters; this is the final model-space point used to define the plane orientation
- UseGlobal
- Controls x-axis orientation (see Remarks)
Return Value
Newly created
reference plane or NULL if the creation of the plan fails
Remarks
See Also
Availability
SolidWorks 2001Plus SP1, Revision Number 10.1