Hide Table of Contents
GetDisplayStateComponentVisibility Method (IConfiguration)

Gets the components and their visibilities in the specified display state.

.NET Syntax

Visual Basic (Declaration) 
Function GetDisplayStateComponentVisibility( _
   ByVal DisplayStateName As System.String, _
   ByVal Onlyhidden As System.Boolean, _
   ByVal ToplevelOnly As System.Boolean, _
   ByRef Components As System.Object _
) As System.Object
Visual Basic (Usage) 
Dim instance As IConfiguration
Dim DisplayStateName As System.String
Dim Onlyhidden As System.Boolean
Dim ToplevelOnly As System.Boolean
Dim Components As System.Object
Dim value As System.Object
 
value = instance.GetDisplayStateComponentVisibility(DisplayStateName, Onlyhidden, ToplevelOnly, Components)
C# 
System.object GetDisplayStateComponentVisibility( 
   System.string DisplayStateName,
   System.bool Onlyhidden,
   System.bool ToplevelOnly,
   out System.object Components
)
C++/CLI 
System.Object^ GetDisplayStateComponentVisibility( 
&   System.String^ DisplayStateName,
&   System.bool Onlyhidden,
&   System.bool ToplevelOnly,
&   [Out] System.Object^ Components
) 

Parameters

DisplayStateName
Name of the display state
Onlyhidden
True to only return visibilities for hidden components, false to return visibilities for all components
ToplevelOnly
True to get the top-level components only, false to get all components
Components
Array of IComponent2s

Return Value

Array of longs or integers indicating component visibilities; 1 if visible, 0 if hidden

Example

 

See Also

Availability

SOLIDWORKS 2015 FCS, Revision Number 23.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:   GetDisplayStateComponentVisibility Method (IConfiguration)
*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) 2018 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.