Corridor.GetFeaturelinesByCode node not working - CivilPython 2.0.0 posible cause
Lazarica-t opened this issue · 5 comments
Hi Paolo,
The old issue with the Corridor.GetFeaturelinesByCode node is back it seams. Dynamo gets stuck in a loop and freezez.
Might want to have a look at the latest CivilPython 2.0.0.
Previous version CivilPython 1.5.0 seams to be working fine with the node.
Best regards!
CorridorFeatureLines.xml is generated if the corridor ObjectId is not found in the Civil3D document, otherwise you get the corridor name appended like this: CorridorFeatureLines_.xml
https://github.com/Autodesk/civilconnection/blob/master/Src/CivilPython/CivilPython/CivilPython.cs#L510
So.. In conclusion, the Corridor.GetFeaturelinesByCode node will not be fixed?! Because right now the only way to make it work is to downgrade to CivilPython 1.5.0
KR,
@Lazarica-t You should fix your Civil 3D model as it returns a null ObjectId for the Corridor which affects the way the featurelines are extracted.
The modified behaviour is there to improve the performance and stability of the Featureline extraction.
You need to downgrade to a previous release of CivilConnection too for the moment if you cannot have a decent model to work with.
Thank you for the tip @paoloemilioserra !
From your own experience do you have any ideas what may cause this null ObjectId, have you encountered this issue?
I'm just trying to figure out what to look for, since I'm not a Civil 3D user by default, but I'm trying to learn it.