sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Attributes object skectchup in a char variable in Ruby?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 197 Views 2 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.
    • P Offline
      Pauline01
      last edited by

      Hi,

      I have create on sketchup one dynamic objet with some attributes as a name, a description, a lenght, a position x, y, z ect ect...

      The goal is to take this attribute when i click on this object and to put them in a char variable in a ruby script.

      It's possible?
      This is a function or i must to pass by listener/reaction ect ect ...?
      If you have an idea or somthething, it's cool.

      CYA

      Pauline

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Hi Pauline, you could make your own tool that allows the user to click on a Dynamic Component and it could read the content of the Dynamic component and store them in ruby variables. It is definitely possible to do if you write you own tool to do it.

        Does that sound like what you want to do?

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pauline01
          last edited by

          Y i want create a script who can put in a ruby variables some attribute of my dynamic object when i click on him, but i don't know how to do this...

          I know c, c++, java, php 5 but sketchup and ruby is new for me 😄.

          If you can help me, it's nice.

          thx

          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