Hello guys,
I want to delete elevation markers that do not host any elevation,
I have found this post but the python node doesn’t work and I am very new on Python.
http://www.serialnonstandard.com/get-empty-elevation-markers/
Do you know why is not working???
Home.dyn (3.0 KB)
Can you please post what error you are getting from the node?
There was an indented issue,
Sorted now
K104
December 13, 2018, 2:53pm
5
Hey
So i ran this script with the changes but it did not delete the empty tags! Do I have to add more to the script to get the items at index in order to delete them?
Forgive me, I am a novice at Dynamo!
Hello K104,
You need to delete output of the python node
1 Like
Just tried this and it deletes all elevations not just the unused. Is there a filter that I am missing?
Home.dyn (7.0 KB)
@jarod.tulanowski
The first node of your categories need to change to “Elevations”.
and for the Python Script (I didn’t write this)
Thank you!
This is a slightly updated version that uses a Code block and string to hard code the category based on this fantastic post by @awilliams
Remove Empty Elevation Markers.dyn (7.6 KB)