Hello,
I am a beginner with dynamo
I am trying to make a solid to room
but he makes a mistake. --> Element.OverrideColorInView
is there anyone who can help me ?
see files:
.dyn . rvt
Thank you so much
n
Hello,
I am a beginner with dynamo
I am trying to make a solid to room
Thank you so much
n
Hello @bauleitungusw,
Welcome to the community! It’s super cool to see you starting your journey with Dynamo.
Your graph is pretty close - I’ve amended the solution and attached it here and will explain below:
RoomColor_SA.dyn (21.4 KB)
What was happening was that were giving the same name for each DirectShape instance. All of these instances behave differently to rooms - they need a unique name! So what was happening is that you were, technically, creating all the rooms - it was just overriding the one before resulting in the final room only.
There are many ways to solve this problem - the solution I used was to also pull the Room Number and concatenate (join) them together This gives you your desired result in Revit!
I also used the Colour.Range node to get a gradient of colour and a node to show the same colour values inside Dynamo
Hoi Solamour
thanks for the information and for the timely response
Nicola
Hello Solamour,
I’m still asking for information.
I have Dynamo 2.0.1 and it gives me this problem (Element.OverrideColorInView)
Thank you
Hello Enne,
Can you show me the following please?
Also, you can upgrade to Dynamo 2.0.3 which will help solve a few bugs Go to dynamobuilds.com and under the Stable section go download it! That alone will probably resolve your issue.
Hello Solamour,
sorry…
I did the upgrade to Dynamo 2.0.3
the error message is for the Element.OverrideColorInView (Yellow) is:
Note: The Element.OverrideColorInView method provides topic types (Element, Color),
but it’s been called by (string, DSCore.Color).
I don’t know why you’re doing this.
Ah - it appears the output of your DirectShape.ByGeometry node is a string, not an element! Can you please show what is coming out of that node? Use a watch node or pin the preview bubble
Need to see all of the inputs as well - I would guess there is an error message coming out of the direct shape node along the lines of ‘expected _____, got ______’
Your watch node doesn’t contain any data - so the DirectShape.ByGeometry node is failing. This causes all of the downstream nodes to fail
It appears that you have no Geometry created upstream - can you please post an image of your entire graph, and pin open the preview bubbles?
Hello Enne,
It’s the node before this particular node that is causing the problem Can you please try the following?
Zoom into your nodes so you can see all the data, click the pin on each preview bubble in your graph - like this reference graph below and then navigate to: file -> Export Workspace as Image…, save off the image and post here.
Please right-click on the DirectShape.ByGeometries node and select: Lacing --> Auto See if that helps!