can anybody share python script to take element id as input and element as output.I know there is dynamo node available for the aforesaid. but i need to do this inside python script
This is the method you’re looking for.
To implement it will be something along the lines of:
id = IN[0]
elem = doc.GetElement(id)
OUT = elem
It will, of cause, require standard imports to work, and looping if you’re looking at a list of element ids.
1 Like