Skip to main content
1-Visitor
February 25, 2016
Solved

Is there any way to get decimal places of dimension through jlink

  • February 25, 2016
  • 2 replies
  • 1969 views

Is there any way to get decimal places of dimension through jlink


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by rd-2

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

2 replies

1-Visitor
February 26, 2016

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

rd-21-VisitorAuthorAnswer
1-Visitor
March 11, 2016

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

1-Visitor
March 14, 2016

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.