VS:SetPaletteVisibility

From Vectorworks Developer
Revision as of 16:19, 23 December 2019 by Ptr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

.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]]