poIPart SetVisibility

Sets the part's visibility.

Syntax

poIPart_handle SetVisibility state

Application

HyperView Tcl Modify

Description

This command sets the part's visibility.
Note: Using this command in a loop to hide multiple components, may result in slower perforce. To improve performance, it is recommended that the Mask command be used (in the model handle) with a set ID. See the poIModel Mask topic for additional details and examples.

Inputs

state
True if visible, or false if not.

Errors

Returns 0 if successful, otherwise an error code.