*displayelementsbypropertybymark

Controls the display of elements that have either a direct, indirect or mixed property assignment for a selection of properties.

Syntax

*displayelementsbypropertybymark mark_id mode type

Type

HyperMesh Tcl Modify

Description

Displays elements that have either a direct, indirect or mixed property assignment for a selection of properties.

Inputs

mark_id
The ID of the mark containing the properties to consider. Valid values are 1 and 2.
mode
The mode to control the element display. Valid values are:
  • on - Turn on the elements.
  • off - Turn off the elements.
  • reverse - Reverse the display of the elements (if off, turn on and if on, turn off).
  • isolate - Isolate the display of the elements (turn off all others).
type
The property assignment type to use for selecting the elements to display. Valid values are:
  • 0 - Direct property assignment.
  • 1 - Indirect property assignment.
  • 2 - Any property assignment.

Example

To turn on the display of all elements with a direct property assignment for properties 1-4:
*createmark props 1 1-4
*displayelementsbypropertybymark 1 on 0

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

11.0