Issue sending from AutoCAD to Revit

Hello, I’ve ran into an issue when sending data from AutoCAD to revit.
In another post it is suggested to install the latest manager to see if it fixes the issue.
When I try downloading the latest version with the link above https://releases.speckle.systems/
It’s downloading version 2.3.17 and then again it suggests me to download version 2.7 in the news tab
I’ve tried uninstalling and installing and rebooting the PC

Hi @Vic ,

Could you please describe your issue a bit more in detail?
What are you expecting to happen, and what are you getting instead? Any error messages/screenshots?

It sounds like your Manager is set up correctly, but we have confused you a bit; let me explain:

  • the version of Manager is not correlated with the version of the connectors installed via Manager (eg the latest manager is 2.3.17, but the latest connectors are 2.7)
  • the “news” tab in manager is simply showing the latest blog posts and tutorial, it’s not prompting you to update :slight_smile:
  • you can see the version of each installed connector in the “connectors” tab

We’ll definitely think about how to make these things more obvious and less confusing!

PS
I moved your post to a new thread t keep things tidy :slight_smile:

Hello @teocomi

Thanks for the quick response and brief explanation. :slightly_smiling_face:

Yes, basically I am trying to get AutoCAD blocks into a revit project to begin with.
At first I managed to push from AutoCAD the blocks and pulled into revit using Speckle.
But the geometry was incomplete when coming into revit and well not serving the purpose I am trying.

Also for example I have plan view and sections views of an object, the plans view were visible in the stream but not the section view drawings :thinking:

I did have an error message display as following:

CONVERSION ERRORS

Could not convert block d21525212c49e1c707f50dd932359d84 curve to native.
Could not convert block ab20ee09ed856a998333017fce45a5b5 curve to native.
Could not convert block d47b3ebb293fedc4d9b2240778f240e1 curve to native.
Could not convert block 43cec196e53034ed57cebf5c68663327 curve to native.
Could not convert block 5f065644380ac004d2e079a2176bf9dc curve to native.
Could not convert block 5af0ef758b212789339c61f36675975b curve to native.
Could not convert block ca4ba95902a2b439987a525a6e11ca15 curve to native.
Could not convert block ad1a744e31d26143e8b72e0a8d1cea7c curve to native.
Could not convert block 85d472b6a9953a1d38418f2c4d1da70f curve to native.
Could not convert block 65e0c9d704d45c87f3d52f896fe92c9e curve to native.
Could not convert block 67a15a618268a0c0bf2adf64678231e7 curve to native.
Could not convert block 4db859df4baa837d613aba39f2055e79 curve to native.
Could not convert block 73b2ea629d502547bb13a46f309649e3 curve to native.
Could not convert block 9d65a7d5e596ce33094a29a14396f9e6 curve to native.
A group has been changed outside group edit mode.  The change is being allowed because there is only one instance of the type.
Line is slightly off axis and may cause inaccuracies.

I went back to the documentation and noticed speckle supports AutoCAD 2021, and I was running on 2022, Im currently downloading 2021 to run again the same procedure.

Hey @Vic ,

No need to download 2021 - our docs are outdated, and versions 2021-2023 should be supported equally!
If you could please share a sample model (you can send it via DM) we’ll be happy to debug next week.

Regarding the section views, I’m not sure they are supported - calling in @clrkng to confirm :wink:

@teocomi
Ok, it’s now working better, not optimal because I am loosing some information along the way, I am aware the CAD file is not the friendliest. :melting_face:

By sections views I meant in the drawing as objects these are the same as the plan views (made up of line, splines and arcs, etc)

So I went ahead and cleaned it up a bit, and deleted dimensions, solids, and others that were not necessary and then pushed again the DWG to speckle server having better results an error message still displays:

Failed to convert object CBDAC of type INSERT: Exception has been thrown by the target of an invocation.

And there is a log file basically converting objects this is the summary:
SUMMARY

CONVERTED: 5581
FAILED: 1

Now when pulling into revit the stream I have the following error message display:

Could not convert block 6bdbc68709bc24417a4b477633fc9a19 curve to native.
Could not convert block 7b29a55125461770b87201c59d32dd53 curve to native.
Could not convert block a036caa971a9ab59e7e4bab102533023 curve to native.
Could not convert block cd9f72389136a851d29cd5dc047dad7d curve to native.
Could not convert block 6dd5a8472d2724bb66fd59de2787fa73 curve to native.
Could not convert block 2e635767edd5408578557279c3deb33a curve to native.
Could not convert block ad4f68c85de1b351f207a79c1088e707 curve to native.
Could not convert block 7b938bacc1905d08f8eefd735eb279a1 curve to native.
Line is too short.
Line is slightly off axis and may cause inaccuracies.

