*copytoclipboard
Copies entities to the HyperMesh clipboard.
Syntax
*copytoclipboard mark=<value> ?<option1>=<value1>? ?<option2>=<value2>? … ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Copies entities to the HyperMesh clipboard.
Inputs
- mark=<value>
- The ID of the mark containing entities to be copied. Valid values are 1 and 2.
- componentrule=<value>
- The rule for components.
- holderrule=<value>
- The rule for entities that contain other entities.
- includefileids=<value>
- The ID or the list of IDs of include files to be explicitly copied together with their related entities. If this argument is present, includefilerule is ignored.
- includefilerule=<value>
- The rule for include files.
- referencerule=<value>
- The rule for references.
Example
To copy all entities in mark to clipboard with component option only FE, copy references, ignore include files and enforce all the holderrule options:
*copytoclipboard mark=1 componentrule=FE referencerule=COPY includefilerule=IGNORE holderrule=ALL
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
2022.1
2024 - Removed holderrule option value CONNECTORGROUP.