VS:SetPaletteVisibility

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Sets the visibility state of a palette.

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

Parameters

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.

Version

Availability: from VectorWorks10.0

See Also

VS Functions:

VS:GetPaletteVisibility

VS Functions: [[VS:GetPaletteVisibility]]