Working with NX files in QY CAD


QY CAD allows you to work with files created in NX. Before opening a NX file in QY CAD, it is important that you are familiar with the content of the file. For example, you need to know if the file is an assembly or a part because both are opened differently in QY CAD. You should also think about how you want to use these files in QY CAD. If you want to create a model that is associative back to NX, you should use the Part Copy command to insert an associative copy of the NX file.

If the model has no significant value, you can always use the Open command to create a body with no associativity back to the NX file.

Data types QY CAD can read from NX

QY CAD can read the following data types from NX files:

  • solid bodies

  • sheet bodies

  • assembly structure, including occurrence names, occurrence color, and file names.

Note:

QY CAD does not read point and curve data from NX files.

Data types NX can read from QY CAD

NX can read QY CAD solid part models and assemblies.

QY CAD will import all geometry from an NX file, even if the geometry is not visible in NX. This includes geometry that is not displayed in NX, such as objects that are hidden and objects on layers that have display turned off.

To make all geometry visible in NX so you can see what will be imported, follow these steps:

  1. Open the part or assembly in NX.

  2. On the Application menu, click Modeling.

  3. On the Format menu, click Layer Setting.

  4. On the Layers dialog box, select All Layers from the pull-down list.

  5. Select all of the layers in the list.

  6. Click the Selectable button and then click the APPLY button.

  7. On the Edit menu, point to Blank and then click Unblank All of Part to unblank all parts.

  8. For assemblies, change all reference sets to entire part.

  9. Press Ctrl+F to fit the display.

This is the set of geometry that QY CAD will read.

After you determine the geometry that will be transferred, you can count the number of NX bodies.

To do this in NX:

  1. On the Information menu, click Object.

  2. On the Class Selection dialog box, set the Filter Method to Type.

  3. On the Select by Type dialog box, select Solid Body and click the OK button.

  4. On the Class Selection dialog box, click the Select All button.

    You will see a count of the solid bodies at the bottom of the screen.

  5. Repeat these steps for determining the number of sheet bodies in the file.

Note:

When you open the NX file in QY CAD, you should see the same number of Solid Bodies. However, you may see fewer sheet bodies in QY CAD because coincident sheet bodies may be sewn together.

Importing JT files into NX

JT exported from QY CAD can be imported into NX where it is real PMI. The following PMI object types are supported:

  • Datum Feature Symbol (Datum Frame)

  • Datum Target

  • Simple Dimensions

  • Surface Finish Symbol

  • Feature Control Frames

  • Callouts

Opening NX files in QY CAD

NX assembly and part files both have the same extension (.PRT). Because of this, you need to be careful when opening NX files in QY CAD. The steps are slightly different depending on the type of file you are opening.

To open a NX assembly file:

  1. On the File menu, click Open.

  2. On the Open File dialog box, in the Files of Type box, set the document format to NX files (*.PRT).

  3. Select the NX assembly file you want to open.

  4. On the Open File dialog box, click Open.

  5. On the New dialog box, select an assembly template and then click OK.

In most large assemblies, it is unlikely that all of the NX files reside in the same folder as the top-level assembly file. NX creates an external file, load_options.def, which resides in the same folder as the file being opened. The file contains the rules and folders where the NX component files are located and how they are attached to the NX assembly file.

QY CAD uses a similar file during the import operation to locate the NX files. The search_opt.def file resides in the same folder as the NX assembly file being opened. It contains a list of search paths to use when opening the NX files. QY CAD searches through the specified folder and any subfolders. For example, if you want to search the UG Assembly Test folder and all subfolders, the search_opt.def file should contain the entry:

s:\UG Assembly Test\..\

Maintaining associativity when opening an NX assembly file

To maintain an associative link to an NX assembly, the part body must be placed in the Ordered mode and recomputed through an update or change of the NX file. NX part bodies are placed in the Ordered mode automatically regardless of the setting of the Start Part and Sheet Metal documents using this environment option on the Helpers page of the QY CAD Options dialog box..

You can use the CreateAssociativePartsInAssembly parameter in the PSXMT.INI  file to control the associative link to the NX files. The default value is 1, which maintains the associative link.  Set the value to 0 to not maintain an associative link.

There are two ways to open a NX part file in QY CAD:

  • Import the non-associative Parasolid data into QY CAD.

  • Use associative embedding to create a link between the NX file and QY CAD model.

To open a part file non-associatively:

  1. On the File menu, click Open.

  2. On the Open File dialog box, in the Files of Type box, set the document format to NX files (*.PRT).

  3. Select the NX part file you want to open.

  4. On the Open File dialog box, click Open.

  5. On the New dialog box, select a part template and then click OK.

