*ME_ModuleOccurrencesCreateByComponentMark
Moves a list of components underneath newly created parts for each component in the model hierarchy.
Syntax
*ME_ModuleOccurrencesCreateByComponentMark mark_id parent_id=<value>
Type
HyperMesh Tcl Modify Command
Description
Moves a list of components in the mark to the new parts created under the parent assembly in the model hierarchy. It will also move the connected components to the newly created parts. If the connected components have a part associated, then it will move the components to the existing part.
Inputs
- mark_id
- The ID of the mark containing the components to move. Valid values are 1 and 2.
- parent_id
- The ID of the part assembly to become the parent of the new parts created.
Examples
*createmark comps 1 100 101 102
*ME_ModuleOccurrencesCreateByComponentMark 1 parent_id=8
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2023