Model.ME_ModuleOccurrenceCreateForInstance#

Model.ME_ModuleOccurrenceCreateForInstance(new_occ_name, parent_id, instance_name, structural_type='', static_behavior=True)#

Creates a module part or part assembly.

Parameters:
  • new_occ_name (hwString) – nan

  • parent_id (unsigned int) – The ID of the module part or part assembly you wish to make this module a child of. If not specified, the new module is placed underneath the root model module.

  • instance_name (hwString) – nan

  • structural_type (hwString) – part or assembly. A part is the default if not specified, and can coverts to a part assembly. A part assembly cannot be converted to a part.

  • static_behavior (bool) – nan