Community Tip - You can change your system assigned username to something more personal in your community settings. X
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?
Hi,
if you are active paying customer, then I sugget you to contact PTC Support.
MH
Hi Martin,
Thank you! I have just created a case at PTC support. Lets wait.
Grzegorz
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.