well, what is the error that the python component is returning?
I think itâs a units issue. Try the attached Revit 2022 file and previous support files.
Also note that since this is a temp python component each time you run it it adds points. In the example if you are changing point spacing itâs good to change to Replace to clear the previous points.
Roadwork_00.rvt (2.0 MB)
No promises but should be able to get it in a daily in the next week or so.
Nice !
Iâm gonna try it once more when i re-install everything on my pc. There is no reason the ghx definition shown by you guys wonât work.
Iâd like to sincerely thank you all for this thread your answers and your amazing work. Rhino inside extended our capabilities, we are now able to work efficiently with our partners on projects that require BIM procedures. The only thing lacking for us is this possibility of creating native floors that can follow topography. Our office deals with architecture, urban design, landscape architecture and roadwork+infrastructures. That is why the floor element is key in our methodology.
Anyways thank you for this amazing piece of software and keep up the good work !
We are looking forward to the next implementations (and also rhino 8 ! object manager maybe ? ) Good day
Thanks! See the video below going through the example files from above, some of which may apply to the work you are doing. I think with this process, some Topography and a few trees you could have a pretty dynamic site workflow going.
This is great thanks a lot !
The only question that remains is the units.
Why is it you think that documents in meters can cause problems to this component ?
I was able to use meters without issue, mm was a problem. The script was created before some unit conversion was implemented.
Try this instead
Re_Add_Points_Floor_V2.gh (3.2 KB)
Something is happening to the incoming floor. How are you using the script? What is the floor tracking set to? or are you enabling the python script just once?
The way i m using the script is as follows :
Step one : disable grasshoper solver
step 2 : disable âadd floor componentâ and set tracking mode to disabled", disable python component"
Step 3 : select desired floor boundary and desired topography.
Step 4 : enable âadd floorâ component
Step 5 : enable âadd floorâ component" then enable python component
step 6 : recompute grasshoper.
Sometimes the script workes fine. But sometimes it sends errors like the one shown above or errors saying âtransactionâ
With tracking disabled it will create a new floor on each re-compute, creating multiple floors in your project, but should add points to the last once you enable the python component. Iâll test your process in more detail here shortly.
I found that itâs better to disable the tracking replace mode when working with a lot of floor elements. Otherwise i get too much âtransaction errorsâ.
I restarted the process and managed to make it work.
It seems like itâs better to recompute the floor creation step, before recomputing the python element.
Python element should then be enabled when the flat floor is created.
Hereâs the definition we use, if anyone would need it ==>
RA-GHX-RHINO INSIDE-topofloors.gh (12.2 KB)
UPDATE : script seems to keep producing errors. Problems appear when using it multiple times to create multiple floors. I donât know if itâs a tracking issueâŚ
It seems like its trying to keep track of the previous floors, a better workflow would be to copy the entire script except for the add floor Component and add a new Add Floor component that would keep Tracking the new elements you create.
Or Use the Release the tracking component and replace the Add Floor Component
UPDATE ON THE TOPIC. If this can be of any use.
Everything is running smoothly now with the las script uploaded by Japhy the Mar 4 2022.
We have been able to automate revit floor creation from autocad/rhino drawings with rigourous layer management and referencing.
It appears that the best way to generate the non-planars floors in revit is to disable the tracking on the âadd floor componentâ. Also, itâs better to run the add floor component before runing the python script. Disabling pyton script when revit creates flat floor is the safest method since tracking can get a bit messy when having a lot of floor geometries to process.
Since this is workign quite well we are looking forward to trying a native rhino inside component for this !
Thanks
hI japhy
I was wondering if you guys have made some progress on this subject ?
Cheers,
Iâm not clear on how exactly to help you. Can you provide a specific example of behavior and expectations?
I was just wondering if you guys added a new grasshoper componnent that adds floors with point inputs.
And i was also wondering if there is any way to create direct shapes from rhino meshes in such a way that the interior mesh edges get categorized in revit as interior mes edges (so that we would be abled to hide interior edges)
No new component yet, there will be a topo add points soon & they should be really similar, but once again, no promises (i donât make the components)
The directshapes are limited in Revit & the Revit API, particularly in the graphics control.
Okay, well noted !
Thanks for the answer