Change color of a linestyle

@3Pinter Looks good. Are you running Dynamo for Revit?
image

image

off-topic (oh wow, printscreen + ctrl-v works!)

This is downloaded from dynamo website since the original 0.9 installed with revit 2017 causes instability for the 1.3 version.

But the color picker is missing as you see :sweat_smile:

Hmmm seeing this now,

image

@Konrad_K_Sobon,

Nice, color picker aside, your script does the trick.

thanks!

the color picker is from a package called UI++ Since it was merged into core Dynamo so it will be available in next release if I am not mistaken that will be Dynamo 2.0
your issue with the archi-lab package should be resolved if you download the latest. I removed that dependency on Dynamo 2.0

Hello Konrad, I’m attempting to use this Python script to accept a list of strings instead of just one string - but I get an error when I feed a list of strings into it. Would there be a simple adjustment to make it work on a list of line type names? Thanks for any help you’re able to provide.

I have turned the Python code above into the C# node and added it to archi-lab.net packages for convenience. It works like this now.

You can get the node by simply downloading the package from Package Manager.

Cheers!

-K

2 Likes

Amazing, Thank you so much Konrad.