Now let's take a look at how to create a more complex dynamic component. In this case, we're going to create a picket fence and here I have the picket fence already loaded, so we can take a look at it before we get started. Now this fence actually has a lot of intelligence. If I select this fence and actually zoom out a little bit, you can see how when I scale it, not only does it scale but the actual pickets fill themselves in, so I actually have a real picket fence. And if I look at this from behind, you'll notice that I have not only the pickets filling themselves in, but the actual fence posts themselves fill themselves in.
In addition to this, I have top and bottom rails which scale to fit. So I actually have a real fence and if I needed 20 feet of fencing, I could very easily just drag in this component and scale it to 20 feet and make it fit. Now in addition to this, I've also created a number of different options for this. So let's go into our Window > Component Options and select our component. You notice our component is called Fencing and we have a couple of different options that we can use. One is the actual Fence Height.
So for example, if I want to make this taller, I can just type in the height in inches and it goes higher. We also have PicketSpacing and that's the space between each picket. So for example, right now I have 10 inches between pickets. If I go to 12, you'll see that now I've got 1 picket every 12 inches. In addition to this, we have PicketWidth, which allows us to change the width of the lumber we're using for these pickets, and in addition to that we also have the PostSpacing, which is how far apart these vertical posts are.
So if we wanted them a little bit closer together, we could type 60 inches and so now they are 5 feet apart rather than 6. So now I have a good idea as to what we're going to build. Let's go ahead and start building our picket fence. Now with these sorts of components, it's always great to have a number of different options with them, so that way you can configure them and customize just one component rather than making a lot. So let's go ahead and see how to build this sort of fence.
Get unlimited access to all courses for just $25/month.Become a member
100 Video lessons · 11949 Viewers
56 Video lessons · 11222 Viewers
83 Video lessons · 9172 Viewers
109 Video lessons · 4971 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Your file was successfully uploaded.