Model.ME_ModuleOccurrenceRepresentationReset2#
- Model.ME_ModuleOccurrenceRepresentationReset2(part_entity, udm_rep_ref_id='')#
Resets a representation for a part or part assembly occurrence. UDM representation reference ID can be provided via options.
- Parameters:
part_entity (Entity) – The object describing the part entity for which to reset the representation.
udm_rep_ref_id (hwString) – The optional list of inputs passed as a comma separated string.
Examples#
Reset the representation for part with ID 5#import hm import hm.entities as ent model = hm.Model() model.ME_ModuleOccurrenceRepresentationReset2(part_entity=ent.Part(model, 5))
Reset the representation with UDM representation reference with ID bef0:0 for part ID 5#import hm import hm.entities as ent model = hm.Model() model.ME_ModuleOccurrenceRepresentationReset2( part_entity=ent.Part(model, 5), udm_rep_ref_id="bef0:0" )