*ME_ModuleOccurrencesCreateByAssemblyMark
Creates parts and part assemblies for given legacy assemblies.
Syntax
*ME_ModuleOccurrencesCreateByAssemblyMark mark_id ?parent_id=<value>? ?mark_delete=<value>?
Type
HyperMesh Tcl Modify Command
Description
Creates parts and part assemblies for given legacy assemblies, mimicking the assembly hierarchy of the input mark. Each assembly component will be associated to the new parts (using a name based UID rule) and each legacy assembly will be associated to the new part assembly, maintaining a similar hierarchy. Legacy assemblies can be deleted afterwards.
Inputs
- mark_id
- The ID of the mark containing the legacy assemblies. Valid values are 1 and 2.
- parent_id=<value>
- The ID of the parent module (part assembly or root module). The root module is used by default.
- mark_delete=<value>
- The flag to delete the legacy assemblies after migration.
Examples
*createmark assem 1 7 8 9
*ME_ModuleOccurrencesCreateByAssemblyMark 1 parent_id=4 mark_delete=1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022.1