Convert Legacy View Files

The conversion process for legacy view files begins when a user asks to view a CAD Document or Part Item with a related CAD Document Item that includes a legacy view file (HWF). The following figure describes the process.

The existence of an HWF, SCS file determines whether the 3D Viewer can be opened. If 3D Viewer opens up, a button appears on the sidebar enabling users to open the Viewer. If either of these files does not exist, the user is unable to open the 3D Viewer. The Use Legacy 3D View Files setting value of the given Preference Item and the existence of an SCS file determines whether it is necessary to convert the file. If the following conditions exist, an ad hoc, asynchronous conversion process starts:

  • The Use Legacy 3D View Files Preference setting is False.
  • HWF and PRC files exist.
  • An SCS file has not been created previously.

A successful conversion process results in a new file representation that points to the generated SCS and Assembly Tree files. Conversion process errors should be logged. Subsequent attempts to open the same CAD document after a successful conversion result in viewing the generated SCS file.