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

Creating dynamic materials

From: Google SketchUp 8 Essential Training

Video: Creating dynamic materials

Now let's take our couch one step further. In addition to size, a lot of times you want to add different fabrics and colors to a couch. So let's go ahead and add those in as attributes as well. So just go ahead and select our couch and basically, we have the same couch that we have before. Let's take a look at our options here. We have the ability to select size and it calculates the price, but let's go ahead and add in one for color. So let's take a look at how this couch is built. I'm going to go into Dynamic Components> Component Attributes and notice how we have the Sofa, but also we have two objects here; we have Sofa_Cushions and Sofa_Base.

Creating dynamic materials

Now let's take our couch one step further. In addition to size, a lot of times you want to add different fabrics and colors to a couch. So let's go ahead and add those in as attributes as well. So just go ahead and select our couch and basically, we have the same couch that we have before. Let's take a look at our options here. We have the ability to select size and it calculates the price, but let's go ahead and add in one for color. So let's take a look at how this couch is built. I'm going to go into Dynamic Components> Component Attributes and notice how we have the Sofa, but also we have two objects here; we have Sofa_Cushions and Sofa_Base.

So if I were to double-click on this, you would see I have the cushions and I have the base. Now if we were going to reupholster this couch and give it a different color, we would just work with the cushions; the base is going to stay the same color. So we don't want to add color to the base; just to the cushions. So I'm going to go ahead and select these cushions and let's go ahead and add an attribute. So the attribute that we're going to add is Material; pretty obvious. If you want, you can type in a color. Let's say, we type in the color blue and the couch will turn blue, and we can also type in another color, say, red, or If you want, you can type in a hex color value.

So you can type in six digits and we have another type of color. Let's go ahead and go into our Materials window here and we can actually create very specific materials for our couch. So if we go into our Materials window and we go into our home, which is what we have in the model, notice how we've already added in three colors and those were the colors that I typed in. You can see here, there is the hex value, here is blue and red. Now if we want, we can also add in any number of other types of color.

So, for example, if I wanted to go into, say, Carpet and Textiles, something like that, I can take one of these and just flood fill that couch, or I can take this one here and flood fill that couch. Every time I flood fill it, you'll see how it shows up in my window. So even though this only has one color on it at any given time, every time I change the color, SketchUp remembers that, which is actually kind of a nice thing to have, because what we want is we want to be able to remember those colors.

So if we want we actually have these names here. So, for example, this one here is called Carpet_Plush_Charcoal. So if I were to select that, right-click over it and copy, I could actually just type that in here. So I'm just going to go ahead and paste and I hit Return, and then I'm going to hit Return and it goes to charcoal. So now we have the basics that we need in order to change the color. So let's go ahead and reveal this attribute to users. So I'm going to go into my Details menu here and I'm going to, say, users can see this attribute; so I want people to be able to see what color I have.

If I hit Apply, let's go ahead go back out and select our couch and go into Dynamic Components. So if we go into our Component Options window, you'll see well, it's not there. That's because I applied the material to a subcomponent; we have sofa and then underneath that if I double-click on this, I have my Sofa_Base and my Sofa_Cushions and when I have my Sofa Cushions selected, you can see there is my material. Well, this really isn't working; what I need to do is move that up so that when I click on the couch itself, I see the color.

So we need to do a little bit more work here. So let's go ahead and fix that. So I'm going to go ahead and Right-click over this and go into Dynamic Components>Component Attributes and if you notice here, under Sofa_Cushions, this is where I have my material, but I want it here under the main node under Sofa. So what I want to do here is add an attribute under Sofa that points to this material. So I want this material to reference something that's in that main node. So I'm going to go ahead and add an attribute. Now your first instinct will say, well, let's just add material, but that will change material for everything, including the base and we don't want to do that.

What we want to do is just enter our own custom name. So let's enter a name and let's just call it Color, hit Return, and now we have an attribute for color. But I want this material here under Sofa_Cushions to get its value from here. So we can do that in a number of ways. First thing that we'll do is just select that material, copy it and paste it in here so I've something to work with. Now what I want to do is let's go ahead and set up the pointer. So I want this material to equal whatever is in this field here called Color.

So all I have to do is just erase that, hit the equal sign and then just click on this value and notice what happened. It says go to Sofa and find the attribute called Color and use that. So all I have to do is hit Return and notice how it comes in as Carpet_Plush_Charcoal which is great and now this is determined by whatever we have here. So, for example, if I were to type in blue, this will come up blue. So notice how those two are now linked.

So now that we have this setup, it's very easy to set up a pulldown list where we can actually have colors. So in order to set up a pulldown list, I'm going to go into Details and then just say, users can select from a list, and then I just need to add my options. Well, we can put it blue. So let's go ahead and put it blue and now we will enter that value. We can also type in red and let's go ahead and add in the rest of those. I'm going to go into my Materials window so I get these spelled properly. So I'm going to say Carpet_Plush_ Charcoal, put that in and also enter in this one here which is Carpet_ Berber_Pattern_Gray, and Apply.

So once I have that, I can Right-click over this, go into my Component options and notice I have now my colors. So I've color blue, red and now I've to hit Apply for this to work and you can kind of see this here; there we go and then Carpet_ Plush_Charcoal, and so on. Now these names are a little bit too descriptive for me. So let's go ahead and fix that. So for color, let's go back into our details here, and instead of these full names, let's just go ahead and give abbreviation. So Charcoal and Gray and just hit Apply and so now I should have those values.

So now when I right-click over this, Dynamic Components>Component Options, I have Charcoal, I've Gray and I can also select the sizes. So as you can see, this is a great way to change colors and provide your customers with more options for the products that you create.

Show transcript

This video is part of

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

88 video lessons · 27666 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.