Add Assembly App objects and some python bindings

Make Part working
This commit is contained in:
jriegel
2012-01-03 01:21:45 +01:00
committed by Stefan Tröger
parent 95c9259765
commit a224d93d8c
32 changed files with 1437 additions and 9 deletions

View File

@@ -39,12 +39,12 @@ PyDoc_STRVAR(module_Assembly_doc,
/* Python entry */
extern "C" {
void AppAssemblyExport initAssembly()
void AssemblyExport initAssembly()
{
// load dependend module
try {
Base::Interpreter().loadModule("Part");
Base::Interpreter().loadModule("PartDesign");
Base::Interpreter().runString("import Part");
//Base::Interpreter().runString("import PartDesign");
}
catch(const Base::Exception& e) {
PyErr_SetString(PyExc_ImportError, e.what());