Hello,
I’m trying to use Rhino.Inside.Revit to import filled regions and detail lines with prepopulated linestyles into a detail family.
The Add Region component has an input for Linestyle; the Add Detail Line component does not. When I provide a linestyle for the add region component, I receive and error, but the component works fine when I don’t provide any linestyle.
My questions:
Why is the Add Region component not recognizing my linestyles?
Is there a way to import a detail line with a linestyle into a detail family?
In the meantime you can query Line Styles to get the valid line, note that all that are returned via Query Line Styles are not eligible for use in the Filled Region.
Thanks Japhy!
Your workaround is helpful.
I noticed that Query Line Styles does not detect any custom linestyles added to the family. Please see attached a snip of a family in which I added an additional line style, “1-PEN”. The linestyle is visible in the Line Style component, which results in an error, but is not available from the Value Picker.