hide_features

Hide the visual of features.

Only the drawing is affected: the shapes the features sit on stay visible and the features keep their effect in the analysis. Visibility is model-wide, so it applies to every stage of the model.

Parameters

features : Feature | list[Feature] | None
Features to hide.

Raises

TypeError
If features is not a Feature or a list/tuple of Features (e.g. a Shape or ShapeList). None is accepted and does nothing.

See also

Examples

load = model.get_surface_load(model.select([2, 4], types='edge'))
model.hide_features(load)
load.hidden
True