Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

NX1973 Journal Quest

NX1973 Journal Quest

NX1973 Journal Quest

I apologize if this is asking for a difficult one to make. I am hoping if it is a tough one that someone will take it as a challenge. lol I am also hoping someone already has something similar.

We have what is called a Datum File that has multiple files together. There are around 6,000 spheres that are attributed. We need a way to hide and show bodies according to attributes they might have.

This is a list of attributes these bodies might have....


The bodies might have one of these attributes or multiples of them.

When they have the attribute, they seem to always have the value "TRUE". I think it would work if the journal just looked for the attribute itself, but it is possible the value is important.

They would like to have a way to hide all but the ones they want to use, according to these attributes. I would picture having a pop up with this list of attributes and a check box in front of them, so they can just check the ones they want to see, and all others would be hidden.

However, if that is too difficult, if they could even have a drop down list and select only one to show and hide all others, that would work. Check boxes would be awesome, but either would make them happy.

NOTE: This would need to blank bodies in either the current work part or other parts in the assembly.

It would also help if there was an "All" option in case they want to turn them all back on. This is not necessary though, because they can use SHOW ALL. I could just see a time in the future where they might have other things hidden like product or something and they wouldnt want to unhide all.

This list is the attributes the journal would need to search for, but in the check list or drop down, it might be better on their eyes if "USAGE_" would not be there. Just so long as it looked for the correct attributes.

Hope everyone is staying healthy and doing well.

My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.

RE: NX1973 Journal Quest

Are all the solid bodies in one single part file (or) Is it an assembly having different parts with these solid bodies?

RE: NX1973 Journal Quest

Hi Ram K;

Thanks for asking. I was under the wrong impression and your asking made me go double check. I am told that they all reside in the same file. A file called the Total Vehicle Datum File. All the separate files are synced to this one file.

So yes, they all reside in one single file.

My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.

RE: NX1973 Journal Quest

You gotta love when someone doesnt fully explain what they want huh?

Just learned that the list I added is only an example list. There are like 48 different Usages, plus they will be adding more in the future.

If possible, I would ask for room for 60+ or directions how to add more when needed. I will not ask you to type out all the usages. If someone can make the journal so it simply has USAGE-1 USAGE-2 etc... I will go in and change them all.


I think I am seeing how to create this using macros. So if this is a problem, do not worry too much on it. I would much prefer to have a journal version over a macro, but it looks like I can give them something on my own that will at least do the job, if not as nicely done.

My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.

RE: NX1973 Journal Quest

Just an update. We had an old file using a UTD file with macros. I was able to manipulate this to do the job. It is not perfect. It pops up a window with 48 icons in it and they can pick the one they want.

The macros will first Hide all solids and then Show any solids with specific attributes.

The problem is if they hit a button for an area that there are no bodies with that attribute, it will leave the selection window open. When you close it, all bodies will stay hidden and it will not work right again until you unhide at least one body for the macro to have something to hide again.

I am not a fan of Macros as I fear the next update could always break it, but it gets the job done.

A Journal version with a drop down list or check boxes would definitely be cleaner and more trust worthy, but only do it if you want to and have the time, as we do have something that seems to work for now.


My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.

RE: NX1973 Journal Quest

It requires usage of block UIStyler dialog (Attached image) box with NXOpen combination to solve the requirement. Please create a dialog box as per attached image. I am able to solve the requirement with NXOpen C# API.
In case of questions
Ram K

RE: NX1973 Journal Quest

To be honest, I have no idea how to create a dialog box. I will have to look into that.

Looking at the one in the image, it makes me wonder how long it would be if it had 50+ options. Would something like this be hard to create with multiple columns? Likely if I figure out how to make the box I will answer that myself. lol

My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.

RE: NX1973 Journal Quest

I found how to create a dialogue box through the developer tab. However it does not seem we have a license that I can save it or anything.

Also, I messed with it some just for the experience and knowledge and I could not figure out how to do something particular. Because we currently have 48 options and more will be added in the near future, I was curious to create a dialogue box that would give a list of programs (BT1CC, BTIFG, etc...) that will show up collapsed and if you expand them you would get all the options with the check boxes. I could not find a way to create a collapsible list much less how to place toggles inside another option.

But in the end, it wont matter if we dont have the license.

Like I said, what I created does seem to get the job done. It is not optimal, but it works at least. For now. lol

My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.

RE: NX1973 Journal Quest

Ken, I am not able export .dlx file (Dialogue box in the image) from my office network. In case if you want me teach pls contact ramkan8@yahoo.com.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close