Model.CE_FE_GlobalFlags#
- Model.CE_FE_GlobalFlags(ce_fe_flag, function)#
Set global flags for connectors to perform different operations.
- Parameters:
ce_fe_flag (unsigned int) –
0 - False
1 - True
function (unsigned int) – A function value of (0) sets the global flag to delete FE with connectors. If
ce_fe_flagis true, the realized FE is deleted with connectors. Ifce_fe_flagis false, then only connectors are deleted.
Example#
Set the global flag to delete FE with connectors#import hm import hm.entities as ent model = hm.Model() connection_collector = hm.Collection(model, ent.Connector) model.CE_FE_GlobalFlags(ce_fe_flag=1, function=0) model.deletemark(collection=connection_collector)
Note
When trying to delete FE with connectors, this function needs to be called before the connector delete function.