Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using the Component Attributes window

From: Google SketchUp 8 Essential Training

Video: Using the Component Attributes window

Now let's take a look at Dynamic Components in SketchUp, and these are smart components; they allow you to add intelligence to your objects. Now we use these a little bit in the earlier chapters where we used the Interact tool to actually interact with objects. And creating these objects is a function of SketchUp Pro, so you'll need SketchUp Pro in order to do this chapter as well as the later chapters. But if you do have SketchUp Pro installed then we can proceed. Now Dynamic Components are found in a couple of places.

Using the Component Attributes window

Now let's take a look at Dynamic Components in SketchUp, and these are smart components; they allow you to add intelligence to your objects. Now we use these a little bit in the earlier chapters where we used the Interact tool to actually interact with objects. And creating these objects is a function of SketchUp Pro, so you'll need SketchUp Pro in order to do this chapter as well as the later chapters. But if you do have SketchUp Pro installed then we can proceed. Now Dynamic Components are found in a couple of places.

The first one is under Window, we have Component Attributes and that's really the core of creating dynamic components, or If we select any component and right-click over it, we can go into the Dynamic Components menu and find Component Attributes. Both of these bring up the exact same window. Now this Component Attributes window allows us to add and create smart components and smart behaviors for our objects.

So in the case of this character here, Susan, we can actually use the Interact tool to change the color of her shirt. And notice how as I interact with her, her material color is changing right here, so every time I click, it changes. And we can see here what the programming is; onClick set Color to this color, this color, this color, this color. So basically it has four colors defined by the RGB values and basically every time you click, it swaps between each one of those colors.

Now this window has two tabs; one is the Info tab, and basically this just tells you how to work this menu. And the second one is the Functions tab, and if we scroll down in this, you can see that we have all sorts of functions that we can use to add our smart behaviors, everything from Logical Functions to onClick, so when you click on something, what you want to do with it; Trigonometric Functions, Text, specific SketchUp Functions as well as just regular Math Functions.

All of these can be used to program your objects. Now along the top also we have what's called a Refresh button and this will just refresh the window in case it doesn't automatically, and then we have this one called Toggle Formula View. Now what this does is it toggles the formula if we look here at Material, we can see that the Material = Color, and here's where we're setting colors, so the materials equal that color, or this is the result of that. So either we're showing the equations or the results of the equations, okay.

So both modes are handy, just note that that button is there. Now down here we can actually add our own attributes or add existing attributes to our objects. So if I click the Plus sign here, it'll pull up this menu. And this gives me a number of options; one is Component Info, do we want stuff like item codes; if you want to add a barcode number to an object, you can do that. The object's Position, its Size, how it's Rotated, as well as Behaviors; how do you want the Scale tool to work, if you wanted to make Copies.

So if I scale something, I can make multiple copies and we'll get into that as well. Do we want to create forms; we can actually create forms that are attached to our objects, or If we want we can enter a custom attribute as well. And we're going to be getting into most of these later and let's just do something really simple. I'm just going to go ahead and add in the attributes for Position. So what this does is it gives me these options here, X, Y, and Z. Now if you look at the actual scene, you'll see that the Red Axis is the X Axis, the Green Axis is Y, and the Z Axis is the Up and Down or the Blue Axis.

So the best shorthand is to remember that R, G, B equals X, Y, Z, so Red, Green, Blue and X, Y, Z are together. So Red is X, Green is Y, Blue is Z. But the more important thing is that we have numbers in here, and so the simplest way to use this is that we can actually just type in numbers, so this is a great way to actually precisely position your objects. So let's say I wanted this object exactly at 0, so I want to go ahead and type in 0 for X and type in 0 for Y, and it's already at 0 for Z. So now we have Susan right over the origin.

Now if I want I can also type in any other number I want; let's say I go to Z and let's say I want to put her 12 inches above the origin. So that'll basically just put her a 12 inches high in Z; I'm going to go ahead and 0 that out. So another thing we can do is we can actually input equation, so we can actually tie the value of one variable to another. So when we input equations, we can actually tie one attribute to another. So, for example, for Z, I can actually type in the number, or I can type in an Equal sign, and then say well equals what.

Well, we could say it =X; I can either type in X as a number, or I can click on X here. So if I just click on this variable, it'll add it in. So all I have to do is say now Z =X; hit Return. Notice how these are still gray but this is bold; that means that this is calculated. And if we want, we can toggle Formula View and you can see what the formula is; it's =X. So let's put a number in for X, so let's say let's put in 12. So if I put in 12, it goes 12 in the X direction plus 12 in the Z direction.

So let's go a little bit further with this, we can say =X+Y, so now I'm doing math. So I can say =X+Y, hit Enter. Now I can say let's say Y is a 10, so it goes 10 in the Green direction, 10 in the Blue direction, and let's say Y is 6. So now it goes 6 in this direction plus 16 and you can the see the numbers right here. So this example might not be too practical, but you can see how we can start tying the behavior of one attribute to those of others.

