Get number of instances of a family that can fit into a rectangular box

Get number of instances of a family that can fit into a rectangular box

Anonymous
Not applicable
427 Views
2 Replies
Message 1 of 3

Get number of instances of a family that can fit into a rectangular box

Anonymous
Not applicable

Hi,

 

I have a specific requirement that i  should be able to get the  number of instances of a specific family of a definite size, that can fit into a rectangular box  whose dimensions we can define according to our requirement. I have no idea on where to start. Kindly reply.

0 Likes
428 Views
2 Replies
Replies (2)
Message 2 of 3

saikat
Autodesk
Autodesk

Hi sabari2504

 

How about calculating the volume of the rectangular box (Vb) and finding the volume of the family instance (Vf) and calculating Vb / Vf. This should give you the number of instances that can fit in the box by volume.

 

cheers



Saikat Bhattacharya
Senior Manager - Technology Consulting
0 Likes
Message 3 of 3

Joe.Ye
Alumni
Alumni
Looks like the filter BoundingBoxIsInsideFilter can help you.
This filter used to match elements with a bounding box that is contained by the given Outline.


Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes