- use the menu Models -> Material -> Material editor
result:
Code: Select all
Running the Python command 'FEM_MaterialEditor' failed:
Traceback (most recent call last):
File "D:\FreeCAD-build\Mod\Fem\femcommands\commands.py", line 364, in Activated
FreeCADGui.doCommand("MaterialEditor.openEditor()")
File "<string>", line 1, in <module>
File "D:\FreeCAD-build\Mod\Material\MaterialEditor.py", line 752, in openEditor
editor = MaterialEditor(obj, prop)
File "D:\FreeCAD-build\Mod\Material\MaterialEditor.py", line 93, in __init__
self.updatePreviews(mat=material)
File "D:\FreeCAD-build\Mod\Material\MaterialEditor.py", line 460, in updatePreviews
mat = self.getDict()
File "D:\FreeCAD-build\Mod\Material\MaterialEditor.py", line 417, in getDict
root = model.invisibleRootItem()
'NoneType' object has no attribute 'invisibleRootItem'
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22970 (Git)
Build type: Release
Branch: master
Hash: 59c50053a651a42434934b589918724510d5615e
Python version: 3.6.8
Qt version: 5.12.6
Coin version: 4.0.0a
OCC version: 7.4.0.beta
Locale: German/Germany (de_DE)