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

GDL
About building parametric objects with GDL.
SOLVED!

Using "Name_of_macro" in a macro

JGoode
Expert

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
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

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
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

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

ArchiCAD 23

Windows 10