parameter buffer in macros
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-09-22
04:50 PM
- last edited on
2021-09-15
09:45 AM
by
Noemi Balogh
2020-09-22
04:50 PM
Hi!
I would like to use macro and i would like to "transfer" several values to the macro. Is there any way to just tranfer a parameter buffer when using a macro??
for example
main 3D script:
put 0, 0, 15,
a, 0, 15,
a, b, 15,
0, b, 15 (etc.etc)
call "cprism_creator" parameters all
cprism_creator script:
cprism_ top, bottom, side, nsp/3, h, get(nsp)
I would like to use macro and i would like to "transfer" several values to the macro. Is there any way to just tranfer a parameter buffer when using a macro??
for example
main 3D script:
put 0, 0, 15,
a, 0, 15,
a, b, 15,
0, b, 15 (etc.etc)
call "cprism_creator" parameters all
cprism_creator script:
cprism_ top, bottom, side, nsp/3, h, get(nsp)
Labels:
- Labels:
-
Library (GDL)
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-09-22 06:24 PM
2020-09-22
06:24 PM
This is exactly how it works.
There can be only one buffer, so a macro will have the same stack as the main object, and can modify the stack.
There can be only one buffer, so a macro will have the same stack as the main object, and can modify the stack.
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»