export typeid system to Python

This commit is contained in:
wmayer
2019-11-13 00:43:23 +01:00
parent 5c7bef0ad8
commit e1f85cd091
4 changed files with 237 additions and 0 deletions

View File

@@ -81,6 +81,7 @@
#include <Base/UnitsApi.h>
#include <Base/QuantityPy.h>
#include <Base/UnitPy.h>
#include <Base/TypePy.h>
#include "GeoFeature.h"
#include "FeatureTest.h"
@@ -303,6 +304,7 @@ Application::Application(std::map<std::string,std::string> &mConfig)
Base::Interpreter().addType(&Base::RotationPy ::Type,pBaseModule,"Rotation");
Base::Interpreter().addType(&Base::AxisPy ::Type,pBaseModule,"Axis");
Base::Interpreter().addType(&Base::CoordinateSystemPy::Type,pBaseModule,"CoordinateSystem");
Base::Interpreter().addType(&Base::TypePy ::Type,pBaseModule,"TypeId");
Base::Interpreter().addType(&App::MaterialPy::Type, pAppModule, "Material");