To open a part file associatively:

  1. On the File menu, click New.

  2. On the New dialog box, select a part template and then click OK.

  3. On the Insert menu, click Part Copy.

  4. On the Select Part Copy dialog box, in the Files of Type box, set the document type to NX Part Document (*.PRT).

  5. Select the file you want to insert and then click Open.

Opening files containing multiple bodies

QY CAD allows you to open NX files that contain multiple solid bodies. You can use either a QY CAD assembly or part template when opening the NX file.

If you use a QY CAD assembly template to open a NX file containing multiple solid bodies, you can use the Import Multiple Bodies as a Single Part File parameter, found in the PSXMT.ini file, to specify how the file is opened. If the parameter is set to On, which is the default value, a part file containing multiple construction bodies is created and added to the assembly. If the parameter is set to Off, an individual part file is created for each body contained in the .prt file. A subassembly is then created, to which the individual part files are added.

If you use a QY CAD part template to open a NX file containing multiple bodies, the solid bodies from the NX file are copied into the QY CAD file and added as body features. The default names of the features will be "BodyFeature_n" where n represents the feature number in the QY CAD part.

If you use the Part Copy command to open a NX file containing multiple solid bodies, or a combination of solid bodies and construction elements, each body is copied as a separate part copy feature.

When opening the file through Part Copy, unlike traditional translators such as IGES or STEP, QY CAD does not attempt to stitch surfaces or Boolean solids. All of the bodies in the NX file are shown as construction elements. None are specified as a base feature, but you can use the Make Base Feature command to convert one of the bodies to a base feature. The Make Base Feature command is on the shortcut menu for all construction surface features regardless of how the body is created. The command is not available if the construction surface is not a solid or if a base feature already exists.

When updating a part copy feature, the feature will fail if the corresponding body no longer exists in the NX file. Also, if you add new bodies to the NX file, they are not added to the QY CAD file when you update the part copy features. If you want QY CAD to recognize additions to the NX file, you must do a separate insert part copy operation.

QY CAD determines the out-of-date status for the part copy features based on the NX file and not on the individual bodies. This means the link status will be the same for all part copies within a single NX file.

Updating NX files in QY CAD

When opening updated NX files in QY CAD, the Update Part Copies Dialog box displays.  This dialog box allows you to update out-of-date NX files. You do not have to update out-of-date files when opening them. If you like, you can go back and update them manually.

To manually update a NX file in QY CAD:

  1. In Feature PathFinder, right-click on the link you want to update.

  2. On the shortcut menu, click Update Link.

Note:

The NX file can be open while being updated in QY CAD.

Opening managed NX documents

QY CAD Embedded Client supports interaction with Teamcenter-managed NX documents. The common property dialog boxes in QY CAD are populated with the NX document's property information from Teamcenter. Then when managed QY CAD documents are saved, they are saved into the same Item Revision as the NX document.

When you open an NX managed assembly, QY CAD queries the Teamcenter preference TC_NX_View_Type for product structure expansion and uses the view type specified. A QY CAD structure saved to the same Item Revision as the NX assembly uses the view type specified by the SEEC_Default_View_Type preference. As a result, a single Item Revision can have all the BOM line properties for both QY CAD and NX. In this case, the CAD system that last saved the assembly wrote the BOM causing the other CAD system's data to be out of date. Additionally a single Item Revision could have two separate view types where each CAD system's structure is managed uniquely. This option requires an advanced Structure Manager (formerly Product Structure Editor) license from Teamcenter.

Opening QY CAD files in NX

You can open QY CAD assembly, part, and sheet metal files in NX

  1. In NX, on the File menu, click Open.

  2. Change the Files of Type filter to .ASM, .PAR, or .PSM.

This assigns a NX part name to the QY CAD part. For example, Part1.PAR becomes Part1.PRT. Because of this, you will not be able to open a QY CAD part (.PAR) file if a NX (.PRT) file with the same name already exists.

Note:

You cannot open a QY CAD file that has a disjoint body in NX.

QY CAD and NX version compatibility

The following table lists the version compatibility between QY CAD and NX.

QY CAD Version

NX Version

2022 RTM

NX 1953

2021 MP4

NX1953

2021 MP1

NX1926

2021 MP

2020 MP5

NX 1899

2020 RTM

NX 1876

2019 RTM

NX12

ST10 MP3

NX 12

ST9 MP1

NX 11

ST8 MP11

NX 11

ST7 MP5

NX 10

ST6 MP11

NX 9

ST5 MP2

NX 8.5

ST4 MP7

NX 8

ST3 RTM

NX 7.5

Note:

It is recommended to use the latest maintenance pack of NX and QY CAD because each product has a different delivery schedule and will update the file open tool as required to resolve compatibility as new release become available.  For example, the initial release of NX 9 can open QY CAD ST6 files,  but ST6MP3 is required to open NX 9 files.  Similar situations can occur with NX depending on delivery cycles and dates.