collection_set = hm.CollectionSet(model)
components_collection = hm.Collection(model, hm.FilterByEnumeration(ent.Component, ids=[]))
collection_set.set(components_collection)
model.isolateonlyentitybymark(collection_set=collection_set)
This is the default code generated by Recording option.
I tried to change it to component Name but it is not working, String, is there an easier way?
I have a list1 = ["CompA", "CompB", "CompC"…]