sketchucation logo sketchucation
    • Login
    1. Home
    2. pvbuero
    3. Topics
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 29
    • Groups 1

    Topics

    • P

      How to input a time ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      15
      0 Votes
      15 Posts
      1k Views
      P
      @dan rathbun said: @pvbuero said: Where to find the variable with the time ? def get_shadow_time > model = Sketchup.active_model > shadowinfo = model.shadow_info > shadtime = shadowinfo['ShadowTime'] > # shadtime is a Time class object > end > Ruby Time class from the 'Pick-Axe' book. Time class in Ruby Core Docs. I didn't mean in SU. I meant "variable with the time" in the javascript file ... But I think that's to much new stuff at once.
    • P

      Note disappears when sang is deleted

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      215 Views
      P
      Thanks a lot Thomas.
    • P

      Sun elevation and azimut

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      3k Views
      P
      Adam, I tried it. It is very close to what I need. I give you a PM with further details. Matthias
    • P

      How observers work ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      18
      0 Votes
      18 Posts
      2k Views
      thomthomT
      @dan rathbun said: @thomthom said: @dan rathbun said: (1) Jim did not subclass from Sketchup::ShadowInfoObserver No need. Su doesn't care. Just implement the methods required. I knew that Sketchup does't (currently,) check the observer's superclass. But isn't it a matter of good Ruby programming practice? And, what if (in the future,) Google implements some built-in methods, constants, etc. in the superclass that will need to be inherited by your custom observer's subclass(es)? You'd have to go and edit and re-release all your plugins that use observer's. Kind of seem to be by design: http://forums.sketchucation.com/viewtopic.php?f=180&t=17047&start=150#p171636
    • 1 / 1