I am trying to get rooms from a linked model. It should be pretty straight foward and has been dicussed a few times already:
http://dynamobim.org/forums/topic/get-all-elements-from-linked-model-by-archi-lab/
Hey Konrad! So I have tested out the new code and it appears to be working perfectly! The only thing I am struggling with now is Dynamo list management, something I haven’t fully gotten my head around since I’m very comfortable coming from another program who’s name shall not be mentioned. That ‘other program’ at least makes the clear distinction between list and branch allowing for grouping and isolation. In my example posted below, how can I choose to retrieve all the links and apply the same …
Try to get rooms from linked files,
it works for one, but how to get them from two or more files?
[Rooms-from-liked-files]
But I’m just getting null. Any ideas as to why this would be the case?
Try this.
PS Just realised you pass elements instead of category: delete “all elements of category”
3 Likes
Hi guys,
@Tomasz_Puchala is there an easy way to extend this script to get rooms from several linked files?
I have used the Springs.Collector.LinkedInstanceElements
but that seems to work with one linked instance at the time?
Thanks,
Andrea
HI @Andrea_Botti , and happy anniversary
it seems to work in a straight forward way :
1 Like
@Mostafa_El_Ayoubi thank you very much for your reply. However, I do not get the two-tiered list you get. Do you have any advice on why that could be?
Andrea
I had the same problem but when I set the LinkInstance input’s listing to ‘Use Levels’ (at L1) and ‘Keep List Structure’ it pulled all rooms.
2 Likes
e1uvs
November 17, 2017, 11:26pm
9
Has anyone then taken this information and written it into a parameter in your working file? I am trying to do that without any such luck.
Hi,
Sorry I’m late to the party but will this script for coppying and pasting rooms from a linked file work if there are no separation lines in the linked file?