-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with retrieving element geometry from FaceWalls #1960
Comments
do you happen to know what type of surfaces these are? thanks for the upload. |
Only the two horizontal faces of wall 3 are okay. All other faces throw the following warning:
|
What I find annoying is that even if you go on rebuilding this face by face, tessellating the ones that fail, you'll still not be able to merge the resulting faces back into a solid: Rebuilding the geometry from scratch every time is both costly and finicky. There's been multiple issues reported over the years with little or no progress on remedying them: #1073 Whenever I need to handle geometry in Dynamo, I end up spending more time trying to think of workarounds than doing actual work. Going forward, what's the overall plan about the geometry exchange between Revit and Dynamo? Seems like you've hit the limit of what's currently possible, because the API doesn't provide sufficient information to rebuild the faces robustly. Would it be possible to just get rid of the conversion processes and read/write the geometry natively? Apparently both Revit & Dynamo are on the same geometry kernel and the Revit team should be able to assist you with all kinds of internal hooks. If you'd prefer not to expose those to the public, wrap the exchange process in some obfuscated internal method and call it a day. Not doing anything will just cement people's opinion that Dynamo is just more trouble than it's worth for any complex geometric workflows. |
Here's an another example. The attached family contains four solids, yet only two of them make it into Dynamo. |
My humble understanding is that both use ASM (called libG, Alias or whatever internally) as the basis. I imagine each would have their own wrapper around the core classes of that library. But even if Dynamo adds newer extensions to that core library, it might still be able to unwrap to the internal base class, pass that on to Revit and let Revit handle it, or vice versa. |
Dynamo uses a different Geometry kernel from the kernel for creation of "real" Revit element geometry. Revit's geometry tools are optimized around the particular things that Revit does well (handling tons of wall intersection events, making roof extrusions, etc). Dynamo uses a generalized Solids and surface modeling tool (ASM) that Revit uses for certain import/export operations, and is used by a bunch of other Autodesk products. When making Dynamo geometry out of Revit geometry, there is a conversion step, and there are still a few existing edge condition shapes that we have trouble rebuilding in Dynamo. |
Dynamo version
2.0.0.4385 (Core) / 2.0.0.4386 (Revit)
Revit version
2017.2.3 / 2018.2
Operating system
Windows 7 / Windows 10
What did you do?
Try to retrieve the geometry from a couple of FaceWalls
![grafik](https://user-images.githubusercontent.com/3014437/37544645-f21d2232-2965-11e8-8b4b-efe5c476ee8d.png)
What did you expect to see?
Dynamo solids
What did you see instead?
No solids. Revit solids can't seem to be converted.
![grafik](https://user-images.githubusercontent.com/3014437/37544403-2584d882-2965-11e8-9817-23e4acfcfa23.png)
The text was updated successfully, but these errors were encountered: