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...
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...
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
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...
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)...
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...
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...
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...
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...
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...
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...
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...