Get nested model line information from family

Hi,

I have a family where I were using model lines to indicate insertion point. Is it possible to get an attbirutes of those model lines (name) from project environment?

@denisyukj ,

actually i am not a big fan of model lines :wink:

so i think the smartes way is just get Element.Location

KR

Andreas

Me too, it’s just an indicator from user’s side :slight_smile:

Hi @denisyukj
1- Add the line at subcategory
2- use Brimohareb_XXX pak. to delect this line from the project by subcategory
image

2 Likes

@denisyukj ,


grafik

KR

Andreas

1 Like

@Draxl_Andreas
Is P2 name of model line subcategory?

@denisyukj ,

thats the name of the nested familyinstance

Thank you for sharing. Is it open source? Asking because trying to avoid a lot of packages.

1 Like

Also found information from following topic.

it is not open source, also you can use this post. it has the same concept. only if you need to get “Reference_DB”, “Reference_Geometry” in addional of Line “Geometry”. you can use these Reference or add dimention for example.

1 Like