NXOpen.UF.Disp.ComputeModelBounds

Disp.ComputeModelBounds()

Refer to UF_DISP_compute_model_bounds for documentation.

Signature: ComputeModelBounds()

Returns:A Tuple
Return type:A tuple consisting of (boundsComputed,modelBounds)

boundsComputed(bool): TRUE if there are some displayableobjects in the work part, so that normal model bounds were computed. FALSE if the work part has no displayable objects

modelBounds(list of float): The model bounds for the work part. This is a box in absolute space, whose sides are parallel to the axes of the absolute coordinate system. The six values of the array are the Minimum_X, Maximum_X, Minimum_Y, Maximum_Y, Minimum_Z and Maximum_Z of the box. If bounds_computed is FALSE, default bounds are returned. The default bounds are roughly the size of the current graphics window.

License requirements: None