We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2014-10-08 10:42 AM
2014-10-08 11:39 AM
2014-10-08 11:50 AM
2014-10-08 12:23 PM
2014-10-08 01:28 PM
2014-10-08 04:56 PM
2014-10-08 05:47 PM
2014-10-08 07:49 PM
2014-10-08 08:21 PM
2014-10-08 08:48 PM
sinceV6 wrote:What you understood is correct.
Well... not quite. The code in the example only works if both objects are placed directly in a layout, not a master. Didn't try to make it work that way though, in the couple hour test I made.
In that context, you have one object that writes information to a text file, and then a scheduler object that sorts through it to find the objects that are placed in that layout only. Just not sure you can create an object that you could place on a master layout and behave differently on each layout...
But what I understand you are trying to do is far more complex, so please correct me if I'm wrong: you want to place objects in standard views (plan, sections, details, etc), then place those views in layouts and create a schedule object that will know what views are placed in each layout and if they contain the objects you want to schedule? If that is what you are after, I don't think GDL can go that far. Something like this would need to be programmed using the API, and is way more advanced.
There might be some other workarounds, or maybe a different way to show what you want.