We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

Include Macro in Archive file (PLA)

Jeroen
Booster

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 

2 REPLIES 2
Jochen Suehlo
Moderator

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.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
KUBUS
Graphisoft Partner
Graphisoft Partner

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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!