cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

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

rd-2
7-Bedrock

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

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.
ACCEPTED SOLUTION

Accepted Solutions
rd-2
7-Bedrock
(To: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

View solution in original post

3 REPLIES 3
gkoch
12-Amethyst
(To:rd-2)

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-2
7-Bedrock
(To: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

gkoch
12-Amethyst
(To:rd-2)

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.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags