Agenda_webheaderFINAL.jpg

Logical Note Selection Tool in NXOpen & Python 3

Track: NX Product Engineering User Connection

Session Number: 170252
Date: Wed, May 10th, 2017
Time: 3:45 PM - 4:30 PM
Room: 144

Description:

Our site’s Mechanical and Optical Technology department’s Technical Advisory Committee began an effort in 2016 to create a logically-guided note selection tool within NX. The concept was to be a “smarter” replacement for our giant list of standard notes.  Because Python 3.3.2 is now a journaling language as of NX 10, an Opto-Mechanical Engineer was able to do all of the coding herself.  The NX Block UI Styler application was used to create a multi-layered custom dialog box.  A variety of controls were used: checkboxes, drop-down lists, action buttons, text entry fields, groups, tabs, the preview window, etc.  It results in a familiar interface for NX users that “talks” to the Python 3 scripts behind the scenes.  Users answers questions about the drawing type in a dialog box within NX 10.  When triggered by an action button, the appropriate notes are pulled from a central notes database using Python 3 scripts.  Notes are ordered and formatted by Python 3 scripts then placed on the drawing.  Even symbols can be embedded into standard notes and placed on the drawing.  Our Note Builder Tool in NX 10 was implemented at the end of 2016, to great success.

Session Type: Interactive Lecture

Related Industry: All Industries
Learning Objectives: 1. Learn how creating multi-level logic-based dialog boxes in NX Block UI Styler allows for institutional knowledge-transfer to be embedded into your tools.
2. Learn about some of Python 3’s powerful built-in functions to format text, refer to outside data files, perform calculations, handle errors, etc.
3. Learn how to reverse-engineer recorded journal files to understand which NXOpen Python 3 commands and syntax to use to accomplish your goals.
Applicable Software: NX for Design (CAD)
Pre-requisites: None.
Session Type: Interactive Lecture

Related Industry: All Industries
Learning Objectives: 1. Learn how creating multi-level logic-based dialog boxes in NX Block UI Styler allows for institutional knowledge-transfer to be embedded into your tools.
2. Learn about some of Python 3’s powerful built-in functions to format text, refer to outside data files, perform calculations, handle errors, etc.
3. Learn how to reverse-engineer recorded journal files to understand which NXOpen Python 3 commands and syntax to use to accomplish your goals.
Applicable Software: NX for Design (CAD)
Pre-requisites: None.