Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

NXOpen access to dialog box fields

Status
Not open for further replies.

mtrent

Mechanical
Joined
Apr 16, 2013
Messages
3
Location
US
I'm trying to access the information in the fields of dialog boxes via NXOpen. As an example if a user starts to create an extrude I want to be able to access the "Start" and "End" distance information any time they change it.

I know I can run functions when the menu button is activated, but before the dialog box opens, so I don't get the info I need that way.

I also know that I can access the finalized extrude information after the dialog box is closed, but this doesn't allow me to get the values as the user changes them.

Any help would be appreciated.
 
Just in case anyone else has a similar issue - After a lot of research, it looks like the only option I see to do something like this I will need to make my own dialog boxes through the Block UI Styler, mimic NX functionality, and then add my own custom code as well. I'd love to be proved incorrect though, as this looks like it would be a huge project if I were to do it for every feature in NX.
 
We're working on a multi-user CAD plugin, and it would be helpful to get some of the data needed to reproduce features on the other clients. In some cases the builder produced from the feature doesn't contain some of the information we need. As an example AssociativeArcBuilder.ZonePoint can't be retrieved from the feature using the associated createBuilder.

It would also be helpful in other ways, allowing us to indicate where the user is working - to prevent two users from each putting their own edge blends on the same edge(s) for example.
 
mtrent said:
We're working on a multi-user CAD plugin...

Sounds like a huge project any way you approach it.
You might have better luck using low level commands to hook into the NX dialog windows. Still a lot of work, and not easy; but probably easier than re-writing the entire NX UI.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top