find_top

Icepak.find_top(gravityDir)[source]

Find the top location of the layout given a gravity.

Parameters
gravityDir

Gravity direction from -X to +Z. Choices are 0 to 5.

Returns
float

Top position.

References

>>> oEditor.GetModelBoundingBox