*modent_instancessynccontents

Synchronizes the contents of instanced subsystems from a source subsystem to target instances.

Syntax

*modent_instancessynccontents entity_type entity_id ?targetMark=<mark_id>?

Type

HyperMesh Tcl Modify Command

Description

Synchronizes the contents of instanced subsystems. This command updates the contents of target instanced subsystems to match the contents of the source subsystem, ensuring all instances have synchronized content. This is useful when modifications are made to one instance and need to be propagated to other instances.

Inputs

entity_type
The type of entity to synchronize instances. Currently supported for subsystems.
entity_id
The ID of the source subsystem whose contents will be used to synchronize other instances.
targetMark=<mark_id>
The ID of the mark containing the target instanced subsystems to sync. If not specified, all instances of the same prototype will be synced.

Examples

To synchronize all instances of the same prototype as subsystem ID 101:
*modent_instancessynccontents subsystems 101
To synchronize only specific target subsytem instances with ID 102, 103, 104 based on the subsystem ID 101:
*createmark subsystems 1 102 103 104
*modent_instancessynccontents subsystems 101 targetMark=1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2026