We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-07-06 10:13 AM
Hi there,
I have a Zone that refers to a macro and in that macro a LibraryGlobal-object "ZoneLibraryGlobal" is called.
Now when I save a file which includes a Zone as an Archive file (*.pla) then I get the Report "Cannot find Library Part or Image : ZoneLibraryGlobal".
I thought I needed to include file dependency by adding the code in the Master Script
FILE_DEPENDENCE "ZoneLibraryGlobal"
but that does not seem to change anything.
Can you help me out?
With kind regards,
Jeroen de Bruin
2023-07-07 09:44 PM
selfgdl.de writes:
"An arbitrarily long list of file names (filenamei) without path specification, which describes which additional files for data, images and macros the object requires for correct execution.
Files called by macros in turn are only taken into account if the macro call in the main object is in plain text. In this case, however, its listing in FILE_DEPENDENCE is not necessary anyway (see background).
FILE_DEPENDENCE therefore only works on the main object level. FILE_DEPENDENCE statements in the macros are ignored. The files required there must therefore also be listed in the main object."
Please try this, if you have'nt already.
2023-07-10 12:32 PM
Thanks Joachim for your response.
However it did not have any effect. Now I tried to have this line of code both in the original object and the macro, but no succes.
By the way, the particular macro is included in the archive file anyway....
regards,
Jeroen