Autodesk / civilconnection

CivilConnection enables the exchange of information between Civil 3D, Dynamo and Revit.
94 stars 43 forks source link

unable to run civilconnection2019 after installation of Civil3D2020 #23

Closed jromkes closed 4 years ago

jromkes commented 4 years ago

I am trying to run a dynamo script from within a family which previously worked without any problems. After some time, in which I installed Civil3D 2020 and got a new company virusscanner, I get the following error: Image 077 CivilConnection still runs fine from a Revit project, it's only from a family that I get the error. Is this a known issue and how do I fix it.

Kind regards, Jaco Romkes

paoloemilioserra commented 4 years ago

@jromkes thanks for reaching out. CivilConnection is not designed to work in Families. Even so, the error was raised in one of the last updates, please make sure you update have the latest version of CivilConnection installed.

EduardLouis commented 4 years ago

The same error for me. If I have Civil3D 2020 installed, CivilConnection didn't work for version 2019. No matter if is in a family or project document. Reading DrawingSettings from doc gave error. Not only DrawingSettings, but there the script is stop.

danielgijsbers commented 4 years ago

@EduardLouis if you like we can schedule a short zoom call on wednesday, Perhaps I can help you out.

EduardLouis commented 4 years ago

@danielgijsbers sorry for my late reply. I solved this changing the versions for Acad Application to 23: string m_sAcadProdID = "AutoCAD.Application.23";

and keep only the Roadway app version for 2019 string[] progids = new string[] { "AeccXUiRoadway.AeccRoadwayApplication.13.0"} // 2019