Create a dynamic component in SketchUp by adding attributes with specific values to a basic component.
Start with SketchUp's predefined attributes. You need to understand SketchUp's basic drawing tools and common spreadsheet functions.
Adding attributes and subcomponents makes the setup more complex. You may need to find and fix bugs before the dynamic component works as intended. Developing your own dynamic component is one of the most difficult tasks in SketchUp.
Follow these steps to create a dynamic component:
- Create a component made entirely of groups or subcomponents.
- See Creating a Basic Component for how to turn selected geometry into a component.
- See Organizing a Model for how groups work and how to nest groups and components in hierarchies.
- Add attributes that tell your component what to do. Choose predefined attributes or create custom attributes.
- Set a value for each attribute to define what it does. The value can be a simple number that limits the component's size, a formula with mathematical operators, or a function that works through options you define in the formula's parameters.
- Test your dynamic component to check that it works correctly. Expect to return to Step 1 or 2 several times before it works as intended.
- Save the component in a separate file so you can import it into other models through the Components browser or share it in 3D Warehouse. To keep the component working, context-click its highest level and select Save As from the menu. Save the resulting
.skpfile in a component collection.
Watch the following videos to see how these steps work.
Once you understand the basics, see the examples in Creating Common Types of Dynamic Components. You can also find the Dynamic Component Training collection in the Components browser and download these tutorials from 3D Warehouse:
- Introducing Dynamic Components
- Assembling a Dynamic Component
- Introducing Attributes
- Embedding Textures in Dynamic Components
- Saving and Uploading Dynamic Components to the 3D Warehouse
Use these articles for more detail on creating components:
- Read Component Axes to understand axes when developing dynamic components.
- Read Adding Attributes to learn how to add attributes to your dynamic component.
- Read Define Attribute Values to learn how to set attribute values.
- Read Testing a Dynamic Component to learn how to test your dynamic component in the components option window.