Model.configedit#
- Model.configedit(collection, config)#
Changes the configuration of a selection of elements.
- Parameters:
collection (Collection) β The collection containing the element entities to change the configuration.
config (hwString) β The new configuration name to assign. The new configuration cannot add new nodes.
Example#
Set all plot elements to βbar2β#import hm import hm.entities as ent model = hm.Model() model.configedit( collection=hm.Collection(model, ent.Element, "config=2"), config="bar2" )