Visible (View)

Description

Sets or returns a Boolean value indicating whether this view is visible (true) or not.

Note: A minimized or collapsed view is still considered Visible.

C# Syntax

    // get accessor
    Boolean rtn = View.Visible;

    // set accessor
    View.Visible = Boolean;

Examples

JScript Example

    /*
       This example demonstrates how to toggle between the
       Toolbar panel and the Palettes panel
    */
    var layout = Desktop.ActiveLayout;
    var t = layout.Views( "Toolbar" );

    if ( t.visible ) {
       t.visible = false;
    } else {
       t.visible = true;
    }

See Also

View.State

Autodesk Softimage v7.5