Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
can any one help me to get current model name
It shows the current model name at the top of the model tree and at the top of the screen. If you're trying to input it into a parameter you can set a relation for the parameter name to equal Rel_Model_Name
Hi, you can create OS mapkey that runs script which copy model name to clipboard (it simulates ctrt+c command):
There is getName.jse file in the attachment. This is the script which do the work.
You can make similar script to open drawing of current model with this technique.
Hi Sangavi,
Are you trying to get the model name for a drawing? For a simple copy/paste? or for an application? If so, what API are you using - C? C++? VB? Java?
Thanks,
James