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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

API access to PTC products (creo & proE)

lgüthle
7-Bedrock

API access to PTC products (creo & proE)

Hello,

I am writing my thesis at Siemens and got some questions about the Products Pro Engineer and Creo.

My goal is to extract geometric data from objects designed by both ProE and Creo.

Is it possible to extract the geometric data directly from the *.prt-file?

If yes: is there a specification for the file-type?

If no: my second solution would be via API.

I read a lot of different API solutions to do so:

Is my list correct? Regarding categories "only ProE", "only Creo" and "both ProE and Creo".. maybe one of the Creo API also works for ProE?

Which API/toolkit suits best for my requirement?

Thank you very much!

regards

Luis


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.
3 REPLIES 3

Luis,

You can use Creo Parametric TOOLKIT (C API) or Creo Object TOOLKIT (C++ API) to access the geometry information from both Creo and Pro/ENGINEER files.

Web.Link [Javascript], VB and JLink also provide some limited access to the information.

For more details, you can look at the user guides for these APIs [by installing these API packages from your Creo CD using the Customize button].

Regards

Bipin

Bipin,

Thanks a lot for your fast response.

Is "Creo Parametric TOOLKIT" the same as "Creo View Toolkits" from above? If not, can you provide me a link?

Do you know if there is a possibility to get those toolkits without Creo itself?

Regards

Luis

Hi Luis,

you could also use a transfer format like STEP or something like that to get "dumb" geometric data from one system to another. So Creo can export various of such file types and NX could import them afaik.

By API (Toolkit / don't know OTK) you can get out many of the geometric details. You need Creo to work with TK or OTK so both are API's to CREO.

There is no OTK or TK possibility without Creo. Creo View Toolkit isn't Creo Toolkit.

So in Creo 3.0 you can open NX files: http://de.ptc.com/product/creo/3d-cad/parametric/extension/interface-for-nx

I don't think you can use this for reverse usage.

WebLink (JavaScript) and JLink (Java), VB are free to use API's for Creo. But afaik you can't get much about the geometrie out of parts with the free API's.

Best regards,

Eike

Announcements


Top Tags