Hide Table of Contents
ImportFromToList Method (IRouteManager)

Imports electrical connection data (guidelines) using the specified from-to list.

.NET Syntax

Visual Basic (Declaration) 
Function ImportFromToList( _
   ByVal fromtoListFileName As System.String, _
   ByVal componentLibraryFilename As System.String, _
   ByVal cableWireLibraryFileName As System.String, _
   ByVal useExistingAssembly As System.Boolean, _
   ByVal overwriteData As System.Boolean, _
   ByVal searchAllSubAssemblies As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IRouteManager
Dim fromtoListFileName As System.String
Dim componentLibraryFilename As System.String
Dim cableWireLibraryFileName As System.String
Dim useExistingAssembly As System.Boolean
Dim overwriteData As System.Boolean
Dim searchAllSubAssemblies As System.Boolean
Dim value As System.Boolean
 
value = instance.ImportFromToList(fromtoListFileName, componentLibraryFilename, cableWireLibraryFileName, useExistingAssembly, overwriteData, searchAllSubAssemblies)
C# 
System.bool ImportFromToList( 
   System.string fromtoListFileName,
   System.string componentLibraryFilename,
   System.string cableWireLibraryFileName,
   System.bool useExistingAssembly,
   System.bool overwriteData,
   System.bool searchAllSubAssemblies
)
C++/CLI 
System.bool ImportFromToList( 
&   System.String^ fromtoListFileName,
&   System.String^ componentLibraryFilename,
&   System.String^ cableWireLibraryFileName,
&   System.bool useExistingAssembly,
&   System.bool overwriteData,
&   System.bool searchAllSubAssemblies
) 

Parameters

fromtoListFileName
Pathname of the Excel file (*.xlsx) containing the from-to list
componentLibraryFilename

Pathname of a SOLIDWORKS component library in XML format

cableWireLibraryFileName

Pathname of a SOLIDWORKS cable/wire library in XML format

useExistingAssembly
True to use an existing assembly, false to start a new assembly
overwriteData
True to overwrite data, false to insert data; applies only if useExistingAssembly = true
searchAllSubAssemblies
True to search all sub-assemblies for pre-placed connectors, false to not

Return Value

True if successful, false if not

Example

Remarks

Before calling this method:

  1. In the FeatureManager design tree, select the assembly that contains the route to which to add guidelines.
  2. Call IRouteManager::EditRoute.
 

See Also

Availability

SOLIDWORKS Routing 2011 FCS


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:   ImportFromToList Method (IRouteManager)
*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) 2021 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.