Is there an equivalent of "Remove Parametrization" from the Python API?
Solved
Python API
-
-
wrote on 9 Aug 2018, 11:29 last edited by
No clue if you still need the answer to this, but a solution is:
import s4l_v1.model as model entities = model.AllEntities() # select the group of coils Coil_Group = entities['COIL 1'] # get the entities of in the group Coils = Coil_Group.Entities # loop over the entities and set the remove only to false # this should be enough to use boolean operations for Coil in Coils: Coil.ReadOnly = False # if you also want to remove the parameters from the coil group Coil_Group.Parameters.Clear()
Cheers ^^