Hide Table of Contents
IListExternalFileReferences Method (IModelDocExtension)

Gets the names and statuses of the external file references on the part.

.NET Syntax

Visual Basic (Declaration) 
Sub IListExternalFileReferences( _
   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 IModelDocExtension
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.IListExternalFileReferences(NumRefs, ModelPathName, CompPathName, Feature, DataType, Status, RefEntity, FeatComp, ConfigOption, ConfigName)
C# 
void IListExternalFileReferences( 
   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 IListExternalFileReferences( 
&   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 the path and name of the part of size NumRefs
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • CompPathName
    • in-process, unmanaged C++: Pointer to an array of the path and name 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 the type 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++: Applies to an assemblies only; 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

    Before calling this method, call IModelDocExtension::ListExternalFileReferencesCount.

     

    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:   IListExternalFileReferences Method (IModelDocExtension)
    *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) 2017 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.