Property ID Conflict
Hi All,
I have made a TCL script to rename the components according to some nomenclature as asked by our client.
For eg. PSHELL_1002060 => component name will be like this and I have modified comp ID as numbers following PSHELL (1002060). Similarly I have created Property of same name and ID as component.
In HM2017, when I was trying to apply property to the respective component by ID, I observed in the backend code (in command.tcl file) that it is modifying prop ID from 1002060 to 1 (automatically) and that's why it could not update the component property.
This macro is working as expected in HM21 version but since other constraints I have to use HM17. Can anyone please help me out here?
Your help is much appreciated. Thank you!
Answers
-
I am guessing this is actually a difference between solver id and internal id. Generally, tcl uses the internal id but what you see in the GUI is solver id. The following is the help page for a command to get internal ids from solver ids:
https://2022.help.altair.com/2022.1/hwdesktop/hwd/topics/reference/hm/hm_getinternalid.htm?zoom_highlight=solver+idHope this helps.
0 -
Hello Akshay!
Your description of the TCL code to maintain same component ID and property ID would be of great use to my application as well. Could you please guide me on how to obtain the code or develop one from scratch? I would greatly appreciate your help.
Thanks!
0