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

Method removeProperty

src/App/DocumentObjectPyImp.cpp:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153PyObject* DocumentObjectPy::removeProperty(PyObject* args)
154{
155 char* sName;
156 if (!PyArg_ParseTuple(args, "s", &sName)) {
157 return nullptr;
158 }
159
160 bool ok = getDocumentObjectPtr()->removeDynamicProperty(sName);
161 return Py_BuildValue("O", (ok ? Py_True : Py_False));
162}
163
164PyObject* DocumentObjectPy::supportedProperties(PyObject* args)
165{

Callers

nothing calls this directly

Calls 1

removeDynamicPropertyMethod · 0.45

Tested by

no test coverage detected