Trouble Calling Macro...help
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2008-01-24 05:00 AM
‎2008-01-24
05:00 AM
I have successfully inserted the script into the 3D script of a couple of my objects; however, when I try to call it as a macro, nothing happens. My shelves remain empty, yet I get no error messages.
I've tried saving the script as a macro object, and also as a gdl script. Neither seems to work. I really prefer to call it as a macro instead of having to insert this entire script into a few dozen different objects.
I've searched through all the reference guides and tutorials... maybe I'm just missing something simple??? Any help is appreciated.
Currently using AC 11.
Calling the script by CALL "BookScript" PARAMETERS ALL
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2008-01-24 12:16 PM
‎2008-01-24
12:16 PM
Post the calling object and the macro in a ZIP file and I will take a look at it.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2008-01-24 06:58 PM
‎2008-01-24
06:58 PM
After struggling with this most of the night, I found that the problem was in passing my parameters to the macro. Once I finally went to bed, I was laying there, and it dawned on me that there were some really good reasons to leave the script as a SUB instead of calling it as a MACRO anyways.
- there is a parameter to specify the percentage of the shelves to fill, as a SUB in each object, I can specify different amounts for each object, creating a more realistic look.
- This allows me to turn it on/off at the object level. I really only need to have the books on for rendering, and this way I can turn them on for the objects in view instead of every single object in the project.
So after all that.... I'm back to just inserting it as a SUB.
Thanks anyways for the offer to help!!!
- there is a parameter to specify the percentage of the shelves to fill, as a SUB in each object, I can specify different amounts for each object, creating a more realistic look.
- This allows me to turn it on/off at the object level. I really only need to have the books on for rendering, and this way I can turn them on for the objects in view instead of every single object in the project.
So after all that.... I'm back to just inserting it as a SUB.
Thanks anyways for the offer to help!!!


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2008-01-24 07:47 PM
‎2008-01-24
07:47 PM
OK.
Glad it worked out.
Glad it worked out.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28