Hide Table of Contents
IListExternalFileReferences2 Method (IComponent2)

Gets the names and statuses of the external references on the component.

.NET Syntax

Visual Basic (Declaration) 
Sub IListExternalFileReferences2( _
   ByVal NumRefs As Integer, _
   ByRef ModelPathName As String, _
   ByRef CompPathName As String, _
   ByRef Feature As String, _
   ByRef DataType As String, _
   ByRef Status As Integer, _
   ByRef RefEntity As String, _
   ByRef FeatComp As String, _
   ByRef ConfigOption As Integer, _
   ByRef ConfigName As String _
) 
Visual Basic (Usage) 
Dim instance As IComponent2
Dim NumRefs As Integer
Dim ModelPathName As String
Dim CompPathName As String
Dim Feature As String
Dim DataType As String
Dim Status As Integer
Dim RefEntity As String
Dim FeatComp As String
Dim ConfigOption As Integer
Dim ConfigName As String
 
instance.IListExternalFileReferences2(NumRefs, ModelPathName, CompPathName, Feature, DataType, Status, RefEntity, FeatComp, ConfigOption, ConfigName)
C# 
void IListExternalFileReferences2( 
   int NumRefs,
   out string ModelPathName,
   out string CompPathName,
   out string Feature,
   out string DataType,
   out int Status,
   out string RefEntity,
   out string FeatComp,
   out int ConfigOption,
   out string ConfigName
)
C++/CLI 
void IListExternalFileReferences2( 
&   int NumRefs,
&   [Out] String^ ModelPathName,
&   [Out] String^ CompPathName,
&   [Out] String^ Feature,
&   [Out] String^ DataType,
&   [Out] int Status,
&   [Out] String^ RefEntity,
&   [Out] String^ FeatComp,
&   [Out] int ConfigOption,
&   [Out] String^ ConfigName
) 

Parameters

NumRefs

Number of external references

ModelPathName
  • in-process, unmanaged C++: Pointer to an array of the name and path of the assembly of size NumRefs
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • CompPathName
    • in-process, unmanaged C++: Pointer to an array of the name and path of the referenced component of size NumRefs
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • Feature
    • in-process, unmanaged C++: Pointer to an array of in-context items (sketches, features, and so on) of size NumRefs
    • VBA, VB.NET, C#, and C++/CLI: Not supported
    DataType
    • in-process, unmanaged C+: Pointer to an array of data used to create the items (converted edge or face, converted or offset sketch entity, body, and so on) of size NumRefs
    • VBA, VB.NET, C#, and C++/CLI: Not supported
    Status
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • RefEntity
    • in-process, unmanaged C++: Pointer to an array of actual items being used and the names of the documents that contain the items of size NumRefs
    • VBA, VB.NET, C#, and C++/CLI: Not supported
    FeatComp
    • in-process, unmanaged C++: Pointer to an array of the names of the components in which the affected features exist of size numRefs; this information is only displayed when one or more RefEntity is in a different component in an assembly and does not apply to derived parts
    • VBA, VB.NET, C#, and C++/CLI: Not supported
    ConfigOption

    Configuration options as defined by swExternalFileReferencesConfig_e

    ConfigName

    Name of the configuration when configOption is swExternalFileReferencesNamedConfig

    Remarks

    Before calling this method, call IComponent2::ListExternalFileReferencesCount to get the number of external references for this model.
     

    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:   IListExternalFileReferences2 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.