forEachOverride Method

Iterates each override.

forEachOverride(func: (modelId: Id64String, categoryId: Id64String, visible: boolean) => boolean): boolean

Parameter Type Description
func (modelId: Id64String, categoryId: Id64String, visible: boolean) => boolean Accepts the model and category Ids and a boolean indicating if the category is visible. Returns false to terminate iteration or true to continue.

Returns - true if iteration completed; false if the callback requested early termination.

Defined in

Last Updated: 08 January, 2020