Skip to content
07-848 2005

SketchUp, troubleshooting and performance

Fixing a blank dialog or SDK error when exporting from SketchUp

Fix SketchUp exports to FBX, OBJ, 3DS, VRM or XSI that fail with a blank dialog box on Windows or an error on a Mac such as "SketchUp SDK error: An error has occurred resulting in an invalid output file..."

On this page
  1. Export problem
  2. Cause
  3. Solution

Export problem

When you export a SketchUp file to FBX, OBJ, 3DS, VRM or XSI, the export may fail. On Windows, you see a blank dialog box. On a Mac, you see an error such as "SketchUp SDK error: An error has occurred resulting in an invalid output file..."

Cause

The likely cause is a material that uses an image with no file extension. For example, the image may be named "brick" instead of "brick.jpg" or "brick.png".

Solution

Find the materials whose texture images have no file extensions, then fix or remove them. In models with many textures, use the Ruby command below to find these materials.

  1. Select Window > Ruby Console to open the Ruby Console.
  2. Copy and paste this line into the Ruby Console:

    Sketchup.active_model.materials.each {|m| puts "\n" + m.display_name if (not m.texture.nil? and not m.texture.filename.include? "." )}
  3. Press Enter. The Ruby Console lists any materials whose texture images have no file extensions. Follow the steps below for each listed material.
    1. Select Window > Materials to open the Materials dialog.
    2. Click the Home button to view your In Model materials.
    3. Fix the listed materials so their texture images have valid file extensions, or delete the materials. Deleting them removes them from your model.

To fix the texture images' file extensions, follow the steps for your operating system below.

  1. On Windows, select the first affected material in the Materials browser.
  2. Right-click and select Export texture image to export the texture to your desktop. Give it a valid file extension, as in "my_texture.jpg."
  3. Click the Edit tab in the Materials browser.
  4. Click Browse under "Use texture image" and find the texture you exported in step two.
  5. Click Open. The material should now use a texture image with a file extension.
  6. Repeat steps 2-5 for any other materials whose texture images have no file extensions.
  7. Try exporting again to check that the export succeeds.
  8. On a Mac, select the first affected material in the Materials browser.
  9. Right-click and select Edit to open the texture tweaker at the bottom.
  10. Click Edit texture image with external editor (the brown cube with the orange arrow). The image opens in your default image editor, usually Preview.
  11. If the image opens in Preview, select File > Save As or File > Export to save it to your Desktop. Give it a valid file extension, such as "my_texture.jpg".
  12. In SketchUp, double-click the same material in the Materials browser to expand the texture tweaker again.
  13. Select Load from the Texture drop-down menu.
  14. Browse to your Desktop and select the image you saved in step 4.
  1. Repeat steps 2-5 for any other materials whose texture images have no file extensions.
  2. Try exporting again to check that the export succeeds.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your SketchUp licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Technical support from our New Zealand team is available with a current Procadsys SketchUp Plus subscription: Pro Plus, Pro Scan Plus, Pro Civil Contractor Plus, Pro Advanced Workflows Plus or Studio Plus.

Initial response within one business day.

On another SketchUp plan? Technical problems go to Trimble support.