hm_defaultstatus

Returns the default status of an attribute.

Syntax

hm_defaultstatus entity_type entity_name_or_id attribute_name searchType

Type

HyperMesh Tcl Query Command

Description

Returns the default status of an attribute.

Inputs

entity_type
The type of the queried entity.
entity_name_or_id
The name or ID of the queried entity.
attribute_name
The name of the attribute.
searchType
By default, HyperMesh searches for entities by name, and if the name is not found, it then searches by ID. This option allows you to specify how the search for an entity should be conducted. The two options are:
-byname: search only by name
-byid: search only by ID

Example

If the attribute is set to the default value (grayed out in the card previewer), the function returns 1; otherwise, it returns 0.

Errors

None.