Hide Table of Contents
InsertRefPlane Method (IFeatureManager)

Inserts a constraint-based reference plane using the selected reference entities.

.NET Syntax

Visual Basic (Declaration) 
Function InsertRefPlane( _
   ByVal FirstConstraint As Integer, _
   ByVal FirstConstraintAngleOrDistance As Double, _
   ByVal SecondConstraint As Integer, _
   ByVal SecondConstraintAngleOrDistance As Double, _
   ByVal ThirdConstraint As Integer, _
   ByVal ThirdConstraintAngleOrDistance As Double _
) As Object
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim FirstConstraint As Integer
Dim FirstConstraintAngleOrDistance As Double
Dim SecondConstraint As Integer
Dim SecondConstraintAngleOrDistance As Double
Dim ThirdConstraint As Integer
Dim ThirdConstraintAngleOrDistance As Double
Dim value As Object
 
value = instance.InsertRefPlane(FirstConstraint, FirstConstraintAngleOrDistance, SecondConstraint, SecondConstraintAngleOrDistance, ThirdConstraint, ThirdConstraintAngleOrDistance)
C# 
object InsertRefPlane( 
   int FirstConstraint,
   double FirstConstraintAngleOrDistance,
   int SecondConstraint,
   double SecondConstraintAngleOrDistance,
   int ThirdConstraint,
   double ThirdConstraintAngleOrDistance
)
C++/CLI 
Object^ InsertRefPlane( 
&   int FirstConstraint,
&   double FirstConstraintAngleOrDistance,
&   int SecondConstraint,
&   double SecondConstraintAngleOrDistance,
&   int ThirdConstraint,
&   double ThirdConstraintAngleOrDistance
) 

Parameters

FirstConstraint
First constraint as defined in swRefPlaneReferenceConstraints_e
FirstConstraintAngleOrDistance
Angle or distance of the first constraint
SecondConstraint
Second constraint as defined in swRefPlaneReferenceConstraints_e
SecondConstraintAngleOrDistance
Angle or distance of the second constraint
ThirdConstraint
Third constraint as defined in swRefPlaneReferenceConstraints_e
ThirdConstraintAngleOrDistance
Angle or distance of the third constraint

Return Value

Reference plane

Example

Remarks

Before calling this method, you must have selected the reference entities using these marks with IModelDocExtension::SelectByID2:

  • 0 = First reference entity
  • 1 = Second reference entity
  • 2 = Third reference entity
 

See Also

Availability

SolidWorks 2010 FCS, Revision Number 18.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:   InsertRefPlane Method (IFeatureManager)
*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.