I'm going to get a lot more sophisticated than this in the later lessons. So to sum up, SketchUp Pro allows you to create smart objects or Dynamic Components. And those can have all sorts of attributes applied to them, and those attributes can also be calculated to make your components smart.

Show transcript

This video is part of

Image for Google SketchUp 8 Essential Training
Google SketchUp 8 Essential Training

88 video lessons · 27695 viewers

George Maestri
Author

 
Expand all | Collapse all
  1. 7m 18s
    1. Welcome
      1m 8s
    2. Installing SketchUp
      1m 12s
    3. Starting SketchUp for the first time
      47s
    4. Using the exercise files
      49s
    5. Tips for Mac users
      3m 22s
  2. 43m 52s
    1. Interface basics
      4m 42s
    2. Adding toolbars
      2m 38s
    3. Navigating
      3m 48s
    4. Changing perspective
      2m 51s
    5. Walking around
      3m 12s
    6. Creating camera views
      5m 15s
    7. Shading faces and edges
      7m 59s
    8. Creating shadows and fog
      5m 50s
    9. Creating Scenes
      5m 9s
    10. Setting preferences
      2m 28s
  3. 22m 19s
    1. Selecting and moving objects
      6m 25s
    2. Scaling and rotating objects
      5m 36s
    3. Manipulating faces and edges
      4m 8s
    4. Advanced selection tools
      6m 10s
  4. 48m 47s
    1. Line tool fundamentals
      5m 42s
    2. Refining objects with the Line tool
      3m 39s
    3. Using the Rectangle tool
      4m 44s
    4. Pushing and pulling faces into 3D
      5m 30s
    5. Creating circles and polygons
      6m 5s
    6. Creating arcs
      4m 0s
    7. Using the Offset tool to create outlines
      8m 33s
    8. Using the Follow Me tool
      3m 24s
    9. Softening round edges
      5m 16s
    10. Creating 3D text
      1m 54s
  5. 16m 45s
    1. Using the Tape Measure tool
      4m 41s
    2. Using the Protractor tool
      7m 16s
    3. Creating text labels
      1m 7s
    4. Using the Dimension tool
      1m 18s
    5. Creating sections
      2m 23s
  6. 20m 45s
    1. The Component window
      5m 32s
    2. Creating components
      3m 55s
    3. Using the 3D Warehouse
      3m 15s
    4. Importing from Google Earth
      2m 26s
    5. Using the Interact tool
      1m 54s
    6. Using the Component Options window
      3m 43s
  7. 25m 3s
    1. Grouping objects
      5m 42s
    2. Working with layers
      3m 27s
    3. Creating layers
      4m 20s
    4. Using the Outliner
      6m 42s
    5. Hiding and unhiding objects
      2m 48s
    6. Locking and unlocking objects
      2m 4s
  8. 41m 32s
    1. Using the Materials Browser on a Mac
      2m 49s
    2. Applying materials
      3m 2s
    3. Editing materials
      5m 4s
    4. Creating materials
      3m 19s
    5. Adjusting materials
      4m 38s
    6. Applying bitmap images
      2m 43s
    7. Mapping curved objects
      3m 39s
    8. Projecting maps on curved objects
      3m 27s
    9. Importing floor plans
      4m 27s
    10. Modeling with floor plans
      8m 24s
  9. 27m 11s
    1. Applying styles
      2m 26s
    2. Editing styles
      8m 30s
    3. Outputting 2D bitmaps
      3m 13s
    4. Basic animation
      5m 56s
    5. Advanced animation
      7m 6s
  10. 20m 40s
    1. Creating terrain from contours
      6m 22s
    2. Modeling objects with contours
      1m 42s
    3. Creating terrain from scratch
      3m 40s
    4. Sculpting with the Smoove tool
      3m 2s
    5. Stamping and draping objects on terrain
      5m 54s
  11. 15m 3s
    1. Geolocation with Google Maps
      3m 11s
    2. Using Photo Match to align cameras
      4m 30s
    3. Modeling in Photo Match
      7m 22s
  12. 59m 46s
    1. Using the Component Attributes window
      6m 41s
    2. Exposing component attributes
      6m 0s
    3. Using math and functions
      8m 49s
    4. Creating dynamic materials
      7m 2s
    5. Creating a dynamic staircase
      8m 52s
    6. Hiding objects dynamically
      2m 58s
    7. Configuring staircase rise and run
      5m 21s
    8. Adding interactivity: Motion
      5m 24s
    9. Adding interactivity: Rotation
      4m 55s
    10. Adding interactivity: Changing colors
      3m 44s
  13. 15m 58s
    1. Creating solids
      2m 25s
    2. Using Boolean operations (Union, Intersect, Subtract)
      6m 46s
    3. Working with Trim and Split
      4m 45s
    4. Creating outer shells
      2m 2s
  14. 21m 28s
    1. Importing objects from AutoCAD
      6m 40s
    2. Importing other 3D objects
      3m 8s
    3. Exporting objects
      5m 39s
    4. Exporting objects for rendering
      6m 1s
  15. 14s
    1. Goodbye
      14s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Google SketchUp 8 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.