Hide Table of Contents
DeleteFeatureMgrView Method (IModelDoc2)

Removes the specified tab in the FeatureManager design tree.

.NET Syntax

Visual Basic (Declaration) 
Sub DeleteFeatureMgrView( _
   ByRef AppView As System.Integer _
) 
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim AppView As System.Integer
 
instance.DeleteFeatureMgrView(AppView)
C# 
void DeleteFeatureMgrView( 
   ref System.int AppView
)
C++/CLI 
void DeleteFeatureMgrView( 
&   System.int% AppView
) 

Parameters

AppView

View handle of the FeatureManager design tree view to delete

Remarks

If your application must be x64 compatible, then use IModelDocExtension::DeleteFeatureMgrViewx64.

On the appropriate notification, you can call this method to clean up and delete your FeatureManager design tree view.

Use this method with IModelViewManager::CreateFeatureMgrView2 or IModelDoc2::AddFeatureMgrView3.

If you created the FeatureManager design tree view using...

 Then...

IModelViewManager::CreateFeatureMgrView2

Calling IModelDoc2::DeleteFeatureMgrView destroys the CView object used for the FeatureManager design tree view.

IModelDoc2::AddFeatureMgrView3

Your application allocated the CView object and calling IModelDoc2::DeleteFeatureMgrView does not destroy the CView object. In this case, you must destroy the CVew object using the appropriate destructor. Never use the delete operator directly on the CView object. Always use one of the appropriate MFC view destructors.

 

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:   DeleteFeatureMgrView 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) 2017 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.