What is more Precise about PreciseRangeBox compared to RangeBox?

What is more Precise about PreciseRangeBox compared to RangeBox?

Josh_Hunt
Advocate Advocate
449 Views
2 Replies
Message 1 of 3

What is more Precise about PreciseRangeBox compared to RangeBox?

Josh_Hunt
Advocate
Advocate

Does anyone know what is different about PreciseRangeBox compared to RangeBox?

Can Autodesk improve the API documentation to explain better?

I thought Inventor API was already accurate to 8 place centimeters. How much more precise? 

Does PreciseRangeBox exclude certain objects (work points, planes, axes)?

 

2023 API What's New: Item 9

API Help PartComponentDefinition.PreciseRangeBox 

Josh Hunt
Accepted solutions (1)
450 Views
2 Replies
Replies (2)
Message 2 of 3

MjDeck
Autodesk
Autodesk
Accepted solution

How much more precise it is depends on the geometry. If the faces at minimum and maximum are all planar and aligned to the axes, then RangeBox should be the same as PreciseRangeBox.
Here's a part with a spline face. It has an iLogic rule to compare the results. (Use View > Windows > User Interface dropdown and check the iLogic Log box to see the output of this rule.)

Yes, PreciseRangeBox excludes work points, planes, and axes. The only things it includes are solid and surface bodies.

Another place where it can be more accurate is parts placed in assemblies.


Mike Deck
Software Developer
Autodesk, Inc.

Message 3 of 3

Josh_Hunt
Advocate
Advocate

@MjDeck wrote:

Yes, PreciseRangeBox excludes work points, planes, and axes. The only things it includes are solid and surface bodies.


That is great! I have done a lot of work to make sure work features were invisible to get a desired rangebox.

 

Thanks for the clarification. Please pass that on to team writing the XML documentation.

Josh Hunt