Hide Table of Contents
Show2 Method (IPropertyManagerPage2)

Shows the PropertyManager page.

.NET Syntax

Visual Basic (Declaration) 
Function Show2( _
   ByVal Options As Integer _
) As Integer
Visual Basic (Usage) 
Dim instance As IPropertyManagerPage2
Dim Options As Integer
Dim value As Integer
value = instance.Show2(Options)
int Show2( 
   int Options
int Show2( 
&   int Options



Options as defined in swPropertyManagerPageShowOptions_e

Return Value

Status as defined by swPropertyManagerPageStatus_e



If another PropertyManager page is already displayed and that page is receptive to being stacked upon, then setting swPropertyManagerPageShowOptions_e to swPropertyManagerPageShowOptions_StackPage will stack your PropertyManager page on it. When the user closes your PropertyManager page, the previous PropertyManager page is shown automatically.


NOTE: Typically SolidWorks does not stack PropertyManager pages, and in the couple instances where SolidWorks does, it is an agreement between the PropertyManager pages. The first PropertyManager page agrees that it can be stacked upon and allows the other known PropertyManager page to stack upon it. The mechanism is not a case of one PropertyManager page allowing any other generic PropertyManager page to be stacked upon it. It is assumed that the two pages are in agreement about what is going on and deal with it.

Using the API to stack ProertyManager pages is the same -- an add-in is the owner of both PropertyManager pages and knows what is going on and deals with it.  The concept of an API PropertyManager page wanting to know if it can stack upon the currently displayed PropertyManager page, whatever it might be, does not work because of the assumption that the first API PropertyManager page has knowledge of and allows another API PropertyManager page to stack on it.


If the PropertyManager page is locked, then stacking PropertyManager pages is not allowed. A PropertyManager page is locked if the Options argument of ISldWorks::CreatePropertyManagerPage or ISldWorks::ICreatePropertyManagerPage was set to swPropertyManagerOptions_LockedPage when the PropertyManager page was created.


See Also


SolidWorks 2007 FCS, Revision Number 15.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

Subject:   Feedback on Help Topics
Page:   Show2 Method (IPropertyManagerPage2)
*   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:


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

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.