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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to execute examples from object toolkit c++

abursuk
12-Amethyst

How to execute examples from object toolkit c++

Hi Guys!

I did install Creo Parametric3 and several toolkits.

Successfully built otk_install example(when I click the button on the Home bar - popup message appears).

Everything just fine till I get into examples:

I picked up this one: otk_examples_feat (...\PTC\Creo 3.0\M090\Common Files\otk\otk_cpp\otk_examples\otk_examples_feat)

file name: OTKXCreateSection3D.cxx

I made separate project. configured it, checked it - everything is ok with environment.

I built this example, launch Creo Parametric with it.

And now I'm stuck.

How to launch it in Creo Parametric? According to example description it should create some data in sketch. But how to initiate this process?

I cant find any appropriate button.

Thank you in advance,

Artem

2 REPLIES 2
abursuk
12-Amethyst
(To:abursuk)

Hey,

I realized that these are not End2End examples.

I added custom button and initiate func from example using this button.

Everything is fine now.

Artem

Ganeish
3-Newcomer
(To:abursuk)

I am very new in Creo Parametric.I am working on an application with help of proToolkit in C++.

Can you explain how to create project settings for successfully build.

Announcements


Top Tags