sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    2014 Make edit material MAC

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    36 Posts 8 Posters 2.4k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dave RD Offline
      Dave R
      last edited by

      I guess I do get the same thing with or without the '.' in SketchUp 2014.

      So I see this:
      2014-03-07_06-35-14.png

      The top file in the list is the material image I've opened from SketchUp in PSE.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • M Offline
        mwm5053
        last edited by

        Mine's in MacHD / Private /var /folders /and screen shot better to explain


        Screen Shot 2014-03-07 at 5.41.10 AM.png


        Screen Shot 2014-03-07 at 5.40.49 AM.png

        2011 iMac
        SU 2015 Pro, 2017 Make
        V2 Twilight
        macOS Sierra 10.12.5

        1 Reply Last reply Reply Quote 0
        • M Offline
          mwm5053
          last edited by

          Using Pixelmator in pref image editor

          2011 iMac
          SU 2015 Pro, 2017 Make
          V2 Twilight
          macOS Sierra 10.12.5

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            So check all of the folder levels and make sure they all have Read & Write permissions set.

            Have you tried editing more than one texture image? Do you get the error message with any texture?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              @dave r said:

              Should that be = ENV["TMPDIR"] + "com.sketchup.SketchUp 2014." + ENV["USER"] UI.openpanel(path, path)?

              Odd thing re the dot... mine has it and needs it, it's very uncommon and bad practice to have spaces in TMP path names...
              john

              learn from the mistakes of others, you may not live long enough to make them all yourself...

              1 Reply Last reply Reply Quote 0
              • M Offline
                mwm5053
                last edited by

                @ john how do I show hidden folders in Lion 10.7 I used some terminal command suggested on internet but didn't work

                defaults write com.apple.finder AppleShowAllFiles

                2011 iMac
                SU 2015 Pro, 2017 Make
                V2 Twilight
                macOS Sierra 10.12.5

                1 Reply Last reply Reply Quote 0
                • D Offline
                  driven
                  last edited by

                  @mwm5053 said:

                  Using Pixelmator in pref image editor

                  tested 'Pixen' as well but don't have 'Pixelmator'.

                  does it work with any other editor on your mac?

                  re. hidden files
                  in 'Ruby Console'

                  `defaults write com.apple.finder AppleShowAllFiles TRUE`
                  

                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    driven
                    last edited by

                    @mwm5053 said:

                    Using Pixelmator in pref image editor

                    tested 'Pixen' as well but don't have 'Pixelmator'.

                    does it work with any other editor on your mac?

                    re. hidden files
                    in 'Ruby Console'

                    `defaults write com.apple.finder AppleShowAllFiles TRUE
                    killall Finder`
                    

                    ADDED the killall that makes it run, FALSE will turn them off again...
                    john

                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mwm5053
                      last edited by

                      Ok works now must have been a permission thing like Dave said but thanks Dave and John 😄

                      2011 iMac
                      SU 2015 Pro, 2017 Make
                      V2 Twilight
                      macOS Sierra 10.12.5

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Hendrik_G
                        last edited by

                        I'm having the same "Failure to Save File" issue when I tried to edit any of my textures in SU2015 running Mac Yosemite. I've read this discussion, and I'm still unable to resolve my issue. I'm hoping someone can help me or let me know what I'm missing. I've tried the following:

                        When, as suggested above, I entered this into SU's Ruby Console:
                        = ENV["TMPDIR" + "com.sketchup.SketchUp 2014." + ENV["USER"]
                        UI.openpanel(path, path)]

                        I received the following error: %(#FF0000)[Error: #<SyntaxError: <main>: syntax error, unexpected '='
                        = ENV["TMPDIR"] + "com.sketchup.SketchUp 2014." + ENV["USER"]
                        ^>
                        SketchUp:1:in `eval']

                        I searched and found "com.sketchup/SketchUp 2015/" in this location:
                        Library/Caches/com.sketchup.SketchUp.2015/

                        I've attached a screenshot of the contents of this folder.

                        I confirmed in the Get Info window that my user had Read/Write access to that entire folder path and the contents within.

                        I'm still having issues. Any help would be greatly appreciated.

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @hendrik_g said:

                          I'm having the same "Failure to Save File" issue when I tried to edit any of my textures in SU2015 running Mac Yosemite. I've read this discussion, and I'm still unable to resolve my issue. I'm hoping someone can help me or let me know what I'm missing. I've tried the following:

                          what application are you trying to use for your external editor?

                          i haven't read through the thread but i did see pixelmator mentioned and in its case, the default setting is to open any file in its .pxm format instead of .jpg/.png/etc..

                          so, if your external editor is opening/converting the file, it won't save back into sketchup properly..

                          in other words, i don't think this is a permissions issue. (not ruling it out.. just check some other stuff first)

                          dotdotdot

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            Hendrik_G
                            last edited by

                            I didn't have an application specified. I just tried specifying Photoshop CC, and then Preview - no change.

                            I think the problem your describing would potentially be an issue if I could even get the image to open. The problem is that I right click a texture, select "Edit Texture" and receive the error message "Failed to Save File" and nothing opens.

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              @hendrik_g said:

                              I didn't have an application specified. I just tried specifying Photoshop CC, and then Preview - no change.

                              for clarity.. you do have an editor assigned at SketchUp-> Preferences-> Applications ,right?

                              Screen Shot 2015-01-23 at 12.51.37 PM.png

                              dotdotdot

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                Hendrik_G
                                last edited by

                                Yes, I have tried assigning both Photoshop and Preview

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  slbaumgartner
                                  last edited by

                                  @hendrik_g said:

                                  I'm having the same "Failure to Save File" issue when I tried to edit any of my textures in SU2015 running Mac Yosemite. I've read this discussion, and I'm still unable to resolve my issue. I'm hoping someone can help me or let me know what I'm missing. I've tried the following:

                                  When, as suggested above, I entered this into SU's Ruby Console:
                                  = ENV["TMPDIR" + "com.sketchup.SketchUp 2014." + ENV["USER"]
                                  UI.openpanel(path, path)]

                                  I received the following error: %(#FF0000)[Error: #<SyntaxError: <main>: syntax error, unexpected '='
                                  = ENV["TMPDIR"] + "com.sketchup.SketchUp 2014." + ENV["USER"]
                                  ^>
                                  SketchUp:1:in `eval']

                                  I searched and found "com.sketchup/SketchUp 2015/" in this location:
                                  Library/Caches/com.sketchup.SketchUp.2015/

                                  I've attached a screenshot of the contents of this folder.

                                  I confirmed in the Get Info window that my user had Read/Write access to that entire folder path and the contents within.

                                  I'm still having issues. Any help would be greatly appreciated.

                                  Not sure about the root cause of your issue, but the problems with the code above are that you missed part of it and need to alter it for 2015:

                                  <code>
                                  path=ENV["TMPDIR"] + "com.sketchup.SketchUp.2015." + ENV["USER"]
                                  File.writeable?(path)
                                  </code>

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by

                                    check if SU agrees with you about which editor to use...

                                    %x(defaults  read  com.sketchup.SketchUp.20#{Sketchup.version.to_i} "Preferences").match(/"Image.+$/)
                                    

                                    mine defaults to 'Preview' if none is set...

                                    post your result, and we can go on from there...

                                    john

                                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      driven
                                      last edited by

                                      There is definitely a 'trick' to to using with 'Preview'...

                                      the catch 22 is I can't save or navigate to where SU places the file for copying because 'Preview' considers it a 'no go' area...

                                      however, if I put that folder in my sidebar, I can navigate to it from 'Preview', 'click' on the same name image [to fix the name], then save...

                                      to get the folder into your 'Sidebar', run this and 'drag' the 'com.sketchup...' folder to the sidebar...

                                       path = ENV["TMPDIR"] + "com.sketchup.SketchUp.20#{Sketchup.version.to_i}." + ENV["USER"]
                                      %x(open -R "#{path}")
                                          
                                      

                                      not sure what happens with photoshop...

                                      john

                                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        driven
                                        last edited by

                                        on a mac copy paste this into 'Rudy Console'

                                        path = ENV["TMPDIR"] + "com.sketchup.SketchUp.20#{Sketchup.version.to_i}." + ENV["USER"]
                                        UI.openpanel(path, path)
                                        

                                        and keystroke enter/return

                                        john

                                        UPDATED: should now work for any 20+ version of SU...

                                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by

                                          @dave r said:

                                          the folder that is being created is a temporary one but I wonder if the problem, Walt, is that one of the container folders needs Read and Write permission granted.

                                          @Dave && @walt

                                          that folder is ok, but you can confirm with

                                           path = ENV["TMPDIR"] + "com.sketchup.SketchUp.20#{Sketchup.version.to_i}." + ENV["USER"]
                                          #UI.openpanel(path, path)
                                          File.writable?(path)
                                          

                                          @Walt, have you re-added an editor to 'Preferences' , mine is failing with 'Graphics Convertor' and 'Preview', but works with 'Image Tricks'

                                          john

                                          UPDATED: should now work for any 20+ version of SU

                                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                                          1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            Hendrik_G
                                            last edited by

                                            @driven said:

                                            check if SU agrees with you about which editor to use...

                                            %x(defaults  read  com.sketchup.SketchUp.20#{Sketchup.version.to_i} "Preferences").match(/"Image.+$/)
                                            

                                            mine defaults to 'Preview' if none is set...

                                            post your result, and we can go on from there...

                                            john

                                            SU agrees. I have Preview assigned in Preferences and this was returned in Ruby Console:
                                            %x(defaults read com.sketchup.SketchUp.20#{Sketchup.version.to_i} "Preferences").match(/"Image.+$/)
                                            "Image Editor" = "/Applications/Preview.app"

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement