sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Simple question

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    5 Posts 4 Posters 1.7k Views 4 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.
    • J Offline
      Jorgensen
      last edited by

      Would it bee easy to covert an existing component to DC ?

      I have a café table, and would like the option to select if the table is emtpy or if it contains plates 😄

      It would be a nice way to fill a café

      Thanks

      sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        Hi Bo,

        Actually it should be easy - I mean no "harder" than from scratch since you should start with "simple" components anyway and add attributes to them during the "turning" (to DC) process.

        I think a hide/unhide command (if that is posible with DC's) could do this trick.

        Gai...

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          That would be very easy to do. You'd add a custom attribute to your Table component, say "Empty", and allwo the user to choose between Yes or No. Then you link the Hidden attribute of your component containing the plates to the "Empty" attribute.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • C Offline
            cosycat
            last edited by

            Attached is a basic file made up from items from the warehouse.
            If you use interact tool you can switch between and empty and full table

            To see how it works, go to Component Attributes and switch on formula view- notice how the custom variable 'empty' is referenced in the 'items' attributes i.e. table!empty

            Essentially it is as thomthom has described

            table.skp

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jorgensen
              last edited by

              Wow that was simple 😄

              Thanks.

              sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

              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