We have CAA Catia code for creating toolbar in CATIA.
can we migrate this code to CREO parametric toolkit.
Thanks and regards
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
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.