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

Method getLibraryName

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

Source from the content-addressed store, hash-verified

54}
55
56Py::String ModelPy::getLibraryName() const
57{
58 auto library = getModelPtr()->getLibrary();
59 return Py::String(library ? library->getName().toStdString() : "");
60}
61
62Py::String ModelPy::getLibraryRoot() const
63{

Callers

nothing calls this directly

Calls 4

toStdStringMethod · 0.80
StringClass · 0.50
getLibraryMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected