GDL
About building parametric objects with GDL.
SOLVED!

how can i access a "call" parameters?

Otavio Augusto
Enthusiast

 

I opened an object from Archicad to study and analyze its scripts and parameters. However, it uses a function called "call," which brings some scripts that must be located somewhere in the program. Unfortunately, I can't seem to find them. I would like to see how it uses some of these scripts and try to incorporate them into an object that I'm creating.

 

The entire script that is included in the object is

 

call "Switch_symbol" parameters all \
		bHotspotsOnCircle = 0,
		bText = 1,
		iSwitchType = 9

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

If you highlight the name between the parentheses after call, and hit control shift o or command shift o for Mac and it will open the macro that it's calling

View solution in original post

3 REPLIES 3
Solution

If you highlight the name between the parentheses after call, and hit control shift o or command shift o for Mac and it will open the macro that it's calling

I didn't know that, I always looked for the macro manually. That will come handy.

 

julienK
Advocate

call is used to 'call' a 'macro' which is external to the object you're looking at. A macro is another  gdl object  that  is inserted inside you  current gdl object.

 

Its not like a gosub were the code is actually in the object.