diff --git a/src/Base/BaseClassPy.xml b/src/Base/BaseClassPy.xml
index 7795e901a..661816822 100644
--- a/src/Base/BaseClassPy.xml
+++ b/src/Base/BaseClassPy.xml
@@ -26,10 +26,16 @@
- Is the type of the FreeCAD object with module domain
+ Is the type of the FreeCAD object with module domain (deprecated use TypeId)
+
+
+ Is the type of the FreeCAD object with module domain
+
+
+
Module in which this class is defined
diff --git a/src/Base/BaseClassPyImp.cpp b/src/Base/BaseClassPyImp.cpp
index 8ba276066..879123c71 100644
--- a/src/Base/BaseClassPyImp.cpp
+++ b/src/Base/BaseClassPyImp.cpp
@@ -69,6 +69,13 @@ PyObject* BaseClassPy::getAllDerivedFrom(PyObject *args)
}
Py::String BaseClassPy::getType(void) const
+{
+ PyErr_SetString(PyExc_DeprecationWarning, "Use 'TypeId' instead");
+ PyErr_Print();
+ return Py::String(std::string(getBaseClassPtr()->getTypeId().getName()));
+}
+
+Py::String BaseClassPy::getTypeId(void) const
{
return Py::String(std::string(getBaseClassPtr()->getTypeId().getName()));
}