optimizeByPruningTinyGraphics

Syntax

<Path>.optimizeByPruningTinyGraphics(BoundingCubeSideLength:length)

The method optimizeByPruningTinyGraphics optimizes the graphic designated by <Path> by pruning its tiny graphics, i. e., it removes all component graphics which individually fit within the cube designated by the argument.

Note:

The method deactivates graphic inheritance.

Note:

You cannot assign the method when the graphic is an automatically generated graphic group or when the graphic is located in an automatically generated graphic group.

Parameter

The parameter BoundingCubeSizeLength is an array with a single value of data type real. It designates the size of the bounding box.

Example

.Models.Frame._3D.getGraphic("deco",[1]).optimizeByPruningTinyGraphics(0.001)

Related Topics

Optimize Selected Graphic

Step 1: Prune tiny graphics

_3D.getGraphic