Hide Table of Contents
Type2 Property (IRefPlaneFeatureData)

Gets whether the reference plane is constraint based; thus, created in SOLIDWORKS 2010 and later.

NOTE: This property is a get-only property. Set is not implemented. 

.NET Syntax

Visual Basic (Declaration) 
Property Type2 As System.Integer
Visual Basic (Usage) 
Dim instance As IRefPlaneFeatureData
Dim value As System.Integer
 
instance.Type2 = value
 
value = instance.Type2
C# 
System.int Type2 {get; set;}
C++/CLI 
property System.int Type2 {
   System.int get();
   void set ( &   System.int value);
}

Property Value

Type of reference plane as defined in swRefPlaneType_e (see Remarks)

Example

Remarks

If IRefPlaneFeatureData::Type2 returns swRefPlaneConstraintBase, then the reference plane is constraint based and was created in SOLIDWORKS 2010 or later. To determine if a constraint-based reference plane has angle or offset distances references, call IRefPlaneFeatureData::Type:

  • swRefPlaneAngle is returned for angle references.
  • swRefPlaneDistance is returned for offset distance references.

Otherwise, the reference plane is not constraint based and was created in SOLIDWORKS 2009 or earlier. Call IRefPlaneFeatureData::Type to determine its type.

IMPORTANT: Reference planes created in SOLIDWORKS 2010 or later are constraint based; reference planes created in SOLIDWORKS 2009 or earlier are not. See the Remarks section in the IRefPlaneFeatureData interface topic for details about reference planes and this interface.

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:   Type2 Property (IRefPlaneFeatureData)
*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.