Hello:<br><br>I have two questions:<br><br>1. Is there a general way to get all entities with a particular tag applied? I've seen get_entities_by_type_and_tag, so I guess one could repeatedly call this function with each entity type. I've also seen get_entities_by_handle which would give all entities in a range. Is there a way to filter the range by tag?<br>
<br><br>2. Is there a way to check if an entity has a particular tag applied? Right now, I am calling tag_get_data then checking if moab::MB_TAG_NOT_FOUND is returned. Is this the proper thing to do? My understanding is the same error code is returned if the tag itself does not exist (i.e. an invalid tag handle is passed in)...<br>
<br>Thanks<br>Milad<br>