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

Method getModel

src/Mod/Material/App/ModelManager.cpp:273–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273std::shared_ptr<Model> ModelManager::getModel(const QString& /*libraryName*/, const QString& uuid) const
274{
275 // TODO: Search a specific library
276 return getModel(uuid);
277}
278
279std::shared_ptr<Model> ModelManager::getModel(const QString& uuid) const
280{

Callers 15

getModelTreeMethod · 0.45
addModelMethod · 0.45
addPhysicalMethod · 0.45
removePhysicalMethod · 0.45
addAppearanceMethod · 0.45
removeAppearanceMethod · 0.45
hasPhysicalModelMethod · 0.45
hasAppearanceModelMethod · 0.45
saveModelsMethod · 0.45
saveAppearanceModelsMethod · 0.45

Calls 1

getModelFunction · 0.85

Tested by 6

testModelLoadMethod · 0.36
testModelInheritanceMethod · 0.36
addModelsMethod · 0.36
addModelDetailsMethod · 0.36
TEST_FFunction · 0.36