Hide Table of Contents
CreateSketchPlane Method (ISketchManager)

Creates a 3D sketch plane.

.NET Syntax

Visual Basic (Declaration) 
Function CreateSketchPlane( _
   ByVal Relation1 As Integer, _
   ByVal Relation2 As Integer, _
   ByVal Relation3 As Integer _
) As Boolean
Visual Basic (Usage) 
Dim instance As ISketchManager
Dim Relation1 As Integer
Dim Relation2 As Integer
Dim Relation3 As Integer
Dim value As Boolean
 
value = instance.CreateSketchPlane(Relation1, Relation2, Relation3)
C# 
bool CreateSketchPlane( 
   int Relation1,
   int Relation2,
   int Relation3
)
C++/CLI 
bool CreateSketchPlane( 
&   int Relation1,
&   int Relation2,
&   int Relation3
) 

Parameters

Relation1
Relation as defined in swConstraintType_e for the first selection to position the 3D sketch plane
Relation2

Relation as defined in swConstraintType_e for the second selection to position the 3D sketch plane

Relation3
Relation as defined in swConstraintType_e for the third selection to position the 3D sketch plane

Return Value

True if the 3D sketch plane is created, false if not

Example

Remarks

This method gets the selected items from the selection list in the order in which they were selected and applies the specified relation to them. If fewer than three items were selected, then only the first, or first and second, values are used.
 

See Also

Availability

SolidWorks 2007 FCS, Revision Number 15.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CreateSketchPlane Method (ISketchManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.