GDL
About building parametric objects with GDL.
SOLVED!

Using "Name_of_macro" in a macro

JGoode
Advocate

Hello,

 

I am trying to create a link in a macro object that will open up an email with the subject already filled in with the name of the object. The problem I'm having is that the subject of the email is always the name of the macro instead of the object that is calling the macro. Is there a way to get the Name_of_macro request to use the object calling the macro instead?

 

thanks

ArchiCAD 23

Windows 10
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator

Have you tried ... n = REQUEST ("Name_of_main", "", main_name)

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

View solution in original post

2 REPLIES 2
Solution
Barry Kelly
Moderator

Have you tried ... n = REQUEST ("Name_of_main", "", main_name)

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
JGoode
Advocate

That works and makes much more sense now that you mention it! Thank you very much

ArchiCAD 23

Windows 10