Create A Node

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

hi,

Does anyone know how to create a node in hypermesh using tcl?

In macro, i use something like *createnode(1,1,1,0,0,0) in macro to create a node. But have no idea on how to do it in tcl.

Any idea?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2008

    You can basically use any 'macro' command in TCL, plus all the TCL commands for loops, logic, file management, etc. The main difference is for TCL, you have to remove all the parentheses and commas between data fields. To create a node in TCL, you would enter

    *createnode 1 1 1 0 0 0
    Have a look in the online help for HyperMesh - Reference Guide, Utility Menu and Tcl/Tk, Programming HyperMesh with Tcl/Tk for more info.

    Cheers,

    Eric

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2008

    Thanks.