Gets the names and statuses of the external references on the component.
.NET Syntax
| 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)
|
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
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0