paoloemilioserra / Civil3dToolkit

Public repo for ancillary items of the Civil 3D Toolkit crowd-sourcing development.
Apache License 2.0
26 stars 4 forks source link

ProfileView.ByAlignmentPointName - duplicate names #46

Open mzjensen opened 3 years ago

mzjensen commented 3 years ago

v1.1.17

I'm seeing a repeatable issue where the ProfileView.ByAlignmentPointName node fails consistently after 2 successful runs (so it fails on the 3rd run) with a "Duplicate profile name" warning. I've attached a GIF and test files, but I wasn't able to find anything in the log.

ProfileViews.zip

CreateProfileViews

paoloemilioserra commented 3 years ago

@mzjensen thanks for reporting this. In principle this should not happen as the ProfileViews are marked to take advantage of tracing. I've added a couple of warnings to the log in 1.1.19 and it should capture the exception as well.

I cannot download the Zip files unfortunately

mzjensen commented 3 years ago

It's OK, I'm sure you get the same result on your PC even without the files. Thanks for looking into it.

paoloemilioserra commented 2 years ago

I've encountered a similar behavior with another issue related to finding the next unique name for Civil Objects. Apparently it happens only with the Dynamo full UI but it is working fine with Dynamo Player. Somehow, it cannot count more than one object of the same type that has been created via Dynamo unless the Dynamo session is closed (which is what happens with Dynamo Player at the end of every execution).