RVTDocs.com

FabricationService.IsValidButtonIndex

Method
Description:
Validates the button index.
Syntax
public bool IsValidButtonIndex(
	int paletteIndex,
	int buttonIndex
)
Parameters
Parameter Type Description
paletteIndex Int32 The palette index.
buttonIndex Int32 The button index to check.
Return Value
Type Description
Boolean True if larger or equal to 0 and less than PaletteCount.