InterOp:Connect/SolidWorks/SolidWorks Reader

From DocR21

Jump to: navigation, search

The SolidWorks Reader component reads files from SolidWorks. This component is in the form of shared libraries.



InterOp Connect supports translation of the following file formats and versions:

READ
File Format File Extension Version Supported
SolidWorks .sldprt,*.sldasm SolidWorks versions Sw98 to Sw2010

Contents

Features

Features of the SolidWorks Reader include:

  • Support for Reading SolidWorks Assembly and Part Files
  • Support for Part Name in SolidWorks file
  • Support for Multiple Configurations
  • Support for Hidden and Suppressed Entities (for Assemblies)
  • Support for Reading SolidWorks Assembly files when instance files are located in sub-folders
  • Support for Reading SolidWorks Part and Assembly files with localized path and without any locale setting
  • Support for Reading Unit of SolidWorks Part and Assembly files

Options for SolidWorks Reader

Option Default Description
Solidworks.ConfigName none This option controls the SW translation.
AssemblyPathPref 0 This option controls whether to honor the sub-assembly/part located at the sub-folder level or root folder level.

Document

  • Support for Part Name in SolidWorks file
InterOp SolidWorks Reader supports reading part names.

For example, for the entities in the above part (.sldprt), the name "Pillow_block" will be attached as an attribute to the corresponding entity in the destination system.

  • Support for Multiple Configurations
The translator supports reading files with multiple configurations. This feature is available for files from SolidWorks version Sw98Plus to Sw2010. There is no configuration support for version Sw98 and prior releases.

Assembly

  • Support for Reading SolidWorks Assembly and Part Files
The translator supports reading assemblies for the following SolidWorks versions: Sw96, Sw97, Sw97Plus, Sw98, Sw98Plus, Sw99, Sw2000, Sw2001Plus, Sw2003, Sw2004SP01, Sw2005, Sw2006, Sw2007, Sw2008, Sw2009, and Sw2010. The translator can read assembly files. Depending upon the capabilities of the Writer, the assembly will be flattened or written as assembly. In case of translation to ACIS, refer to the ACIS Writer section for further information on name handling.
  • Support for Hidden and Suppressed Entities (for Assemblies)
Support for hidden and suppressed entities has been added for SolidWorks versions Sw2004, Sw2005, Sw2006, Sw2007, Sw2008, Sw2009, and Sw2010 only. Hidden and suppressed attributes are not translated by default. If the options TranslateHiddenEntities and TranslateSuppressedEntities have been set to translate hidden and suppressed attributes, the corresponding parts are translated into ACIS. No attributes are attached to the ACIS entities. For an XML file, strings ".hidden" and ".suppressed" are appended to the corresponding instance names.
  • Support for Reading SolidWorks Assembly Files when Instance Files Are Located in Sub-folders
The Reader supports reading assemblies when instance files are located in sub-folders. Instance files are to be located in the same relative directories as created.
The option AssemblyPathPref controls whether to honor sub-assemblies and parts located in sub-folders; the option accepts values 0 or 1 with the default value set to 0. The default behavior is to honor sub-assemblies and parts located in sub-folders. If any sub-assembly or part is not found at the sub-folder level, then only the root directory will be checked. If the part is available at the root directory, it is translated. When the option is set to 1, all the sub-assemblies and parts will be read only from the root directory (that is, InterOp will not check for sub-assemblies and parts in sub-folders if the option is set to 1).

BRep

The SolidWorks Reader supports reading BRep (topology and geometry) data from SLDPRT files. The SolidWorks Reader supports only Solid data.

Set the "Representation" user option to BRep.

Limitations

The SolidWorks Reader has the following limitations:

  • Limited support for color transfer
Color transfer is supported for versions Sw2004, Sw2005, Sw2006, Sw2007, Sw2008, Sw2009, and Sw2010 only.
  • No support for a color attribute assigned to an instance of a part or assembly
Color information is read only when it is present in the Parasolid data section in the .sldprt file.
  • Limited support for reading units in part or assembly files
Reading unit information from SolidWorks parts or assembly files is only supported for file versions Sw2001 through Sw2010; for earlier versions, the unit is assumed as meter. Also, unsupported units such as feetandinch and angstrom are assumed as meter.
  • No support for assembly features
Only the data in the Parasolid section of a file is read.
  • No support for attributes show, no-show, and hidden for versions prior to Sw2004
Attributes show, no-show, and hidden are supported for versions Sw2004, Sw2005, Sw2006, Sw2007, Sw2008, Sw2009, and Sw2010 only.
  • No configuration support for assemblies and subassemblies for versions prior to Sw98
Configuration support is present for version Sw98Plus through Sw2010 only.
  • No support for writing actual instance names
InterOp does not supports actual instance names for separate parts and subassemblies in XML write.
  • Part configuration support
SolidWorks part files can contain different configurations for the same feature. Each configuration has separate geometry and topology data. The InterOp SolidWorks translator extracts the Parasolid data stored in the ".SLDPRT" file. SolidWorks stores Parasolid data corresponding to each configuration in separate streams of the ".SLDPRT" file. To support reading of configurations, InterOp requires a stream containing Parasolid data of that part configuration. Typically, a SolidWorks part file when re-saved in a higher version, does not contain Parasolid data for all configurations in the file. Hence, InterOp cannot translate these files completely. In such cases, open the part in SolidWorks, activate each configuration, and save the part.
  • No support for translation of hidden and suppressed bodies/features in Part
InterOp Connect does not support translation of hidden and suppressed bodies/features in part.
  • No support for translation of coordinate systems
InterOp does not support translation of coordinate systems.
  • No support for translation of free curves, free points, or work planes
InterOp does not support translation of free curves, free points, or work planes.
Personal tools
Live