sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Generating Labels Automatically From Def. Name

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    5 Posts 4 Posters 212 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.
    • C Offline
      can8ian
      last edited by

      Hello All!

      I started using sketchup about 3 months ago and I think I've progressed pretty quickly(just researching my questions and playing around). I've come across something I would like to do that seems like it should be simple but I can't even find threads on it.

      I would like to set up my component to automatically generate a label for itself by pulling it's definition name.

      I don't mind doing this in several steps ie. creating a label as a nested component and assigning it attributes to show/hide. But I can't seem to get past the fact that I can't pull from the Entity Info Box.
      Is there any other place that the definition name shows up that I can pull from? Or Is there something I don't know about that is so glaringly obvious that I can't see it?

      Your suggestions would be greatly appreciated. As I said most of my education has come from you and other threads and it has been super.

      Thanks

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

        Well, you can use Ruby script to do things like this in SketchUp. By "label" what do you mean? Add a text label that points to your component? Or something else?

        Chris

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

        1 Reply Last reply Reply Quote 0
        • honoluludesktopH Offline
          honoluludesktop
          last edited by

          Don't know what you mean by "pull", but from the menu, Window > Outliner provides a list of all components.

          Is "pulling" like what you do from the Window > Components > Model (the little house) menu?

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            By "pulling" I'm guessing you mean it reads the Component Definition and uses that to create the label text. Is that right? So are you after something like what is shown in this image?


            http://farm6.static.flickr.com/5057/5417802253_0355c92894.jpg

            That's already automated. Just click on the component with the Text tool. If you want something different, perhaps you could make an illustration to show us.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • honoluludesktopH Offline
              honoluludesktop
              last edited by

              That's it. Didn't occur to me because I never label SketchUp models:-)

              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