fitView

Overview

This utility will bring the selected entities to the view area with fit to screen view.

Syntax

InputEntities=[];
simlab.fitView("EntityType", "ModelName", InputEntities);

EntityType

Model/Body/Face/Edge/Node/ShellElement/SolidElement.

InputEntities

Body ["Body 1", "Body 2", "Body 3"].

Face/ Edge/ Node/ShellElement/SolidElement [ Id1, Id2, Id3 ].

User Case

To take a snapshot of the selected entity.

Utility Input/output

Note: To fit the entire model to screen, specify the function as simlab.fitView("Model");

Sample