Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Is there any way to get decimal places of dimension through jlink
Solved! Go to Solution.
Hi Gunter,
I got the solution, there is no straight way to get decimals in Jlink.
Workaround:
1. First you have to create toolkit dll file for that function
2. In J-Link, you need to call BaseSession.LoadProToolkitDll() API and DLL.ExecuteFunction() API.
It will work.
Regards,
Rajesh D
Hello Rajesh,
I saw that today you opened a case with PTC Technical Support about this question - please let the community know the answer in this thread, once you got it.
Thanks,
Gunter
Hi Gunter,
I got the solution, there is no straight way to get decimals in Jlink.
Workaround:
1. First you have to create toolkit dll file for that function
2. In J-Link, you need to call BaseSession.LoadProToolkitDll() API and DLL.ExecuteFunction() API.
It will work.
Regards,
Rajesh D
Thank you for getting back to the community with the resolution!
So I understand there is no direct J-Link funtion, but you can use the applicable function from the Toolkit library from within J-Link.
Nice solution! I'll mark your answer as Correct Answer to signal there is a resolution to this question.