fren
  Log in   Registration

We are +23 BIM professionals!

Join us>
Do you have any questions?

Need technical support, advice or advice?


  Wednesday July 14 2021
  12 Replies
  519 Visits
  Subscribe now
Bonsoir

I would like to identify my windows by type in color. my script is not good. Someone may have the solution. Thank you.
there are about 3 months
·
#16758
0
Votes
Cancel
I can tell I'm missing something between all element of category and overrideinview.
there are about 3 months
·
#16759
0
Votes
Cancel
Hello,

Above all, it lacks knowing what software it is! ;)
there are about 3 months
·
#16760
0
Votes
Cancel
Dynamo for revit 2021.
there are about 3 months
·
#16761
0
Votes
Cancel
Hi

Maybe with a script like the one attached. Perhaps...

@ more
there are about 3 months
·
#16762
0
Votes
Cancel
Do you have a script? There is no attachment
there are about 3 months
·
#16763
0
Votes
Cancel
Thank you for your help. I tested it and watch it. I'm going to do a mix of the two plus another approach. The goal is to have one color per type. Your script gives me one color per element.
there are about 3 months
·
#16764
0
Votes
Cancel
Bonsoir

If I am not mistaken, it neither had one connector to move. It's corrected.

@ more
there are about 3 months
·
#16774
0
Votes
Cancel
I do not know. I still can't do it. I try with an excel sheet which determines the colors by type in RGB. I just feel like I'm turning the solution around to make it happen. I just want a predefined color per window type.
there are about 3 months
·
#16776
0
Votes
Cancel
Hi

My previous script does not always work correctly (However, it seemed to me ...).

If you want to indicate the colors in an Excel file, see another possibility as an attachment:
* a small Excel file (In the first column, you must list all the types of windows used, in the 4th, 5th and 6th, the RGB values ​​(to be specified by hand, or with the custom function defined in the module 1, according to the filling of column B)

* The script (You can use the "Write of all types ..." part, but normally it should be frozen or deleted). You must of course modify the access path to the Excel file used, by clicking on browse.

* The rvt file that I used as a test.

@ more
there are about 3 months
·
#16778
0
Votes
Cancel
It works !!!!!! A big thank-you. So it was in the middle that something was missing. So I discovered dictionary nodes.
there are about 3 months
·
#16781
0
Votes
Cancel
Hi

It seems that there are sometimes problems with the Category node, when changing Dynamo version, as reported by Ahmed Halim (the author of the book "Dynamo for Autodesk Revit") on this forum. To get around it, you can use this solution:
Code Block "Windows" -> Category.ByName

@ more
there are about 3 months
·
#16782
0
Votes
Cancel
Thanks for the advice. I have the book. Too bad it is too construction oriented. I am more interested in the analysis of digital models training construction economists.
There is no response to this discussion yet.
Be the first to answer it!

Discover our services

recruitment

Your career at N&Co

LEARN MORE

communication

Communication

LEARN MORE

Advertising

Training

LEARN MORE

Hexabim

Log in