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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Code migration to CREO toolkit

Sekar1
12-Amethyst

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
remy
21-Topaz I
(To:Sekar1)

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

Eike_Hauptmann
13-Aquamarine
(To:Sekar1)

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

@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


Top Tags