api-issue-tracker
api-issue-tracker copied to clipboard
Layout::Document.export Model Views not Rendering in SU23 - Layout::SketchUpModel renders incorrectly
- SketchUp/LayOut Version: macOS 23.0.366
- OS Platform: macOS Ventura
When using export in SU23 model views do not render correctly.
I took a file that exports correctly in SU22 and gave the following result for SU23.
The code I used was as follows
def self.pdf_export_debug
doc = Layout::Document.open("/Users/***/Downloads/Untitled.layout")
stat = doc.export("/Users/***/Downloads/Untitled.pdf" )
end
I see a little warning along the right edge of the image that says, "Rendering failed. Reduce the image size or DPI."
The documentation tells you how to use optional hash arguments to control resolution, dpi and compression.
What the documentation does not say is what the default options are.
Thanks Dan, I should have listed that in the description.
45% of the time i get the error "Rendering failed. Reduce the image size or DPI."
The other 45% i get an image like the following

10% the Model View Renders Correctly
Also i have tried to reduce the image size with the following with the same failed outcome
def self.pdf_export_debug
doc = Layout::Document.open("/Users/***/Downloads/Untitled.layout")
stat = doc.export("/Users/***/Downloads/Untitled.pdf",
{ output_resolution: Layout::PageInfo::RESOLUTION_LOW, compress_images: TRUE} )
end
Exports correctly with the following
- SU22 Layout::Document.export
- LO23 export window
This last image makes me wonder if it's a graphics card driver issue. Have you tried updating your drivers?
Update my drivers? This is macOS.
I have tried adjusting the following with same failed outcome
- (0, 4, 8) multisample anti-aliasing
- Toggle Use Fast Feedback
- Toggle Use Maximum texture size
My Graphics Card is

Your graphics details read "OpenGL 2.1" !
SketchUp (and so LayOut) have required a minimum of OpenGL 3.1 since v2017.
REF: https://help.sketchup.com/en/sketchup/system-requirements
- EDIT: As Colin has notified us below, Graphics Details dialog is working as intended and does not actually say what the Mac system's OpenGL capabilities are, but what version level of OpenGL functionality SketchUp is using on the Mac.
Thanks again Guys, We got done to the root of the issue.
From the requirements you linked to i followed the up to date link Steps to update OpenGl are to keep macOS on the latest version (which I have).
According to Apple my computer supports the following - [https://support.apple.com/en-us/HT202823]
- OpenGL 4.1
- OpenCL 1.2
A quick poll in my office has everyone on OpenGL 2.1 as listed in SU23 Graphics. *Previous SU versions did not shown in OpenGL version in "Graphics Card Details".
In my last hour of research I can not even find to do the following
- see the installed versions of OpenGL on my machine.
- force SketchUp to require a different version of OpenGL
By the way, ... it helps if you attach a test model to the initial post of an issue, so the code snippet can be tested on other machines.
I'm not an Apple guy so I cannot help with this dilemma. Can Apple support or forums help ?
I can share models but not publicly, if a SU Employee needs a model they can message me.
If it happen on a particular model only we'd be very interested in inspecting the file. (If so, you can send it to us via [email protected])
I'll ask internally about the OpenGL version being reported. What kind of mac model and specs do you have?
@3dmod Have you tried this on the latest SketchUp release 23.0.418 ? The FreeImage library SketchUp uses was rebuilt with updates. (Probably a long shot.)
In my last hour of research I can not even find to do the following
- see the installed versions of OpenGL on my machine.
See this post in the public SketchUp forum ...
[Howto] Where to find Hardware Graphics Info for your SketchUp forum profile
23.0.418 did not solve the issue.
Thanks for linking to the forum post about Hardware Graphics, it did not help me find my installed OpenGL versions.
I get all viewports looking like this now, none of them have the red cross with the text "Rendering failed. Reduce the image size or DPI.".
Also thanks for following up, this is still very much an issue that I run into daily
@3dmod Thomas asked a hardware question that you've not yet answered ...
@thomthom I'll ask internally about the OpenGL version being reported. What kind of mac model and specs do you have?
Probably they want to know what the GPU is from the Apple page you linked.
I am assuming you have Intel Mac machines as the screenshot shows an ATI Radeon GPU of some kind.
~~I see two problems~~:
(1) SketchUp 23 thinks 3rd party GPUs are only OpenGL v 2.1 capable on your Intel Mac machines.
(2) SketchUp 23 does not list this as a warning in the Graphics Details dialog, but should since SketchUp requires graphics that supports OpenGL version 3.1 or higher.
- EDIT: As Colin has notified us below, Graphics Details dialog is working as intended and does not actually say what the Mac system's OpenGL capabilities are, but what version level of OpenGL functionality SketchUp is using on the Mac.
Sorry,I have left this in my court. This is an issue that still greatly affects my workflow.
My Computer
SU 23.0.418 Graphics Card Details
This is an issue for all versions SU versions greater then 22.
I will email a sample file over now for you to view
@thomthom Did you get the file I sent? The label still says "Needs more info", I want to get you a reproducible example if that one did not work.
This issue is a regression that is critical to my workflow.
Yes, I've seen a couple of emails with files. But I've just gotten back from vacation, I have a long backlog to dig through.
I'm signed up with Github personally, but happen to be a QA Engineer at SketchUp.
I asked about this, and on Mac OpenGL 2.1 has all of the features SketchUp needs. SketchUp only asks if 2.1 is available, and that's what shows in the dialog. There isn't a check to see what the latest version is. The dialog is only saying that Yes, OpenGL 2.1 is there.
Logged as: SKEXT-4042