Hide Table of Contents
GetUnloadedComponentNames Method (IComponent2)

Gets the component's unloaded children components' path names, referenced configuration names, reasons why they are unloaded, document types, and names.

.NET Syntax

Visual Basic (Declaration) 
Function GetUnloadedComponentNames( _
   ByRef UnloadedComponentPathNames As Object, _
   ByRef UnloadedComponentReferencedConfigurationNames As Object, _
   ByRef ReasonForUnloadingComponents As Object, _
   ByRef DocTypes As Object _
) As Object
Visual Basic (Usage) 
Dim instance As IComponent2
Dim UnloadedComponentPathNames As Object
Dim UnloadedComponentReferencedConfigurationNames As Object
Dim ReasonForUnloadingComponents As Object
Dim DocTypes As Object
Dim value As Object
 
value = instance.GetUnloadedComponentNames(UnloadedComponentPathNames, UnloadedComponentReferencedConfigurationNames, ReasonForUnloadingComponents, DocTypes)
C# 
object GetUnloadedComponentNames( 
   out object UnloadedComponentPathNames,
   out object UnloadedComponentReferencedConfigurationNames,
   out object ReasonForUnloadingComponents,
   out object DocTypes
)
C++/CLI 
Object^ GetUnloadedComponentNames( 
&   [Out] Object^ UnloadedComponentPathNames,
&   [Out] Object^ UnloadedComponentReferencedConfigurationNames,
&   [Out] Object^ ReasonForUnloadingComponents,
&   [Out] Object^ DocTypes
) 

Parameters

UnloadedComponentPathNames
Array of children components' path names
UnloadedComponentReferencedConfigurationNames
Array of children components' referenced configuration names
ReasonForUnloadingComponents
Array indicating the reason each child component is unloaded as defined by swComponentLoadStatus_e
DocTypes
Array of document types as defined in swDocumentTypes_e

Return Value

Array of children components' names

Remarks

This method is useful when the assembly document was opened with Quick View/Selective open.

To get whether a component has hidden or suppressed children components, call IComponent2::HasUnloadedComponents.

 

See Also

Availability

SolidWorks 2009 FCS, Revision Number 17.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:   GetUnloadedComponentNames Method (IComponent2)
*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) 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.