Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Get bounding box / AABB from model in NXOpen c++

Status
Not open for further replies.

js1498

Computer
Dec 4, 2014
10
I'm trying to grab a minimum bounding box / AABB for models loaded in NX using NXOpen and c++. I'm having a very hard time finding documentation for NXOpen, does anyone know how to do this?

Thanks
 
Replies continue below

Recommended for you

The NX help is a separate install from NX; when you install the help docs, make sure to check the option for the programming docs (they are not installed by default). Now, start the NX help and go to the "programming tools" -> NXOpen -> Open for C/C++.

Also, GTAC has a lot of code examples to look through; go to:
(you will probably need a WebKey to log in) and start searching.

www.nxjournaling.com
 
In C++ code, call UF_MODL_ask_bounding_box.

In VB or C#, you can use the SNAP property myThing.Box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor