*setmarkdisplayattributes

Set the display attributes (wireframe/hidden line, color, etc.) for the entities contained in a mark.

Syntax

*setmarkdisplayattributes entitytype mark style colortype

Type

HyperMesh Tcl Modify

Description

Set the display attributes (wireframe/hidden line, color, etc.) for the entities contained in a mark.

Inputs

entitytype
The type of entity contained in the mark; limited to "components" and "multibodies".
mark
ID of the mark whose display attributes you wish to change.
style
The desired rendering style of the entities:
  • 0 wire frame
  • 1 hidden line
  • 2 hidden line with mesh
  • 3 hidden line with features
  • 4 hidden line, transparent
colortype
Determines how the components are colored.
  • 0 none
  • 1 component color
  • 2 assigned plots
  • 3 contours

Example

To change the attributes of a component named "Front Panel" to hidden line using component color

*createmark(components,1) "Front Panel"
*setmarkdisplayattributes(components,1,1,1)

Errors

None.