cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Exclude "Call" object from .pla

JGoode
Expert
Hello,

I am creating an object for our libraries that when saved as a .pla I don't want it to include the macros that it calls. Is this possible in AC21?

Thanks
ArchiCAD 23

Windows 10
7 REPLIES 7
I have not tried it... but if a called string is a variable....it may be doable

some kind of:
xx=""
xx="somefile.gsm"

call xx ....

I am not sure if it works... just thinking loud...

in UI script - such way called bitmaps are not included in pla... so maybe the same will work for gsm's
(file_dependency command must be used for them to be included...)

Piotr
JGoode
Expert
Piotr wrote:
I have not tried it... but if a called string is a variable....it may be doable

some kind of:
xx=""
xx="somefile.gsm"

call xx ....

I am not sure if it works... just thinking loud...

in UI script - such way called bitmaps are not included in pla... so maybe the same will work for gsm's
(file_dependency command must be used for them to be included...)

Piotr
Excellent! Didn't even consider this. Thanks very much!
ArchiCAD 23

Windows 10
JGoode
Expert
Is there a way not have an error show up if the call isn't successful?
Thanks
ArchiCAD 23

Windows 10
Barry Kelly
Moderator
JGoode wrote:
Is there a way not have an error show up if the call isn't successful?
Thanks
In the Work Environment > Imaging and Calculation you can turn off error messages.
But this will apply to all error messages and obviously an error message is there to tell you that there is a problem that should be fixed - like including macros used in CALLS.

The other way not to get that particular CALL error is to edit your object so it does not CALL anything in the first place.

I am a bit confused as to why you would not want to include the CALLed object, but then you don't want a message to say the CALL didn't work.
Just edit your object so it doesn't CALL anything you don't want it to.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
JGoode
Expert
The reason is that we have created objects which include links to guides on a layout. So when we send our stuff out, they don't have access to the link or even know it is there. Basically a safeguard.
Creating the call was the only option I could come up with to do this as I didn't think that there was an alternative option that would work with archicad.
ArchiCAD 23

Windows 10
Barry Kelly
Moderator
So you have an object that CALLs another object that has the link you mention?

I don't know how many licenses you have but can you use REQ ("Serial_number"0 and then compare that to a list of your actual licences numbers?
Then if there is a match, go to the link or even still CALL the link macro.
I haven't tried this but I think it should work.

Of course you can password protect your object so your license numbers are safe and can't be altered for anyone to gain access to the links.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
JGoode
Expert
Barry wrote:
So you have an object that CALLs another object that has the link you mention?

I don't know how many licenses you have but can you use REQ ("Serial_number"0 and then compare that to a list of your actual licences numbers?
Then if there is a match, go to the link or even still CALL the link macro.
I haven't tried this but I think it should work.

Of course you can password protect your object so your license numbers are safe and can't be altered for anyone to gain access to the links.

Barry.
Excellent idea! I didn't even know such thing existed in ArchiCAD. I think it's as close to perfect as i'm going to get.

Thank you very much!
ArchiCAD 23

Windows 10