Assignsystem and rename generated table


Updated by Altair Forum User
Hello,
I am writing a tcl script to create geometry and mesh it.
I would like to associate local coordinate system to the mesh and remesh the table with another name than the default one (DistCordTbl1)
For that, I am using the following code :
*assignsystem_option elems 2 0 2 1 10 2 -> What is the difference between assignsystem_option and assignsystem ?
I tried to rename the table by
set Tablename [hm_getvalue tables id=1 dataname=name]
*endnotehistorystate {Renamed Tables from $Tablename to 'test'}
or
*setvalue tables id=1 name='test'
or
*endnotehistorystate {Renamed Tables from 'DistCordTbl1' to 'test'}
But none is working.
Can you help me ?
Thank you in advance
Best Regards