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 System.Integer, _
   ByRef ModelPathName As System.String, _
   ByRef CompPathName As System.String, _
   ByRef Feature As System.String, _
   ByRef DataType As System.String, _
   ByRef Status As System.Integer, _
   ByRef RefEntity As System.String, _
   ByRef FeatComp As System.String, _
   ByRef ConfigOption As System.Integer, _
   ByRef ConfigName As System.String _
) 
Visual Basic (Usage) 
Dim instance As IComponent2
Dim NumRefs As System.Integer
Dim ModelPathName As System.String
Dim CompPathName As System.String
Dim Feature As System.String
Dim DataType As System.String
Dim Status As System.Integer
Dim RefEntity As System.String
Dim FeatComp As System.String
Dim ConfigOption As System.Integer
Dim ConfigName As System.String
 
instance.IListExternalFileReferences2(NumRefs, ModelPathName, CompPathName, Feature, DataType, Status, RefEntity, FeatComp, ConfigOption, ConfigName)
C# 
void IListExternalFileReferences2( 
   System.int NumRefs,
   out System.string ModelPathName,
   out System.string CompPathName,
   out System.string Feature,
   out System.string DataType,
   out System.int Status,
   out System.string RefEntity,
   out System.string FeatComp,
   out System.int ConfigOption,
   out System.string ConfigName
)
C++/CLI 
void IListExternalFileReferences2( 
&   System.int NumRefs,
&   [Out] System.String^ ModelPathName,
&   [Out] System.String^ CompPathName,
&   [Out] System.String^ Feature,
&   [Out] System.String^ DataType,
&   [Out] System.int Status,
&   [Out] System.String^ RefEntity,
&   [Out] System.String^ FeatComp,
&   [Out] System.int ConfigOption,
&   [Out] System.String^ ConfigName
) 

Parameters

NumRefs

Number of external references

ModelPathName
  • in-process, unmanaged C++: Pointer to an array of path names of documents of size NumRefs
  • VBA, VB.NET, C#, and C++/CLI: Not supported
CompPathName
  • in-process, unmanaged C++: Pointer to an array of path names of referenced component sof 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) 2019 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.