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 System.Integer, _
   ByVal FirstConstraintAngleOrDistance As System.Double, _
   ByVal SecondConstraint As System.Integer, _
   ByVal SecondConstraintAngleOrDistance As System.Double, _
   ByVal ThirdConstraint As System.Integer, _
   ByVal ThirdConstraintAngleOrDistance As System.Double _
) As System.Object
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim FirstConstraint As System.Integer
Dim FirstConstraintAngleOrDistance As System.Double
Dim SecondConstraint As System.Integer
Dim SecondConstraintAngleOrDistance As System.Double
Dim ThirdConstraint As System.Integer
Dim ThirdConstraintAngleOrDistance As System.Double
Dim value As System.Object
 
value = instance.InsertRefPlane(FirstConstraint, FirstConstraintAngleOrDistance, SecondConstraint, SecondConstraintAngleOrDistance, ThirdConstraint, ThirdConstraintAngleOrDistance)
C# 
System.object InsertRefPlane( 
   System.int FirstConstraint,
   System.double FirstConstraintAngleOrDistance,
   System.int SecondConstraint,
   System.double SecondConstraintAngleOrDistance,
   System.int ThirdConstraint,
   System.double ThirdConstraintAngleOrDistance
)
C++/CLI 
System.Object^ InsertRefPlane( 
&   System.int FirstConstraint,
&   System.double FirstConstraintAngleOrDistance,
&   System.int SecondConstraint,
&   System.double SecondConstraintAngleOrDistance,
&   System.int ThirdConstraint,
&   System.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) 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.