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 cowski 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
Joined
Dec 4, 2014
Messages
10
Location
US
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
 
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

Back
Top