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

Method getAppearanceModels

src/Mod/Material/App/MaterialPyImp.cpp:211–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211Py::List MaterialPy::getAppearanceModels() const
212{
213 auto models = getMaterialPtr()->getAppearanceModels();
214 Py::List list;
215
216 for (auto it : *models) {
217 list.append(Py::String(it.toStdString()));
218 }
219
220 return list;
221}
222
223Py::List MaterialPy::getTags() const
224{

Callers 4

dereferenceMethod · 0.80
addMaterialDetailsMethod · 0.80
TEST_FFunction · 0.80

Calls 3

toStdStringMethod · 0.80
StringClass · 0.50
appendMethod · 0.45

Tested by 2

addMaterialDetailsMethod · 0.64
TEST_FFunction · 0.64