Hide Table of Contents
CreatePlaneAtOffset3 Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::InsertRefPlane.

.NET Syntax

Visual Basic (Declaration) 
Function CreatePlaneAtOffset3( _
   ByVal Val As System.Double, _
   ByVal FlipDir As System.Boolean, _
   ByVal AutoSize As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim Val As System.Double
Dim FlipDir As System.Boolean
Dim AutoSize As System.Boolean
Dim value As System.Object
 
value = instance.CreatePlaneAtOffset3(Val, FlipDir, AutoSize)
C# 
System.object CreatePlaneAtOffset3( 
   System.double Val,
   System.bool FlipDir,
   System.bool AutoSize
)
C++/CLI 
System.Object^ CreatePlaneAtOffset3( 
&   System.double Val,
&   System.bool FlipDir,
&   System.bool AutoSize
) 

Parameters

Val

Offset distance from selected plane in meters

FlipDir

True to flip the plane the other way for first direction, false to not

AutoSize

True to automatically size the the plane, false to not

Return Value

Newly created reference plane

Remarks

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 swDisplayPlanes and IModelDocExtension::SetUserPreferenceToggle 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

Availability

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

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