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

Code migration to CREO toolkit

Highlighted
Garnet

Code migration to CREO toolkit

Hi,

 

We have CAA Catia code for creating toolbar in CATIA. 

can we migrate this code to CREO parametric toolkit.

 

Thanks and regards

sekar

3 REPLIES 3
Highlighted

Re: Code migration to CREO toolkit

When you say migration, if you mean that the code from CAA be transposed ie copy and pasted to toolkit then the short answer is no.

 

If you mean that the code needs to be reworkd and rebuilt as a Toolkit application, then yes. 

 

I hope that your CAA developer shipped the documentation attached to the source of your CAA application. This would help you not to start from scratch. 

 

About creating a button in Creo Parametric UI, search for the function called ProCmdAction in Toolkit documentation and the knowledge base. You are likely to find some code examples.

 

Also have look to TestAsync.c line 285 in the shipped example at common files>\protoolkit\protk_appls\pt_async\pt_async_src

Highlighted

Re: Code migration to CREO toolkit

There is AFAIK no direct migrator or such thing.

 

So it's the same as if you change the programming language, you change the basic API and need to recode everything which uses the old API and declare the main (user_initialize in TK). So the most important question is if the main part of you project is API based or simple C++ Code.

 

It can be, that simple changes need to be done if you need to change to the right MS Visual Studio Version, but compared to the API block that shouldn't be so many changes.

 

Br,

Eike

Highlighted

Re: Code migration to CREO toolkit

@Sekar1 

 

This may require some custom toolkit development. We are willing to have a look at your Catia code to get an idea of what this would take. 

 

Feel free to reach out to phil.clukies@cadactive.com, and we are happy to chat more about this.

Announcements