Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
liminma8458
620 Views, 4 Replies

About Box Object in API

Hi, all,

Inventor has a Box Object which is a mathematical utility object that represents a rectangular box whose faces are always parallel to the model X Y Z planes. Right now we are using its method such as "Box.contains(...)" for the purpose to identifying whether a part or component is within this box or not, for further processing.

But in many cases, we need some NON-rectangular boxes such as below.

 

So is it possible to define a mathematical boxes (such as adding or deducting some shaped  boxes together) like these and use the mathematical "contains" method?

Capture1.PNG   Capture2.PNG

Thanks
Limin
Inventor pro 2023 64 bit update 2.1; Windows 10 pro 64 bit version 21H2; Office 2013 32 bit