SolidWorks data migration

The SolidWorks Data Migration command translates SolidWorks part, assembly, and drawing files to Solid Edge.

The command assumes that SolidWorks version 2010- 2013 is installed on a computer somewhere on your network. On the same machine that contains SolidWorks, all files to be migrated must exist in a shared folder to which you have full control. This folder is known as the SolidWorks Working Folder.

A DCOM application is installed on the same machine as SolidWorks. Commands from the Solid Edge application are issued to the DCOM application that use the automation layer of SolidWorks to export the SolidWorks file to a format that can be consumed by Solid Edge.

The imported data is placed as either synchronous or ordered, depending on the settings on the Helpers page of the Solid Edge Options dialog box.

You can use the Export Drafts as PDF or DXF parameter in the SolidWorks2SE.ini to specify how SolidWorks drawing documents (.slddrw) are migrated to Solid Edge. The values for this parameter are:

Note:

You must set these options prior to migration.

Migrating SolidWorks material definitions to Solid Edge

When you migrate any SolidWorks part file the material definition is extracted. This material is assigned to the Solid Edge document if the material name exists in the Solid Edge Material.mtl file. To ensure that the SolidWorks material name exists in the Solid Edge Material file, Solid Edge provides a tool to convert the SolidWorks.sldmat file to the Solid Edge Material.mtl file.

Note:

The conversion of the SolidWorks Material data base is optional. However, failure to convert the table or an improper setup of either the SolidWorks or Solid Edge material table location results in no material applied to the Solid Edge part files.

The SWmat2SEMat.exe utility is delivered as part of the Server side application but it must be run from the Solid Edge program folder.

Before running the utility, there are a few things to consider:

Migrate SolidWorks material definitions to Solid Edge
  1. From the server side application, copy Solid Edge Data Migration\Component\Program\SWmat2SEMat.exe to the Solid Edge Program folder.

  2. Open a DOS window.

  3. CD to the Solid Edge Program folder.

  4. Run SWmat2SEMat.exe and set the following:

    • Argument 1: Full path and name of the SolidWorks materials.sldmat (in double quotes).

      Example:

      "C:\Program Files\SolidWorks Corp\SolidWorks\lang\english\sldmaterials\solidworks materials.sldmat"

    • Argument 2: Full path and name of the Solid Edge Material.mtl file (in double quotes).

      Example:

      "C:\Program Files\Solid Edge ST6\Preferences\Material.mtl"

As part of the material conversion, Solid Edge also imports and applies the SolidWorks texture map file associated with the material definition.

This texture map file is optional and to use the file in Solid Edge you need to:

  1. Create a SW_textures folder in SE installation path\images\textures.

    Example:

    ""C:\Program Files\Solid Edge ST6\Images\textures\SW_textues""

  2. Copy any SolidWorks texture map files to this folder.

Migrate SolidWorks hole definitions to Solid Edge

When you migrate any SolidWorks part file the hole definitions including thread attributes are migrated.

