Query Filled Region to find Sketch Lines

Hi All,

I was trying to query an existing filled region to extract the Sketch curves Line Styles.

I initially tested with Inspect Element and Element Type.

I then found that if you create a group (just a the filled region and a line) and queried the members, it returned extra elements, including the sketch lines within the filled region, which you can inspect to get the subcategory/line style.

Is it possible to get this information without turning it into a group?

Rhino Version - Version 7 SR36
Rhino.Inside Version - 1.14
Revit Version - Revit 2022
Plugins - None

Thanks,

A

I hadn’t seen the group method before

Here i used the Sketch Lines component and Element Subcategory to get the Line Styles

1 Like

Would not recommend the group method. it was just a long winded work around with lots of sorting and list management for what I’m not realizing was a waste of time because I didn’t know about the Sketch Lines component. Thank you @Japhy