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 String, _
   ByVal componentLibraryFilename As String, _
   ByVal cableWireLibraryFileName As String, _
   ByVal useExistingAssembly As Boolean, _
   ByVal overwriteData As Boolean, _
   ByVal searchAllSubAssemblies As Boolean _
) As Boolean
Visual Basic (Usage) 
Dim instance As IRouteManager
Dim fromtoListFileName As String
Dim componentLibraryFilename As String
Dim cableWireLibraryFileName As String
Dim useExistingAssembly As Boolean
Dim overwriteData As Boolean
Dim searchAllSubAssemblies As Boolean
Dim value As Boolean
 
value = instance.ImportFromToList(fromtoListFileName, componentLibraryFilename, cableWireLibraryFileName, useExistingAssembly, overwriteData, searchAllSubAssemblies)
C# 
bool ImportFromToList( 
   string fromtoListFileName,
   string componentLibraryFilename,
   string cableWireLibraryFileName,
   bool useExistingAssembly,
   bool overwriteData,
   bool searchAllSubAssemblies
)
C++/CLI 
bool ImportFromToList( 
&   String^ fromtoListFileName,
&   String^ componentLibraryFilename,
&   String^ cableWireLibraryFileName,
&   bool useExistingAssembly,
&   bool overwriteData,
&   bool searchAllSubAssemblies
) 

Parameters

fromtoListFileName
Pathname of the Excel file (*.xls) 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 API:

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

See Also

Availability

SolidWorks 2011 FCS, Revision Number 19.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:   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) 2011 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.