Hi,
In the attached skp file are 4 panels which are folding and sliding type.
On 1 click , the first set will fold and the 2nd set follows by sliding.
Now I need the 2nd set to fold as well once I click again.
Tried to create a double click function by semicolon separation, but this results in the 2 foldings just at the same time instead of on each separate click.
Is there any way to solve this.
in short:
1st click : open 1&2 + slide 3+4 (as in attachment)
2nd click : open 3&4 right next to 1&2
3rd click : close 3&4 again
4th click : close 1&2 + slide 3&4
2 separate onClick function
4 posts
• Page 1 of 1
Re: 2 separate onClick functionfolding example
if you nest the sections into one another, then change the driven attribute value to effect each part. Note axis change on part 3 Re: 2 separate onClick functionThank you pcmoor,
Thank you for taking the time to look into this. The end result is correct, all 4 panels next to each other in a vertical stand. However the action in between is suppose to be different. taking your example: at 1st click mat 1 and 2 should only fold , mat 3 and 4 must follow sliding (no fold). at 2nd click mat 3 and 4 should fold next to 1 and 2. So instead of 2 actions at 1 click (actually 4 in your case), I need 1 action at each different click. Then from there on I can reverse for closing again. Re: 2 separate onClick functionBed with two folds that have independent onclicks, with a test to check position of the first.
the move is tied to the second fold. It may be enough or give you some ideas You could consider a Set function for conditions, required if are placing the animate in the parent
4 posts
• Page 1 of 1
|
Who is online
Users browsing this forum: No registered users and 2 guests