View Image on 2D Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- last edited
3 weeks ago
by
Laszlo Nagy
Hello everyone,
I hope you're doing well! I’m working on a project in Archicad, and I want to create a table with an image (PNG, JPG, etc.) inside one of the table cells. I also need the image to be visible in the 2D view. How can I achieve this?
The code that I have tried:
table_width = 300
table_height = 200
rect2 0, 0, table_width, table_height
line2 0, 100, table_width, 100
line2 100, 0, 100, table_height
DEFINE STYLE "BigText" "Arial", 20, 5
SET STYLE "BigText"
text2 10, 180, "Tên Sản Phẩm"
text2 120, 180, "Mô tả"
PICTURE "Matsau.jpg", 10, 10, 100, 100
Thank you in advance for your help!
Solved! Go to Solution.
- Labels:
-
Discussion
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
You still have the picture command wrong.
Try ... PICTURE2 name, x, y, mask
PICTURE2 "Matsau.jpg", 10, 10, 1
I think the image needs to be in the embedded library as I can't seem to add an image in my loaded library.
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
3 weeks ago
In 2D script you will need PICTURE2 or PICTURE2{2}.
PICTURE on its own is for the 3D script.
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
3 weeks ago
- last edited
3 weeks ago
by
Laszlo Nagy
Thank you, Mr. Barry,
I have tried it but still cannot see the image. I have placed it into the Embedded Library, but it still doesn't work. Could you please assist me further?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
You still have the picture command wrong.
Try ... PICTURE2 name, x, y, mask
PICTURE2 "Matsau.jpg", 10, 10, 1
I think the image needs to be in the embedded library as I can't seem to add an image in my loaded library.
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
3 weeks ago
- last edited
3 weeks ago
by
Laszlo Nagy
Thank you sir

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You still have the command wrong.
it is in the format name, x-size, y-size, mask.
PICTURE2 "demo.png", 10, 10, 1
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
3 weeks ago - last edited 3 weeks ago
Thank you sir, It's done