MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / addInheritance

Method addInheritance

src/Mod/Material/App/ModelPyImp.cpp:178–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178PyObject* ModelPy::addInheritance(PyObject* args)
179{
180 char* uuid;
181 if (!PyArg_ParseTuple(args, "s", &uuid)) {
182 return nullptr;
183 }
184
185 getModelPtr()->addInheritance(QString::fromStdString(uuid));
186 Py_INCREF(Py_None);
187 return Py_None;
188}
189
190PyObject* ModelPy::addProperty(PyObject* args)
191{

Callers 1

addToTreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected