Code: Select all
FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroupPython", self.name)
Code: Select all
FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroupPython", self.name)
Collapse is the term you're looking I believe. If you see the macro in the Wiki https://wiki.freecadweb.org/Macro_ExpandTreeItem you'll notice the line:petit_chat_noir wrote: ↑Tue Apr 21, 2020 12:35 pm would like to reduce/minimize my group in the treeview
Code: Select all
tree.collapseItem(item)
You should of received some notification in the forum that I responded to this thread. Was that not enough?petit_chat_noir wrote: ↑Tue Apr 21, 2020 8:18 pm @Kunda1 please send me a notification or PM when you move my post I'm lost