I believe it’s from archilab
It is, thank you !! ![]()
Hi Nick
Is there any way to select the overridden lines in detail views? For instance, in a section view, I have overridden the line style in the bottom area using linework as shown in below image. Now, I need to select that line style in Dynamo
I have try the script but linework elements are not selected
Please let me know it was very helpful for my project
Start a new thread for a new topic, please.
Hi Nick
Thank you for the response
I have created a new topic as “How to select override linetypes form detail views” if it is possible please check and let me know
Thanks @JustinSBlack for that nice script. I just build it from your screenshot.
Does anyone know what categroy i need to select in german revit? If i select “Linien” i get an error in the elment.name node. If i try the script with ENG Revit everything works like a charm.
Kind Regards
Error:
Warnung:Element.Name erwartet Argumenttyp(en) (Revit.Elements.Element), wurde jedoch mit (string
[]) abgerufen.
Documentation Browser:
Expects argument type(s), but was called with
This error message indicates that the node you are using is expecting a certain type of input(s) but has received a type of input it cannot use. It is typically followed by additional information regarding what types were passed into the node you are using and what types the node expected to receive. Some of the most common operations that trigger this error are:
Element.SetParameterByName- try using use the node Element.Parameters to check the parameters in the element. Read more posts on the Dynamobim forum discussing “expects argument type setparameter”.Geometry.BoundingBox- try using Element.BoundingBox instead, as discussed here. Read more posts on the Dynamobim forum discussing “expects argument type geometry”.How to fix
The section above mentions some approaches you can take to recover from this error. In general, check what input types the node you are using expects. If possible, change the inputs passed into the node to their expected types or check to see if other nodes can be used to achieve the functionality you want. Note that input types can be checked using the Object.Type node.
More information
To find out more, please check posts on the Dynamobim forum discussing “expects argument type”.
Use the node

to find out what parameters are attached to the All Elements of Category.
I would also suggest replacing your whole filter by boolmask section by:

from the Rhythm package.
List.FilterByBoolMask is very powerful and it doesn’t always apply to use the Rhythm node. But in this case it will be easier to filter them out
I checked the parameters with the element.parameters node. Found out that “Line Style” is not Linienstile in german. Its Linienstil ![]()
![]()
Thanks. Its working now.
It’s also fun when you try to obtain Area from a family, to find out the element has two identically named parameters: “Area”
Thanks to everyone that helped to create and share this solution. It is just what I needed for changes to our standard line styles in our detail/drafting view library.
The script works as expected on a smaller test model. However, on our detail library model, I receive an error on the SetParameterByName node and no changes are made. Model size is 162MB, approximately 1,100 drafting views.
Is there a way to troubleshoot and isolate the issue?
Trying to create this graph. Is the “Line Styles” dropdown node from archilab still available? I can’t find it in version 2022.212.3222



