I am new to Dynamo and need some help in Profile PVI update/removal.
I have a list of PVI with respect to the station I am able to add new PVI from “ProfileExtensions.AddPVI” Node
But when my PVI list gets updated/removed it’s not reflected in my Profile, Can anyone please help me to sort this out?
Please post an example drawing and what you have so far to receive the best assistance. May want to flag this as civil 3d category too.
So it looks like if you delete the profile in profile view in CAD and run the script with different data, it updates. So I tried to have the script first delete the profile and then generate the profile again, but it’s giving me weird behavior. Not sure if anyone else wants to chime in but definitely a first time doing this for me too.
CreateProfilesAndPVIs-SW.dyn (63.1 KB)
CreateProfilesAndPVIs_hh.dyn (44.7 KB)
Thanks for the reply,
unfortunately, this is not the one I am looking for, it is only adding the station and elevation as per the excel sheet but, If I will delete the station from the Excel sheet then Profile PVI also should be removed from the Model file. Hope you understand my concern
Sounds like you need to collect a list of all PVIs on the profile, remove all of them and then add all of the PVIs based on your excel sheet.
Yes you are correct.
See this codes
Use the last mothed the station and the level
so as not to make a mistake
Do not delete the first and last pvi
Or as said @WrightEngineering
delete the profile completely And make another one with the same name