Renumbering in HyperMesh using TCL Script.
Altair Forum User
Altair Employee
hi,
I want to renumber all the nodes,elements and Components with starting number ' i ', using tcl script.
This starting number ' i ' will change file to file. So now i want to give that ' i ' value as a Input
before running the macro.
Please help me if any Know this.
Regards
Sudhakar Donepudi.
0
Answers
-
Here is simple code to renumber all nodes/elements from 1 :
*createmark elements 1 'all'
*renumbersolverid elements 1 1 1 0 0 0 0 0
hm_markclear elements 1
*createmark nodes 1 'all'
*renumbersolverid nodes 1 1 1 0 0 0 0 0
hm_markclear nodes 1Have a look at '*renumbersolverid' help page and you can modify easily to fit your need.
0 -
Hi
Can anybody help me out how to use if conditional statement over a complist
like, I made a script for renumbering to all the components in an assembly file
if I delete one comp from assembly it is showing error message
I want the script to skip that comp while renumbering.
0