Hide Table of Contents
IGetConfigurations Method (IBomFeature)

Gets the configurations available to this BOM table or used in this BOM table.

.NET Syntax

Visual Basic (Declaration) 
Function IGetConfigurations( _
   ByVal OnlyVisible As System.Boolean, _
   ByVal Count As System.Integer, _
   ByRef Visible As System.Boolean _
) As System.String
Visual Basic (Usage) 
Dim instance As IBomFeature
Dim OnlyVisible As System.Boolean
Dim Count As System.Integer
Dim Visible As System.Boolean
Dim value As System.String
 
value = instance.IGetConfigurations(OnlyVisible, Count, Visible)
C# 
System.string IGetConfigurations( 
   System.bool OnlyVisible,
   System.int Count,
   out System.bool Visible
)
C++/CLI 
System.String^ IGetConfigurations( 
&   System.bool OnlyVisible,
&   System.int Count,
&   [Out] System.bool Visible
) 

Parameters

OnlyVisible
True to get the names of configurations currently displayed in this table, false
to get the names of configurations available to this table
Count
Number of items in the Visible and Names arguments
Visible
Array of BOOLEANs indicating the visibility of the configurations

Return Value

  • in-process, unmanaged C++: Pointer to an array of strings of the names of the configurations
  • VBA, VB.NET, C#, and C++/CLI: Not supported

    See In-process Methods for details about this type of method.

  • Remarks

    Although this method works on all styles of BOM tables (top-level only, parts-only, indented subassemblies), it is only necessary for top-level only style tables.  For the other style tables, where only a single configuration is shown at a time, using IBomFeature::Configuration is simpler and more efficient.

    The view associated with this BOM can contain a model with multiple configurations. For a top-level only style BOM table, there can be several Quantity columns, each showing the results for a different configuration.  For the other styles of BOM tables, only a particular configuration can be shown in the table, and that configuration can be changed. To determine the BOM table style, use the IBomFeature::TableType property.

     

    If OnlyVisible is...

    Then Names contains the names of...

    And Visible...

    True

    Only the configurations currently shown in the BOM table.  

    For a top-level only style BOM table, this could be any number of configurations. For the other styles of BOM tables, it is one configuration name.

    Can be passed in as NULL.

    If it is passed in as non-NULL, the array contains True for all items.

    false

    All configurations available.

    Contains BOOLEANs that correspond to each item in Names indicating if that particular configuration is shown in the BOM table or not.

     

    To get the number of configurations, use IBomFeature::GetConfigurationCount.

    To set the configurations, use IBomFeature::ISetConfigurations.

     

    See Also

    Availability

    SolidWorks 2004 FCS, Revision Number 12


    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:   IGetConfigurations Method (IBomFeature)
    *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) 2014 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.