Gotrekk Posted October 15, 2015 Share Posted October 15, 2015 Hi everyone, - i have a block called "car", with an attribute called "wheel_att". - i have four different blocks called wheelA, wheelB, wheelC, wheelD with different shapes etc. - inside that "car" block, i create a block called "wheel". - i now have hundreds "car" blocks with the attribute "wheel_att" set as "wheelA", "wheelB", "wheel_C" or "wheel_D" is there a way to change the "wheel" block inside each "car" block using the attribute "wheel_att"? i hope i've been clear enough on the explanation! thanks in advance! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 15, 2015 Share Posted October 15, 2015 What are you looking to change exactly? From your post I have understood: 'CAR' has attribute 'WHEEL_ATT' 'CAR' contains nested block 'WHEEL' If this is the case, you will not be able to change WHEEL per reference of CAR as any change to the definition of CAR will be reflected across all references. Quote Link to comment Share on other sites More sharing options...
Gotrekk Posted October 15, 2015 Author Share Posted October 15, 2015 Yes Lee, you got my problem and i think i understand what you mean. Should i try using a dynamic block with visibility states like "wheelA", "wheelB" and so on, showing only the "wheel" i need? Would i be able to set the visibility state from an attribute? Example: i have many cars with "rounded wheels" and many with "squared wheels". I have the "car" block with attribute "wheel_att" containing either "round_wheel" or "square_wheel". How can i display those cars with the appropriate wheels design? I don't want to create separate squared_wheels_car and rounded_wheels_car blocks because i have other attributes defining other car parts like door, cockpit and so on What would it be the best way of doing it? thanks again Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 15, 2015 Share Posted October 15, 2015 Yes, you could use a dynamic block with visibility states; though, the easiest way would be to simply not nest the wheel block within the car block, but maybe group the wheel block with the car block if necessary. Quote Link to comment Share on other sites More sharing options...
Gotrekk Posted October 15, 2015 Author Share Posted October 15, 2015 Can i set the visibility state of some blocks using one of their attribute? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 15, 2015 Share Posted October 15, 2015 Can i set the visibility state of some blocks using one of their attribute? Yes - this would be very similar to this recent request. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.