I was wondering if there was a way I could toggle between the visibility of components dynamically? For example, I have a model of a car and I want to have a components option where I can choose from a list which wheels I want to have on the car.
Yes you need all of the wheel sub-components inside the parent component. One of the wheel sets are visible, and the rest are hidden.
You change with of the wheel sets are visible by changing the child wheel component’s HIDDEN attribute.
You likely change it via the Dynamic Components
There are example DC in the DC Tutorial models.
See the list in: