sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    DCs: Global Variables or even embedded Ruby

    Scheduled Pinned Locked Moved SketchUp Feature Requests
    sketchup
    1 Posts 1 Posters 878 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • plot-parisP Offline
      plot-paris
      last edited by

      firstly I would like to be able to define Global Variables within dynamic components, that allow you to pass on information from child-components to parent components or from brother- to sister-component...
      there could be three methods, how these could be implemented:

      • they work within all subcomponents, all the way up to the DC highest in the hierarchy.
      • they work within the whole SketchUp model (dangerous, because DCs of different artist may share the same global variables)
      • they only go only up the hierarchy to the highest component they have been defined in (so if you only define it in a sub component, it doesn't reach the master component)

      secondly it would be fantastic to be able to 'embed' ruby code in a dynamic component.
      you would be able to define and use not only variables, but whole classes, methods and whatever ruby lets you do.
      so basically you would write your scripts inside a Dynamic Component! thus you could add tremendous power to objects, that exceed todays DC-capabilities by miles. and the great thing: to use this power all the user would have to do is to place the component in the model. no copying of ruby scripts into the plugins folder. and whats more: these scripts would be loaded dynamically, only when the component is used...

      what do you think of that (absolutely brilliant) idea? πŸ˜„

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement