Hide Table of Contents
IListExternalFileReferences2 Method (IFeature)

Gets the names and status of the external file references on this model.

.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 IFeature
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 external parts' or assemblies' paths and names of size NumRefs
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • See In-process Methods for details about this type of method.

    CompPathName
    • in-process, unmanaged C++: Pointer to an array of configurations of the referenced components to use for derived parts 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) in the selected part 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
  • See In-process Methods for details about this type of method.

    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; this does not apply to derived parts
    • VBA, VB.NET, C#, and C++/CLI: Not supported
    ConfigOption
    Configuration option as defined by swExternalFileReferencesConfig_e
    ConfigName
    Name of the configuration when ConfigOption is swExternalFileReferencesNamedConfig

    Remarks

    Call IFeature::ListExternalFileReferencesCount before calling this method to determine the size of the arrays.
     

    See Also

    Availability

    SolidWorks 2004 FCS, Revision Number 12.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 (IFeature)
    *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) 2010 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.