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

Method removeProperty

src/App/DocumentPyImp.cpp:106–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106PyObject* DocumentPy::removeProperty(PyObject* args)
107{
108 char* sName;
109 if (!PyArg_ParseTuple(args, "s", &sName)) {
110 return nullptr;
111 }
112
113 bool ok = getDocumentPtr()->removeDynamicProperty(sName);
114 return Py_BuildValue("O", (ok ? Py_True : Py_False));
115}
116
117// returns a string which represent the object e.g. when printed in python
118std::string DocumentPy::representation() const

Callers

nothing calls this directly

Calls 1

removeDynamicPropertyMethod · 0.45

Tested by

no test coverage detected