A post was split to a new topic: AutoCAD connector fatal error
Adding Solids with propertysets to connector functionality is urgent as well.
When you want to communicate on other software, e.g. Revit or Rhino, but also navisworks solids are the main medium for communication.
Why to the revit project basepoint and not the Internal Origin?
With that justification, we’ll see if we can bump solids up and support them sooner! Will keep you updated on this thread
Hi @Dickels112 , we’re applying transformations relative to the Revit project basepoint as we’ve found that would produce the most predictable results when collaborating with other software sice that’s what is used by surveyors etc.
I do see use cases where the internal origin could be preferable, but hopefully they are limited!
Did we get this wrong, or is this a deal breaker for you?
At some point we could have a setting letting people decide which one to use, but for now we’d like to keep things simple…
Sorry for the late reply.
(speaking from Civil Engineering standpoint):
The problem with Project basepoint and internal origin is that the project basepoint is meant to be used in the same way as a “UCS” in AutoCAD, while the Internal Origin is actually used to calculate all coordinate positions in the model from. this means everything, including the geometry extents is defined by the internal origin. not the project basepoint. The project basepoint also allows you to rotate model geometry with regards to “project north”, so by default this can give problems with recalculating/repositioning geometry. For me, when transferring geometry from Civil3D to Revit, I use the relative position to the interal origin because of the flexible meaning of the project basepoint itself.
With regards to survey: this is what the survey point is actually meant for, but no-one is using it in that way.
I suspect that the best solution to the c3d/revit basepoint issue is to by default use the internal origin, while including the base point and survey point in project information. These variables could be stored in a stream’s globals branch, and included as a toggle option for receive operations to handle geometry transformations - that way we aren’t biasing towards users who care about the base point vs users who care about the survey or internal origin.
Implementation of this could be difficult at the moment, but I’m curious to hear what others think
Hi @clrkng, we are starting to look at this as well. I agree that we should separate consideration of 1. what data we send and 2. what transformations the connectors apply by default.
Given that the base point and survey point may change as a project is developed (it shouldn’t but, let be realistic ), it may be better to tag them on the base commit object rather than the stream globals.
I’ve spoken to some colleagues, and we try to keep the Internal Origin and Base point aligned, so exporting relative to the internal origin makes sense.
Here are some workflows we are thinking about:
- Revit → GIS: If the stream contains the Survey point, the receiving connector should be able to directly place the model in the right spot.
- Rhino → GIS: so it turns out you can geo-locate Rhino models! Who knew? This is similar to the Revit → GIS case.
- Microstation / Civil3D → GIS: These ones are a bit tricky, because road and rail alignments are big enough to generate projection errors if we aren’t careful. The sending connectors would have to send the Coordinate Reference System (e.g. EPSG code), which would be easily understood by GIS applications.
- Microstation / Civil3D ⟷ Revit: There would have to be some mediation between the two different mechanisms for georeferencing (CRS vs. Survey Point), but I suppose if we’ve sorted out the first three items, this wouldn’t be too hard.
One other concept to consider is Revit’s Shared Coordinates. My understanding is that Autodesk gave up on getting people to properly geo-locate their models and developed the Shared Coordinate system to allow manual determination of the transform between two specific files. Perhaps Speckle could do something similar: when importing a stream, allow users to set the insertion point, and then retain that information for future imports. It’s not as ideologically pure as properly geo-locating each stream, but it lines up nicely with what people know and expect today.
@daviddekoning your understanding about Autodesk is correct, though if you set-up your templates correctly, the information is almost always automatically positionned over correctly (except for IFC files), with no manual work.
This is the key. It’s the situations where someone (usually from a company outside yours) provides a file that isn’t set up right where shared coordinates provides a safety valve. I agree that most of the time, proper set up deals with the issue correctly.
So I tried to load in solids through the speckle alpha connector, and it works! (whoow). One. major. downside.
It is positioned in revit on absolute coordinates in relation to the project basepoint… So my solids appear now around 400k too far from the internal origin. This is why it is important to use Shared coordinates or shared sites to position to. Is there a workaround known?
@Dickels112
I am working on this currently! Drafting up an option in the new Desktop UI to allow users to select which project point they want to receive objects in relation to.
This is gonna be a big change as it depends on some Transform work, so it may take 1-2 sprints to iron out! You can track the issue here
@clrkng Thanks a lot! currently i am just incoorporating a geometry.translate respectively to the absolute coordinates of the internal origin. Works like a charm! One optimization that can be done is for uploading complex solids. Can we incoorporate some sort of analytic where it checks solids for ‘size’ (not geometric, but memory size) and notify the user when a solid will take a long time to upload? (and maybe also give them the option not tot down/upload said solid) now my upload will just hang untill i remove the stream from my connector.
Ah yes this can be its own thread actually, feel free to start one! Being able to filter which objects to receive per commit is something we’ve discussed before and I agree it would be super useful to have!
Help! I am trying to send 2022 Civil 3d pipe networks to Revit 2021. I set proxygraphics=<1> and used convertto3dsolids command to turn the pipes into 3d solids. When I use the ConnectorCivil3d (alpha) to push to the stream, it crashes Civil3d. I was successful last week but no luck with my files this week.
I’ve tried moving the origin to a location that is within the pipe boundary.
I’ve cleaned up the file to reduce the file size - eliminating text, linework, etc to isolate the 3dobjects.
Would it perform better if I tried to push masselements our of Civil3d?
Thanks in advance for your help.
Tebogo
I am new to Speckle so Im sure that im making a mistake somewhere.
Hello @Tebogo_inertia !
We have come across a few crash issues with our new connector UI and plan on fixing those soon, if you try sending from the old connector UI does C3D still crash?
Also - if you’re converting your pipes to 3d solids first, they will be sent as meshes to Speckle and received as meshes in Revit just so you know. If you’re looking to keep them as pipe elements, you don’t need to convert them to solids
In any case, it would be great if you could send me the C3D file with the pipes so I can debug and see what’s happening with the crash!
Thank you for the speedy reply. the file is too large to copy here so I will send you a dropbox link. Can you provide an email?
Also, does Speckle only handle 3d objects or can it send linework?
Is there a maximum amount of objects or file size?
Just messaged you my email!
You can find a (somewhat) up to date version of all supported elements on our docs page here: Supported Elements | Speckle Docs
There isn’t a max number of objects iirc, but pinging @cristi for the current limit on DB object sizes! I think it was 10MB? Keep in mind this limit isn’t determined by your file’s size, every time you send to Speckle, the connector will serialize all of your selected objects and the size of that “send” is determined by how many and how complex the objects are.
Hi Claire - any luck with the files I sent you?