And a revit error message displays that prompts me to delete elements, I will share screenshots via DM, I appreciate your help so far :slight_smile:

Hey @Vic , welcome to the community!

I can definitely look into the section drawings as hypothetically those should be supported.

This error seems to indicate there was an inserted xref in the drawing that failed conversion, which I can look into as well.

I’d like to better understand what you’re looking to do with AutoCAD blocks in Revit, and see if it’s possible to improve our conversions in both AutoCAD and Revit to help you achieve that. Keep in mind that Revit as a software is not capable of creating certain types of curves, and also has some limitations on minimum curve length which are outside our control unfortunately :grimacing:

If you can pass on the AutoCAD file to me that would be great, but even better if you have 15min for a quick call so we can do some live debugging!

1 Like

hello @clrkng and @gokermu

I’ve come across a bug when trying to stream from AutoCAD to revit detail item family template

Objects.Geometry.Polycurve 326cf2baffeda90cfaeeb8dbb0b5ceee Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve 7284514c89682f6b2e5902cf74591134 Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve 0bcaff178a3ba67f71da2534061a658b Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve 26ea487962304a1babf0cd3984a5ebf3 Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve 798f36a81e0c4b8468674f28b8089678 Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve ef161d8e51b4b8477518589d2f1f0a0b Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve 7b83a7d53abe7811febc3f1efcc3f7c3 Failed
Sketch plane creation is not allowed in this family.
Parameter name: document
Objects.Geometry.Polycurve ad3617ff01201e72dbad3e5988910147 Failed
Sketch plane creation is not allowed in this family.
Parameter name: document

An update of the solutions I have adapted for now when bringing AutoCAD drawings to Revit:

  1. Not using splines, curves, texts, annotations, xref, keeping it simple, otherwise some data gets lost along the way.

  2. I tried rotating the drawing so that coordinate systems match, but this if not done carefully can be problematic in the Revit file, also it’s difficult to find and manipulate the Speckle generic model in a section view. So I’ve avoided doing this.

If you have any updates or suggestions let me know :wink:

1 Like

hey @Vic :wave:,

Can you share the CAD file you used for this? You can post it here or send me a PM. I want to reproduce that on my end and see what we can do to improve it.

Thanks

1 Like

Hey @Vic ,

Just got a chance to look into this. Lines sent from AutoCAD are 3D lines. But Detail Item doesn’t accept any 3D element in it. Our Revit connector doesn’t convert them to Detail Lines (yet) but you can do this through Dynamo. Take a look at the below script👇(Revit 2022):

Detail Item from Autocad Lines.dyn (124.5 KB)

1 Like

Hello @gokermu
Thanks for sharing the solution to detail items, this is great!
I have still have not had a moment to test this, but I am looking forward to it, I will come back to you when I do, if necessary :slight_smile:
Do you think this can be integrated in future versions of the AutoCAD connector?

1 Like

This is an improvement on the Revit side and we’ll eventually get there. But its a matter of resources😊. I’ll include this in the Family Environment Improvements we are planning to do and let you know if we implement it.

1 Like

Hello @gokermu
I have finally a task that involves this solution of yours with the dynamo script.
I have one question for now what is the data in the code block that I should write, I imagined these are the layers so I did but I have an error Warning: Get.ValueAtIndex operation failed.
image

Also in the first string I just copy and paste the stream link?

1 Like

Can you share the stream/commit link? You can send a DM if you don’t want to put it here.

Oh ok, this depends on the data you are receiving from. What you receive from Speckle is converted into a Dynamo dictionary. So you can use the “key” of what is received in the square brackets. In your case it is:

1 Like

Thanks!
I’ve tried this but I am having null values in the receive commit node
Also the following warning displays, Warning: Curve join produced more than one WIRE in PolyCurve
In the string code block I’ve paste it the stream link

Not sure if helpful, but we released some fixes to the Autocad and Dynamo connector in our latest release, can you please make sure you’re on v2.10.2?

1 Like

Great
Thx, this solved the issue when I updated the connectors :slight_smile:

2 Likes