MCRPackingBoxTable::getSmallestAccomodatingBox Method
Gets the smallest active box that accomodates the volume, weight, and maximum length specified.
Syntax
client server public static MCRPackingBoxTable getSmallestAccomodatingBox(
real _volume,
real _weight,
real _lengthShortest,
real _lengthMiddle,
real _lengthLongest)
Run On
Called
Parameters
- _volume
Type: real
The designated volume.
- _weight
Type: real
The designated weight.
- _lengthShortest
Type: real
The shortest length.
- _lengthMiddle
Type: real
The middle length.
- _lengthLongest
Type: real
The longest length.
Return Value
Type: MCRPackingBoxTable Table
The smallest available box.