Skip to main content
1-Visitor
January 28, 2017
Question

Compilation of Creo Toolkit Features

  • January 28, 2017
  • 2 replies
  • 2223 views

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?

2 replies

24-Ruby III
January 30, 2017

Hi,

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

MH

gpytel1-VisitorAuthor
1-Visitor
January 30, 2017

Hi Martin,

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

Grzegorz

DomenicLaritz
17-Peridot
January 31, 2017

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.