Hello,
Here i have written the scrip to detect the clash of elements in revit and visualize them with using “OVERRIDE IN VIEW” node.
Everything goes fine. But the issue is if i remove the clash the overrides colors are not resetting to default.
Can anyone help me?
Here i am attaching the snapshot of revit and dynamo.
Hello,
still i was unable to reset the overrides to default. But to differentiate here i have given another color override to the elements which are clash free. its fine for now.
Here my question is:-
If at all i am not running the dynamo or closed dynamo then revit should work with default overrides. But here the overrides are not running with defaults. Its continuing with overrides which i have given in the dynamo.
how can i resolve it ?
Can anyone help me?
Within a ‘reset script’ you could use the same selection criteria (or the all_elements_in_active_view node) to get your elements, then use the reset_overrides_in_view node from the #clockwork package.
So you would have two scripts, one to color, one to reset. And you could run them both from the dynamo player (if using revit 2017 or above)
Thanks for the reply @Ewan_Opie.
i got the node (reset_overrides_in_view) from #clockwork package. but its not working. still the overrides are not set to defaults. am using revit 2018.
HELLO,
FINALLY I CAME TO KNOW HOW TO DETECT THE CLASHES AND DIFFERENTIATE WITH COLORS. AND ABLE TO SET THE OVERRIDES TO THE DEFAULT.
I HAVE RETURN THE TWO SCRIPTS ONE FOR CLASH B/W DUCTS AND PIPES(other service). AND ANOTHER FOR CLASH B/W PIPES(within the service). BOTH THE SCRIPTS RUNNING FINE INDIVIDUALLY. BUT AM NOT ABLE TO RUN BOTH SCRIPTS AT A TIME(once).
IT SHOULD DETECT ALL THE CLASHES AT A TIME.
HOW CAN I RUN MULTIPLE SCRIPTS AT A TIME(ONCE)…?
HELP ME!
HERE I AM ATTACHING THE SNAPSHOTS OF REVIT AND DYNAMO
Hi Ratnakar, I am trying to create your script for my use. Hence I downloaded Clockwork 1.x package. But unable to retrieve few nodes, Could you please provide Nodes if they are different to package names.
Thanks @mrathnakar … I have cloned your script. Now am thinking about little more dynamic like avoiding manual effort for changing element categories and identifying clashes with linked models too… Do let me know if you already started working on that.
Hi @ThinkSmart,
Yes we started using clash detection with linked model elements.
There are some custom nodes available to collect linked model elements as a input.
Hey @Ewan_Opie,
where can I find the Element.ResetOverride node? I have tried couple of #clockwork versions but could not find it… help please, I also need to get rid of the colour override as long as my entries have the correct input from Dynamo Player!!!
Concept is, I am controlling a specific type parameter and if the parameter do not meet the conditions, the elements are coloured orange! However, in Dynamo player as input the user has the possibility to automatically fill out all the listed elements. There is where I would like the reset overrides to work! I used an if statement after my boolean filtered list but it doesn’t seem to work!Check pictures further down, thanks in advace.