Pin linked element. -Element.SetPinnedStatus

I’m trying to use the Element.SetPinnedStatus to control the pinned state of linked files in my model but for some reasons I can’t get it to work, Is there something I’m doing wrong?

Here you will need the link instance…

1 Like

Thanks, what package is the Element.Pin? I cant find the node. Also will this work by slelecting multiple links at once?

Yes is possible but then i would use get.document from archilab as it gives all instance links, probably there are other package there do the same as well…The node element.pin is from orchid

Hope it works…