Generating Labels Automatically From Def. Name
-
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
-
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
-
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?
-
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?
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.
-
That's it. Didn't occur to me because I never label SketchUp models:-)
Advertisement