We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-06-29 08:54 AM
I'm making an object that acts like a stamp. It's our alternative way to using acrobat's pdf stamps. Anyways I've come across an issue where I can preview the object in the object setting since it only works in layout/publisher.
In the screenshot it only shows what it will look like when the user places the object in 2D plan. The actual object only appears in layout. How do I make the 2D preview show layout instead?
The object shows up when the user places it then opens object settings.
Solved! Go to Solution.
2023-06-29 09:30 AM
@jackjackjackjack wrote:
The object shows up when the user places it then opens object settings.
That is because it does not do what it needs to do until you place it on a layout.
Until then it has no idea what it needs to display.
The best you can do is take a screen image of what it look s like when on a layout, and paste that into the 'Picture Preview' window in the GDL editor.
Then the preview image of the object will at least show what it will look like.
Barry.
2023-06-29 09:30 AM
@jackjackjackjack wrote:
The object shows up when the user places it then opens object settings.
That is because it does not do what it needs to do until you place it on a layout.
Until then it has no idea what it needs to display.
The best you can do is take a screen image of what it look s like when on a layout, and paste that into the 'Picture Preview' window in the GDL editor.
Then the preview image of the object will at least show what it will look like.
Barry.
2023-06-29 09:39 AM
If your object has various ways to display, it might sometimes be a good idea to make an image that shows those variations.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2023-06-30 05:32 AM
Thanks barry,
I was hoping to avoid the picture preview and somehow point 2d preview to layout instead.
I think this has forced my hand
2023-06-30 09:53 AM
There is a very easy solution. Since you already test for GLOB_VIEW_TYPE (= 8 == Layout), just amend that IF loop with GLOB_PREVIEW_MODE = 1
.
Then you'll see the layout stuff in the preview.