How to extract name of the input file *.IGS to name the associated component
Hi,
I’am trying to extract name of the input file for exmple 'NIV7_M0300.igs' to name the associated component by 'NIV7_M0300' :
*geomimport 'iges_altair' 'D:/PROJET/IGSforHPM/NIV7_M0300.igs' 'CleanupTol=-0.01' 'DoNotMergeEdges=off' 'ImportBlanked=off' 'ScaleFactor=1.0'
The problem is that when I import a file .igs in hypermesh, it will generate an arbitrary name of the component 'lvl53'. So I can not get the name 'lvl53' generated by hypermesh to change it to NIV7_M0300:
{Renamed Components from 'lvl53' to 'NIV7_D0300'}
*setvalue comps id=3 name=NIV7_D0300
Could anyone help me please?
Thanks for your helps
Best regards