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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to add threading to a hole using toolkit?

ppotabatti
1-Newbie

How to add threading to a hole using toolkit?

Hi All:

I have created hole with a counterbore and a countersink. Now I want to add threading to it. I will have to use these two API's (as they are mandatory).  PRO_E_HLE_THREADSERIES and  PRO_E_HLE_SCREWSIZE are both of the type PRO_VALUE_TYPE_INT. But the problem is there are no enumerated values given. I am finding it little difficult on how to use these API's. I have tried using


PRO_E_HLE_THREADSERIES = ISO.

This gives the error of undeclared identifier.

thread.png

thread3.png

thread4.png

Can anyone help?

Regards

Prem


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.
4 REPLIES 4
FV
17-Peridot
17-Peridot
(To:ppotabatti)

hole_api.png

HIH.

Feliks.

ppotabatti
1-Newbie
(To:FV)

Hi Reliks: Thanks for replying. I will check it.

ppotabatti
1-Newbie
(To:FV)

Hi

it seems that the above mentioned APIs are not helpful in setting up threadseries and screwsize. They are only used only to update the incumbent value. But to set Threadseries as ISO and Screwsize as any particular size (eg M25x1.5) this is not helpful. I hope PTC takes the note of it.

Thanks

Prem

FV
17-Peridot
17-Peridot
(To:ppotabatti)

Hi all,

Prem - please take a look at the attached video clip:

Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

this should clear up the issue. You have to build a

valid element tree with valid thread series and screw size  elements set to 0 or whatever valid values you choose before using functions in question...

HIH.

Feliks.

Top Tags