get_unit_by_id method

get_unit_by_id(id)

Gets the unit which has the specified id.

Returns

The unit.

def get_unit_by_id(self, id):
    ...
ParameterTypeDescription
idstrUnit id

See Also