Model.hm_ce_checkprojection#
- Model.hm_ce_checkprojection(ce_collection, tolerance)#
Checks if the connectors make projection. Returns the failed connector IDs.
- Parameters:
ce_collection (Collection) – The collection containing the connector entities.
tolerance (double) – Tolerance value.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:failedConnectors (EntityList)
Example#
Check if the entities to connect can be found in the specified tolerance range#import hm import hm.entities as ent model = hm.Model() ce = hm.CollectionByDisplayed(model, ent.Connector) _, result = model.hm_ce_checkprojection( ce_collection=ce, tolerance=8.0 )