Selection dropdown to list using python

Hi,
i need to have a list of all element subtypes like the ones in (Element Types) node:
image
i need to do that in python.
Where can i find the codes of Dynamo builtin nodes?

1 Like

You can use the Document.ElementTypes node from Clockwork. If you use this in conjunction with the UI Data Shapes nodes, you can have the script provide a user input checkbox selection list.

image

1 Like

Thank you Staylor!

1 Like