Skip to main content
1-Visitor
Jan 28, 2017 11:52 PM UTC
Question

Compilation of Creo Toolkit Features

There is an example in Object toolkit which can be compiled and should generate C++ code to generate Creo Object Toolkit in C++. Everything is fine except, the source code for CreateElem class is missing. The code which should generate a feature is here: otk\otk_cpp\otk_examples\otk_examples_feat\OTKXWriteFeatAsCxx , it depends on OTKXSaveFeatCxx in this directory: otk\otk_cpp\otk_examples\includes . The C++ code for CreateElem class seem to be missing. Where I can find it?

I tried also to compile it against otk_cpp.lib, without C++ code of CreateElem. But I failed. How can I make it run to e able to create features?

3 replies

24-Ruby III
Jan 30, 2017 10:12 AM UTC

Hi,

if you are active paying customer, then I sugget you to contact PTC Support.

MH

Translate
gpytel1-VisitorAuthor
1-Visitor
Jan 30, 2017 2:28 PM UTC

Hi Martin,

Thank you! I have just created a case at PTC support. Lets wait.

Grzegorz

Translate
DomenicLaritz
17-Peridot
Jan 31, 2017 6:48 AM UTC

The class CreateElem is declared in the file ...\otk\otk_cpp\otk_examples\includes\OTKXSaveFeatCxx.h.

The member functions of the class are defined in the file ...\otk\otk_cpp\otk_examples\otk_examples_utils\OTKXSaveFeatUtils.cxx.

Translate