Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by erpj

  1. erpj

    Get graphics window corner coordinates

    Hi, Is there a way to obtain the corner coordinates of the currently displayed graphics window through NXOpen? I am working on a journal to automate the insertion of a PMI note in the graphic window and would like the note to be as close as possible to the corner (after a view fit). Thanks...
  2. erpj

    Non updating and out of date reference attributes / expression

    Hi, We are using a custom attribute in our parts "DB_SUPPLIER_NO" that is supposed to always be linked the a part "DB_PART_NO" attribute (effectively its unique ID number). However, when we rename the part through Teamcenter (changing its ID), the custom linked attribute does not update. When...
  3. erpj

    Male threads in part families

    thread561-395627 Hi need to build a part family of male threaded part and stumbled on this post from John however the link does not work anymore. Would someone still have this example? Etienne NX8.5.3.3 + TC9.1.2.2
  4. erpj

    Attribute updated by journal, how to control the context? (ObjectOptions is obsolete)

    Hi Everyone, A lot of my journals use the "AttributePropertiesBaseBuilder.ObjectOptions" Enumeration to define in which context the attribute will be created. However, it appears that starting from NX8.5 this Enumeration is obsolete. The help documentation says: ("Deprecated in NX8.5.0. Use...
  5. erpj

    Auto generate model screenshots with journal

    Thank you fo your suggestion cowski, unfortunately it didn't work. I tried adding a timer to pause the execution of the script, but it seems to also stop the execution in NX.. 'pause execution Threading.Thread.Sleep(2500) 'other display update functions (that also don't work)...
  6. erpj

    Auto generate model screenshots with journal

    Hi everyone, I'm trying to generate multiple screenshots of an assembly by rotating it around the Y axis and invoking the CreateImage method. The script works, however, I cannot figure out how to update the display to redraw the model edges after each rotation. After each rotation, the image is...
  7. erpj

    Updating part feature while parent assembly is opened is incredibly slow

    Hi everyone, I have to manage a very large assembly on which multiple designers are working concurrently (each has its own subassembly). However, I often need to dig in some specific components to modify some features. However when I try to let's say double-click a hole to modify its size, NX...
  8. erpj

    How to stop lines from showing through shaded geometry in a drawing view?

    Wow thank you Tomas, it worked flawlessly! Etienne NX8.5.3.3 + TC9.1.2.2
  9. erpj

    How to stop lines from showing through shaded geometry in a drawing view?

    Hi everyone, I am trying to create an isometric view of a new test chamber with the 2D surrounding floor layout. However, when the view is created, some floor layout lines remain visible through the shaded geometry even if the view style "fully shaded" is selected. Is there a setting that...
  10. erpj

    vb journal: Picking an element from a listbox

    Hi everyone, I am a trying to create a prompt in a journal that would suggest multiple materials in a list window and ask the user to pick one (and then subsequently apply it to multiple components) However, I really don't know where to start to implement the listbox feature. I tried some code...
  11. erpj

    Quickly copy measure result to clipboard

    Wow thank you Cowski! This is genius! Etienne NX8.5.3.3 + TC9.1.2.2
  12. erpj

    Quickly copy measure result to clipboard

    Hi, Would anyone be aware of a way (journal, nxopen) to quickly access the result of a measurement (distance, angle, etc.) and put it in the clipboard. Currently I can expand the "measure" window, then click on "show information window" and select the result with the mouse cursor, but this...
  13. erpj

    Highlighting/selecting a component during journal operation

    Wow thank you cowski for your helpful reply! It's almost working, I can highlight each part while the attribute is being edited. However, for the first iteration everything selected stays highlighted. Is there a dumpSelection method or something that would perform the same function? Etienne...
  14. erpj

    Highlighting/selecting a component during journal operation

    Sorry I realized my signature was wrong after I posted. I'm running NX8.5.3.3 thru teamcenter 9. Etienne NX8.5.3.3 + TC9.1.2.2
  15. erpj

    Highlighting/selecting a component during journal operation

    Hi everyone, I wrote a journal (mainly by combining bits and pieces on this very forum) that creates a "START" attribute for each selected component in an assembly. My problem is that my journal does not show any visual cue of what component is having its start attribute created/modified while...

Part and Inventory Search