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.
Can anyone help?
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.
Prem - please take a look at the attached video clip:
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...