Is there a way to specify which 2D the object preview shows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Library (GDL)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»