CivilConnection: Issues with featurelines

I am facing problems with FeatureLines while using CivilConnection. I am learning to use Civilconnection by following the examples given at the GitHUB page of @Paolo_Emilio_Serra1 and by simplfied tests of my own.

The problem is that nodes like “Corridor.GetFeaturelines” or “Baseline.GetFeautelinesByCodedoes not recognize any FL. Whereas running similar nodes at Dynamo for Civil 3D returns the correct FL.

Here is the problem, given at the GitHUB’s tutorial examples:

With my own tests:


Any thoughts? Thanks four your attention. :smiley:

For annotation: 2nd photo is taken from “Dynamo for Civil 3D” while 3th photo is taken from CivilConnection. Both are running the same C3D document.

Thanks

@pablo.eizaguirre did you read the documentation? did you install CivilPython? Did you check the log file?

Yes, I followed the steps. If it is related with CivilPython, i could check i did it correctly

Checked, CivilPython is running well.
How could i check the log file? (Actually, i don’t know what you mean with it, sorry)

Temp folder, CivilConnection_temp.log

Given that it creates a XML file. How is it possible to have featureline elements that could work with nodes like “RevitUtils.AssignFeatureline” ?

have you set the Geometry Work range to medium right?

Yes

As you can see the log tells you there are many errors when creating the PolyCurves from the XML files.
Can you share the XML files (temp folder)?

Yes, thanks. The link: https://we.tl/t-APLl2EuIQi

No problems in the XML, are you using a comma (",") as a decimal separator? in that case could you change it to a dot (".")? This was an issue it has been fixed in a new version that I’m working on.

2 Likes

That was it! I needed to change my Windows decimal separator to (".") and it worked perfectly.

Thank you so much for your attention and time. I really aprecciate it.

.

Hey guys,

I have a relatively same problem. The node Corridor.GetFeaturelines doesn’t work and Dynamo crashes when it gets to that node. I have changed my windows decimal separator to “.” as well and it didn’t work either. Any idea folks?

@A.Sh in order to help you can you confirm that you have CivilPython installed and working? Have you looked at the log file and confirmed there are no errors there? did you get any XML file exporterd in the temp folder?

1 Like

Thanks for reply Paolo. Just needed to unblock Civilpython.dll . Works fine now. cheers

1 Like