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

    Topics

    • K

      Sharing variables between functions

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      158 Views
      K
      amazing how easy things are sometimes. guess i have a long way to go thanks! D
    • K

      Deleting Layers - or....

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      182 Views
      TIGT
      Around line #302 is the text end#def Volume::process place you additional code on its own line, just before that - vol.erase! etc to remove the vol-group etc...
    • K

      Determine User Operating System

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      145 Views
      Dan RathbunD
      I have collected some links to Platform differences in the [ Code Snippets ] index.
    • K

      Import CSV to extract values

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      2k Views
      K
      @tig said: Ken... I've given you an example in the 'parallel thread' that you started. Yep, got that TIG. Thanks..and sorry for repeating the post.
    • K

      UI Menus - check boxes? multiple UI boxes at once?

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      2
      0 Votes
      2 Posts
      297 Views
      jolranJ
      I think you might get more answers in the developping forum, asking this. But I'll give it an attempt. NO. You need Webdialog for checkbox. (very sad indeed) I'm guessing no, since we are doing promts. Prompts need to be delt with, and what you are saying you want to do, there is already 1 prompt running when you want to excecute another. Hopefully I'm wrong. However you can have multiple promts succeding each other. For ex(biased info), like Hatchfaces crosshatching. By dropdownlist user selects YES or NO for crosshatching and click OK on the inputbox, who closes. IF you clicked YES for "crosshatching", another different prompt pops up. Stuff like that. You can have a look at the code. TIG helped me with that, so it should be "OK" on that part..
    • K

      Ruby Equivalent of Move/Copy

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      4k Views
      TIGT
      You can only use entities.add_instance() of a definition, BUT there's no built in group.definition method , BUT all components, groups and images are all just types of instances of a definition. To find a group's definition you have to find its entities' parent which is the definition - so defn = group.entities.parent ComponentDefinition just as the much snappier method defn = instance.definition does for a component-instance ! The second argument of the entities.add_instance(defn, **tr**) is the transformation used to place/manipulate the new instance...
    • K

      REQUEST: (for help) - Make a box in Ruby

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      8
      0 Votes
      8 Posts
      389 Views
      TIGT
      Well said thomthom... My code snippets will work in the Ruby Console for testing... BUT a typical format for simple code is ` module Kybasche def self.box() box code in here end endThen Kybasche.box()` draws a box You add to it with extra code, like a dialog for its sizes or material[s]... If you want to make a tool [class] where you pick points etc then this can be done inside the module too...
    • 1 / 1