Delete Civil 3D objects (profiles)

Hi, is there a recommended worflow how to delete Civil 3D objects? I am going to solve how to delete all profiles for all alignments. Would you mind shering your workflow?

Have you tried the Object.Delete node?


Is there a particular way to call up the profile view to allow Object.Delete to work?
When I use ‘Alignment.ProfileByName’ ‘Object.Delete’ throws ‘InvalidOpenState’

@kelvin.j can you share a screenshot of the graph and error message?

ahh, now I cant recreate the error…
But it is working! so thanks