Hide Table of Contents
IListExternalFileReferences2 Method (IFeature)

Gets the names and statuses of the external references for the feature in a part or assembly.

.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 IFeature
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 the path and name of the part or assembly of size NumRefs
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • CompPathName
    • in-process, unmanaged C++: Pointer to an array of the the name and path of the referenced part or 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 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) 2013 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.