setVisibility()

Set the visibility of an actor.

Usage

actor.setVisibility( visibility = 'on' )

Parameters

visibility (string)
Visibility value.

Return Value

None

Errors

visibility must be on or off.

Description

This routine sets the visibility value of an actor. For example,
fan = vis.getSrfActor( "impeller" )
fan.setVisibility( "off" )