hm_posteeforentity

Posts a pop-up for a selected entity.

Syntax

hm_posteeforentity entity_type entity_id ?title? ?modal? ?disable_create_edit?

Type

HyperMesh Tcl Query Command

Description

Posts a pop-up for a selected entity.

Inputs

entity_type
The type of entity to post the editor for.
entity_id
The ID of the entity to post the dialog for.
title (optional)
Specifies the title of the dialog. The default title is Entity Editor.
modal (optional)
Specifies whether the dialog is modal (1, default) or not (0).
disable_create_edit (optional)
Specifies whether to disable the Create and Edit context menu items (1) or not (0, default).

Example

To display an Entity Editor for the component with ID 2:

hm_posteeforentity comps 2

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

13.0