Id to element - Python

Hi everyone,
See the attached snip for Dynamo Node to transfer from Id to Element.

If anyone have Python Script for same thing, please share with us.

Hi all,
Here I attached a link for Id to Element Python Script.
ClockworkForDynamo/Element.ByID.py at master · andydandy74/ClockworkForDynamo · GitHub
I try it in Dynamo Node and also in Python (with above script) , Dynamo Node is ok but Python script not work properly (See attached snip).


Please suggest.

I think you need to cast the number to an ElementId first, like so:
image

2 Likes