Solid Edge provides a tool as part of the SolidWorks data migration (server side application) software. This tool converts the SolidWorks hole database (SWBrowser.mdb to a Solid Edge Holes, and pipes.txt files.

  1. Open a DOS window.

  2. CD to the Solid Edge Program folder.

  3. Run SEHolePipeTxtFromSW.exe and set the following:

    • Argument 1: Holes or Pipes (first argument is .txt file containing the hole or pipe information always the first argument.

    • Argument 2: Path and name of the SWBrowser.mdb to be converted (in double quotes).

      Example:

      "C:\Program Files\SolidWorks Corp\SolidWorks\Toolbox\data utilities\lang\English\swbrowser.mdb"

    • Argument 3: Path and name of the Solid Edge text file to be created (must be a unique name for the creation of the file).

    • Argument 4: Units standards such a AI, DIN, and ISO within the SWBrowser.mdb file to be converted).

      The following standards are available:

      Standard

      Input to the conversion utility

      ANSI Inch

      ai

      AMSI Metric

      am

      BSI

      bsi

      DIN

      din

      GB

      gb

      IS

      is

      ISO

      iso

      JIS

      jis

      KIS

      ks

      MIL

      mil

Note:

There are a few things to consider when using the utility:

  • The decimal separator, either a period of comma, is determined by the system locale.

  • After successfully running the utility, ensure that the Location entry for the Holes.txt and Pipe Threads.txt files on the File Locations page of the Solid Edge Options dialog box is correct.

  • There are no Solid Edge dependencies for the utility so you can run the utility from the Solid Edge data migration folder.

  • The creation of hole features and thread attributes assumes that the SolidWorks part files will be migrated to the Solid Edge Synchronous environment.

Migrating SolidWorks mate relationships to Solid Edge

The SolidWorks data migration software supports the following Solid Edge assembly relationships.

SolidWorks

Solid Edge

Comments

Coincident, including Distance Face Normals opposite of each other

Planar Align, including offset

Only face based alignment is supported.

Alignments other than face based are placed as floating including: Base Reference Plane, User Defined Reference Plane, and Edge Based, Sketch, Vertex, and Coordinate System.

Coincident, including Distance Face Normals in the same direction

Planar Mate, including offset

Only face based mates are supported.

Alignments other than face based are placed as floating including: Base Reference Plane, User Defined Reference Plane, and Edge Based, Sketch, Vertex, and Coordinate System.

Concentric

Axial Align

The Axial Align Constrain is always applied with Unlocked Rotation option.

Only surface based element types are supported: Cylinder, Cone, Torus, Sphere, and Spun Surface.

Concentric relationships other than face based are placed as floating including: Edge, Sketches, Points, and Coordinate Systems.

Fixed

Grounded or Fixed

All SolidWorks part components with a fixed property or relationship are grounded in Solid Edge.

Note:

With any SolidWorks mate relationship, other than the four listed in the table, the assembly components are left under constrained.

You can use the Create Assembly Constraints on Migration parameter in the SolidWorks2SE.ini file to apply constraints on each part component in the Solid Edge assembly. The default is 1 which applies a constraint to the components. If you set the parameter to 0 each component in the Solid Edge assembly has a grounded constraint applied.

SolidWorks Family of Assemblies

You can use the Get all Configuration Members parameter in the SolidWorks2SE.ini file to control how assembly configurations are applied as family of assemblies during migration.

The default value for the parameter is 0. When the parameter is set to 0 the migration includes the active configuration for the top level assembly, including all parts and assemblies that are referenced by the configuration. In other words, you get what you see. For each assembly, including the top assembly, with multiple configurations, the configuration name is appended to the file name.

For suppressed parts without a configuration, a Solid Edge part is created with the part occurrence properties set as follows:

When the parameter is set to 1 all SolidWorks assembly configurations are migrated as a Solid Edge family of assemblies.

For SolidWorks family of assemblies configuration names that exceed 31 characters:

Alternate position assemblies are migrated to Solid Edge as a family of assemblies member.

With suppressed configurations or simplifies assemblies, for each suppressed part in the SolidWorks configuration the part is added as an excluded occurrence in a Solid Edge family of assemblies. Suppressed parts in SolidWorks can be optionally added to the bill of materials. However, Solid Edge does not support this concept so the excluded occurrence is not added to the Solid Edge bill of materials.

Relationship suppression is only available for mates, aligns, and axial aligns, including static distance values. If the Create Assembly Constraints on Migration is set to 0, relationship suppression is not available because all parts are grounded. Suppressed relationships that are not included in the SolidWorks configuration, or in an assembly with a single configuration, are imported and suppressed in Solid Edge.

In family of assemblies with different part configurations, for each SolidWorks family of parts all members of the family of parts is created and saved to disk. Part configuration names are appended to the part file name when the part file contains more than one configuration.

Adjustable assemblies are not supported. Speed pack configurations are not migrated. Display states are not translated and all parts are shown when migrated to Solid Edge.

Hole feature recognition

You can use the Create Hole Features on Migration parameter in the SolidWorks2SE.ini file to control how Solid Edge hole features are created during migration.

The default value for the parameter is 1. When the parameter is set to 1 hole features, including thread attributes, are created during the migration. Hole features are only applied to synchronous bodies. No hole feature is created when the migration is targeted for the ordered environment.

Note:

Threaded shaft features are not supported.

When the parameter is set to 0 no hole or thread attributes are captured or applied during migration.

What are you looking for?
How do I
Learn more about