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

Method getPyObject

src/Mod/Part/App/BodyBase.cpp:115–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115PyObject* BodyBase::getPyObject()
116{
117 if (PythonObject.is(Py::_None())) {
118 // ref counter is set to 1
119 PythonObject = Py::Object(new BodyBasePy(this), true);
120 }
121 return Py::new_reference_to(PythonObject);
122}
123
124} // namespace Part

Callers 15

splitMethod · 0.45
toBiArcsMethod · 0.45
removeSmallEdgesMethod · 0.45
showMethod · 0.45
cast_to_shapeMethod · 0.45
getShapeMethod · 0.45
shape2pyshapeFunction · 0.45
getAttributeMethod · 0.45
getReferencesMethod · 0.45
curveOnSurfaceMethod · 0.45
getBasisSurfaceMethod · 0.45

Calls 4

_NoneFunction · 0.85
new_reference_toFunction · 0.85
ObjectClass · 0.50
isMethod · 0.45

Tested by

no test coverage detected