Hide Table of Contents
CreatePlaneThruPtParallelToPlane Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::InsertRefPlane.

.NET Syntax

Visual Basic (Declaration) 
Function CreatePlaneThruPtParallelToPlane( _
   ByVal AutoSize As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim AutoSize As System.Boolean
Dim value As System.Object
value = instance.CreatePlaneThruPtParallelToPlane(AutoSize)
System.object CreatePlaneThruPtParallelToPlane( 
   System.bool AutoSize
System.Object^ CreatePlaneThruPtParallelToPlane( 
&   System.bool AutoSize


True to automatically size the plane, false to not

Return Value

Newly created reference plane


This method uses the current document setting for displaying the reference plane. If display of reference planes is disabled, then you do not see the reference plane on the screen. If display of reference planes is enabled, then you see it. IModelDocExtension::GetUserPreferenceToggle and IModelDocExtension::SetUserPreferenceToggle, 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 an IRefPlane object. This object can then be used for subsequent operations on the reference plane feature. Having a IRefPlane object may not be useful, except that it is a feature, which is an entity, so methods available on those objects are available. For an OLE user, those functions are directly accessible; for a COM user, those functions are available via QueryInterface. For example, to select the reference plane, 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:   CreatePlaneThruPtParallelToPlane 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.