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

    Topics

    • C

      Mysterious Bug [followme related]

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      30
      0 Votes
      30 Posts
      603 Views
      Dan RathbunD
      No problem... Just a note that the disposal of the tools filename array needs to be inside the conditional true blocks. (Otherwise we might get an error with the & method if tools gets set to nil, prematurely.) # run when file loads # prevdir = Dir.getwd Dir.chdir Sketchup.find_support_file("Tools") tools = Dir["*.rb"] Dir.chdir(prevdir) prevdir = nil if ( tools & $LOADED_FEATURES == tools ) && Sketchup.active_model && Sketchup.active_model.active_entities && Sketchup.active_model.tools.active_tool_id != 0 UI.start_timer(2.0, false){ LineA.create_line } tools = nil else timer_LineA = UI.start_timer(2.0, true){ if ( tools & $LOADED_FEATURES == tools ) && Sketchup.active_model && Sketchup.active_model.active_entities && Sketchup.active_model.tools.active_tool_id != 0 UI.stop_timer(timer_LineA) tools = nil LineA.create_line end #if } end
    • C

      Error Message

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      275 Views
      thomthomT
      @chris88 said: the problem is solved I'm curious to what it was...
    • C

      Problem with color

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      287 Views
      C
      Great! Thank you, i like this forum more and more. Merry Christmas and happy holidays to all!
    • C

      Ruby Code Generator

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      565 Views
      Dan RathbunD
      And I see you just joined SCF, so I'll assume your new to Ruby... see: Ruby Newbie's Guide to Getting Started Get the CHM Ruby Reference, as instructed in the Guide... Get the full Ruby installer: Ruby (v1.8.6-p287) Windows One-Click Installer Get the !loadpaths.rb script (so you can access standard Ruby lib files): [Code] Ruby LOAD PATHs script (Win32) (Dan Rathbun / Jim Foltz)
    • C

      Parameter passing across two files

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      124 Views
      C
      Great! Thank you Dan.
    • C

      Sketchup Lib

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      505 Views
      C
      Mhh that's a pity! But anyway thank you TBD
    • C

      Load & Put Components Together

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      429 Views
      sdmitchS
      Chris, The code works perfectly as far as it was designed to do and that was to place instance1 beside instance2. Only you know how you want and need the components to be related to each other and only you have the components to work with.
    • 1 / 1