Delete elevation markers

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?

Sure,
Many thanks

There was an indented issue,

Sorted now

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)
image


Thank you!