sketchucation logo sketchucation
    • Login
    1. Home
    2. zfjoy520
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    Z
    Offline
    • Profile
    • Following 5
    • Followers 0
    • Topics 0
    • Posts 2
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Rotate Plan View - Updated for 2024

      @TIG

      Yes, in SU 2024, not only File.exists? is removed, Fixnum in SU 2024 raise errors too.

      see Ruby 3.2 full release notes here:
      https://github.com/ruby/ruby/blob/v3_2_2/NEWS.md

      We fixed in our plugins like this:

      # Fix undefined method `exists?' error for Dir:Class, File:Class
      # see: https://github.com/ruby/ruby/blob/v3_2_2/NEWS.md
      # Removed methods:
      # Dir.exists? [Feature #17391]
      # File.exists? [Feature #17391]
      Dir.respond_to?(:exists?) || Dir.singleton_class.alias_method(:exists?, :exist?)
      File.respond_to?(:exists?) || File.singleton_class.alias_method(:exists?, :exist?)
      defined?(::Fixnum) || Kernel.const_set(:Fixnum, Integer)
      
      posted in Plugins
      Z
      zfjoy520
    • RE: Rotate Plan View - Updated for 2024

      @Sl-m

      It's too simple, edit the plugin file with notepad like this:

      open a terminal with command "cmd", and copy the code, mouse right click or Ctrl + V to paste the code into the terminal.

      notepad.exe "%HOMEPATH%\AppData\Roaming\SketchUp\SketchUp 2024\SketchUp\Plugins\Rotateplanview.rb"
      

      find and remove the 's' from Line 76,
      change "if File.exists?" to "if File.exist?" and save it.

      reboot your SU 2024, it's ok now.

      posted in Plugins
      Z
      zfjoy520
    • 1 / 1