Cancel
Showing results for 
Search instead for 
Did you mean: 

Recommended best practice guides

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

We are planning to migrate from NX 10.0.3 to NX 12.0 with Teamcenter 10.1.7 in the near future.

Since the NX documentation and the Teamcenter documentation are really thin about best practice on setting up Teamcenter integration for NX, I would like to know if there are any better best practice guides for this.

For example, the template sets have been moved to PAX files in NX 10, but that was nowhere mentioned.

In addition how would one use the template import utility with custom templates, since there is nothing covering this work-flow too.

Thanks in advance for more light on the subject of Teamcenter integration for NX.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong ;)
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
10 REPLIES

Re: Recommended best practice guides

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
PAX files have been around since NX5. The docs are pretty good about explaining how to modify a PAX file to include your custom Item types and template files...
https://docs.plm.automation.siemens.com/tdoc/nx/12/nx_help#uid:index_tcint:id1299958:xid1130165:id12...
https://docs.plm.automation.siemens.com/tdoc/nx/12/nx_help#uid:index_tcint:id1299958:xid1130165:id12...

There is no need to store PAX files (themselves) in Tc which increases the administrative overhead. But you do have that capability if desired.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Recommended best practice guides

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Sure I know about this ancient descriptions, but if you take a look at the file "C:\Program Files\Siemens\NX 12.0\UGII\templates\sample\nxdm_ugs_manufacturing_templates_sample.pax", you will notice that there are many new attributes that are not described in the NX documentation.

See the first entry:

    <PaletteEntry id="d1">
        <References/>
        <Presentation name="General Setup" description="NX CAM General Setup">
            <PreviewImage type="UGPart" location="${UGII_CAM_TEMPLATE_PART_ENGLISH_DIR}mill_planar_assy.jpg"/>
        </Presentation>
        <ObjectData class="CamTemplate">
            <Filename>@DB/mill_planar_assy_inch_NX10/A</Filename>
            <Configuration>${UGII_CAM_CONFIG_DIR}cam_part_planner_library.dat</Configuration>
            <LibraryClassPath>SETUP_TEMPLATE;GENERAL</LibraryClassPath>
            <Units>English</Units>
            <UsesMasterModel>Yes</UsesMasterModel>
            <ItemType>MENCMachining</ItemType>
            <RelationType>master</RelationType>
            <FileNew>Yes</FileNew>
            <Libref> 002</Libref>
            <TemplateClass>0100</TemplateClass>
            <TypeTemplates> @DB/mill_planar_inch_NX10/A @DB/mill_contour_inch_NX10/A @DB/mill_multi-axis_inch_NX10/A @DB/mill_multi_blade_inch_NX10/A @DB/mill_rotary_inch_NX10/A @DB/hole_making_inch_NX10/A @DB/drill_inch_NX10/A @DB/turning_inch_NX10/A @DB/wire_edm_inch_NX10/A @DB/probing_inch_NX10/A @DB/solid_tool_inch_NX10/A @DB/machining_knowledge_inch_NX10/A</TypeTemplates>
            <TemplateDescription> General Assembly </TemplateDescription>
        </ObjectData>
    </PaletteEntry>

Now check out the same entry of the file "C:\Program Files\Siemens\NX 12.0\MACH\templates\nxdm_ugs_manufacturing_templates.pax", which is the out-of-the-box used template definition.

See the corresponding entry to the one shown above:

    <PaletteEntry id="d1">
        <References/>
        <Presentation name="General Setup" description="NX CAM General Setup">
            <PreviewImage type="UGPart" location="${UGII_CAM_TEMPLATE_PART_ENGLISH_DIR}mill_planar_assy.jpg"/>
        </Presentation>
        <ObjectData class="CamTemplate">
            <Filename>@DB/mill_planar_assy_inch/A</Filename>
            <Configuration>${UGII_CAM_CONFIG_DIR}cam_part_planner_library.dat</Configuration>
            <LibraryClassPath>SETUP_TEMPLATE;GENERAL</LibraryClassPath>
            <Units>English</Units>
            <UsesMasterModel>Yes</UsesMasterModel>
            <ItemType>MENCMachining</ItemType>
            <RelationType>master</RelationType>
        </ObjectData>
    </PaletteEntry>

The new template file contains five additional attributes that are not described anywhere.

I am tiered of running in circles searching for any information regarding setting up the NX environment using the latest standards.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong ;)
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: Recommended best practice guides

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
The CAM sample contain entries for Classification. Unless you have Classification implemented and need your CAM setup templates classified, I suggest sticking with the non-sample PAX files as described in the documentation links provided earlier. You are always welcome to vent your frustration on GTAC since you pay maintenance.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Recommended best practice guides

Legend
Legend

in conformity with CAM templates and pax file - If you plan to create CAM template (templates in Manufacturing Tab) you need to run tcin_cam_setup_template.bat to update CAM templates in DB to NX10 version if you didnt that yet,and tcin_cam_setup_template set up MENCMachining item type as default for CAM template that you add in pax file.

Re: Recommended best practice guides

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Thanks, I know that utility and I am using it for each release.

I am more interested in things that you cannot find in the NX and Teamcenter documentation.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong ;)
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: Recommended best practice guides

Valued Contributor
Valued Contributor

How can set TC, so when I create a new model in NX the item revision already contains the drawing as the template item do? Thanks

Re: Recommended best practice guides

Legend
Legend

@Javiduc wrote:

How can set TC, so when I create a new model in NX the item revision already contains the drawing as the template item do? Thanks


Configure pax file for using drawing templates. Read posts above where described configuring pax files

Re: Recommended best practice guides

Valued Contributor
Valued Contributor

Thank you Alex, As far as I understand I can configure pax to using drawing templates when creating a new drawing. It is goog but,if it is possible I would like to create the drawing at the same time I create the model. The reason is that we have various different templates stored as items that already contains both model and drawing with views of dimensions for each its model. So I would like to avoid users to have to select the proper drawing for the each model and avoid spending time and maybe make mistakes. 

Re: Recommended best practice guides

Valued Contributor
Valued Contributor

Trying to create the pax file to point to drawing templates. I tried to follow the sintaxis indicated in post above, but as I have two dataset inside the revision I am pointing I cant achieve to retrieve the drawing template I always get the master dataset or none. The master dataset is called for example "1234-A" and the drawing (specification) dataset is called "1234-A-dwg1" if I set filename as "1234/A" i get the model if I try anything else in order to get the 1234-A-dwg1 file I get nothing. How can I solve it ? thanks.