> ICreatePlaneAtAngle3 Method (IModelDoc2)
Welcome
Getting Started
SolidWorks API Help
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
ICreatePlaneAtAngle3 Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::InsertRefPlane.

.NET Syntax

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

Parameters

Val

Angle from the selected plane in radians

FlipDir

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

AutoSize

True to automatically size 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 IModelDocExtenison::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


Related SolidWorks Forum Content

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:   ICreatePlaneAtAngle3 Method (IModelDoc2)
*Comment:  
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

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document 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.