Hide Table of Contents
CreatePlaneAtSurface3 Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::InsertRefPlane.

.NET Syntax

Visual Basic (Declaration) 
Function CreatePlaneAtSurface3( _
   ByVal InterIndex As System.Short, _
   ByVal ProjOpt As System.Boolean, _
   ByVal ReverseDir As System.Boolean, _
   ByVal NormalPlane As System.Boolean, _
   ByVal Angle As System.Double, _
   ByVal AutoSize As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim InterIndex As System.Short
Dim ProjOpt As System.Boolean
Dim ReverseDir As System.Boolean
Dim NormalPlane As System.Boolean
Dim Angle As System.Double
Dim AutoSize As System.Boolean
Dim value As System.Object
value = instance.CreatePlaneAtSurface3(InterIndex, ProjOpt, ReverseDir, NormalPlane, Angle, AutoSize)
System.object CreatePlaneAtSurface3( 
   System.short InterIndex,
   System.bool ProjOpt,
   System.bool ReverseDir,
   System.bool NormalPlane,
   System.double Angle,
   System.bool AutoSize
System.Object^ CreatePlaneAtSurface3( 
&   System.short InterIndex,
&   System.bool ProjOpt,
&   System.bool ReverseDir,
&   System.bool NormalPlane,
&   System.double Angle,
&   System.bool AutoSize


  • Multiple intersections - other solutions may exist

  • a surface, plane, and edge - the intersection index is the intersection point to use when there are multiple intersections; when the intersection index input is more than the number of intersection points, the index of the last intersection point found will be used


True to project the plane along the sketch normal toward the reference surface, false to project the plane to the nearest location on the reference surface


True to create the plane on the opposite side of the sketch plane, false to not


True to find the plane normal to the surface for a conical surface, false to find the plane tangent to the surface


Value of the angular offset of the normal plane, relative to a chosen reference plane


True to automatically size the plane, false to not

Return Value

Newly created reference plane


This method uses the current document setting for displaying of the reference plane as it is created.


If display of reference planes is...

Then you ...


See the reference plane on the screen as it is created


Do not see the reference plane on the screen as it is created


The IModelDocExtension::GetUserPreferenceToggle and IModelDocExtension::SetUserPreferenceToggle methods, with swDisplayPlanes, get or set this display preference.


This method does not select the reference plane after it is created. Objects that are selected before running this method are still selected when the method completes, not the newly created reference plane.


This method returns a RefPlane object. You can use this object for further operations on the reference plane feature. Although just having a reference plane may not be useful, it is a feature, which is an entity, so methods available on those objects are available.


For this type of user...

Those functions are...


Directly accessible


Available via use of a QueryInterface


For example, if the reference plane must be selected, use IEntity::Select4.


See Also


SOLIDWORKS 2001Plus FCS, Revision Number 10.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

Subject:   Feedback on Help Topics
Page:   CreatePlaneAtSurface3 Method (IModelDoc2)
*   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:


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

Web Help Content Version: API Help (English only) 2016 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.