[Frage] Python code for running automatically, instead of showing the palette!

Schlagworte:

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

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


Verwendung von Cookies:
Um die Webseite optimal gestalten und fortlaufend verbessern zu können, verwendet Allplan Cookies.
Durch die weitere Nutzung der Webseite erklären Sie sich mit der Verwendung von Cookies einverstanden.  -  Mehr Informationen

Schließen