Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 926 Bytes

File metadata and controls

48 lines (37 loc) · 926 Bytes

SetPaletteVisibility

Description

Sets the visibility state of a palette.

PROCEDURE SetPaletteVisibility(
				paletteName : STRING;
				vis         : BOOLEAN);
def vs.SetPaletteVisibility(paletteName, vis):
    return None

Parameters

Name Type Description
paletteName STRING Name of the palette
vis BOOLEAN True if the palette should be visible, false otherwise

Remarks

ptr 23-12-2019 - seems to work only on tool palets. Object Info, Attributes, ... don't react to the command.

Examples

SetPaletteVisibility('Example', TRUE);
import vs

# Sets the visibility state of a palette.
paletteName = 'Example'
vis = True

vs.SetPaletteVisibility(paletteName, vis)

See Also

VS Functions: GetPaletteVisibility

Version

Availability: from VectorWorks10.0

Category