[Вопрос] Python code for running automatically, instead of showing the palette!

Теги:

Can anyone share the python code which runs automatically, when you click the python-part image in the palette instead of opening the UI palette!

Thanks in advance!
Primoz

1 - 2 (2)
  • 1

Hi Primoz,

do you mean the code for the preview drawing inside the palette? This is done by

def create_preview(build_ele_list, _build_ele_composite, _doc):
"""
Creation of object preview
"""

Best regards
Horst

1 - 2 (2)
  • 1

https://campus.allplan.com/ uses cookies  -  More information

Accept