sketchucation logo sketchucation
    • Login
    1. Home
    2. sonjachr
    3. Topics
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 20
    • Groups 1

    Topics

    • S

      Extension creation code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      445 Views
      TIGT
      You have omitted some code and added in other unneeded code. Try: ` # Load the normal support files. require 'sketchup.rb' require 'extensions.rb' Create the extension. ext = SketchupExtension.new('pluginName', File.join('pluginFolder', 'pluginLoader.rb')) # Optionally 'name' the Extension - it can differ from the registered name. ext.name = 'pluginName' Attach some nice info. ext.creator = 'xxxxx' ext.version = '1.0.0' ext.copyright = '2016, xxxxxxxx' ext.description = 'xxxxxxxxxxxxxxxxxxx' # This 'path' is NOT needed. ext.extension_path=File.join(File.dirname(FILE), "pluginFolder" ) Register and load the extension on startup. Sketchup.register_extension(ext, true)` Add in the bold code and remove the struck-through code...
    • S

      Move group to left corner of screen

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      719 Views
      S
      Wow! This is awesome! It works! Thanks a lot. I almost gave up! Good to know, that there are real experts in this forum who are willing to help. Thanks again.
    • S

      Apply images to terrain using ruby code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      610 Views
      sdmitchS
      @sonjachr said: Many Thanks, this works, I really appreciate your help! I feel ashamed as I should have found the solution by myself. I will try to work harder on my Sketchup/Ruby knowledge, but I will never become an expert as you are. Great, glad I could help.
    • S

      Start_operation/commit_operation with sandboxTools

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      567 Views
      fredo6F
      Just published the API in the main TopoShaper thread. Documentation is attached in the main post. Fredo
    • S

      Win32ole access violation

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      601 Views
      icehuliI
      I think you need to use another thread for the WinForm windows, e.g MessageBox. I checked the following code. It works. It actually makes more sense to let the WinForm window in a separate thread other than the Sketchup's thread. Imports System.Windows.Forms Public Class MyFunctions Private Sub showMessage(ByVal msg As String) MessageBox.Show(msg) End Sub Public Function AddMyValues() Dim Result As Double Result = 20 Dim t1 As New Threading.Thread(AddressOf showMessage) t1.Start(Result) Return Result End Function End Class
    • S

      RBZ installation on MAC OS

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      492 Views
      S
      Hi John, many thanks for your quick reply. It was really helpful. I am now using the command line of winzip in my Powershell script, as you have proposed. The generated RBZ file is now working on my MAC also. Thanks a lot for your help. Sonja
    • S

      Problem with modules and classes: undefined method

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      455 Views
      S
      **It works!**Thanks a lot, you saved my weekend!
    • 1 / 1