Animer deux composants en même temps /animate two components

Animer deux composants en même temps /animate two components

Postby GuillaumeChsg » Thu Apr 02, 2020 6:55 pm

Bonsoir tout le monde,

Après une recherche sur le forum je ne trouve pas la réponse à ma question. C'est pourquoi je m'en remets à vous et à votre savoir en matière de composants dynamiques.

Je souhaite animer deux composants en un seul clic. En effet j'ai constitué un tiroir dynamique et et des façades de tiroir dynamiques.
Or je n'arrive pas à faire en sorte qu'en cliquant sur la façade cela actionne une fonction Animate sur le tiroir dans le même temps.

Auriez-vous une idée de comment résoudre ce cas de figure ?
J'ai essayé de grouper le tiroir et la façade mais je n'arrive pas à faire bouger les deux composants en même temps.


Si besoin je peux partager mon composant dynamique afin que vous puissiez naviguer dedans.

Dans l'espoir de vous lire,
Merci par avance,

GuillaumeChsg
0

GuillaumeChsg 
 

Re: Animer deux composants en même temps /animate two compon

Postby pcmoor » Thu Apr 02, 2020 9:52 pm

create a separate attribute and reference that

https://forums.sketchup.com/t/dynamic-c ... ion/120381

Si besoin je peux partager mon composant dynamique afin que vous puissiez naviguer dedans.
can do
0

pcmoor 
 

Re: Animer deux composants en même temps /animate two compon

Postby GuillaumeChsg » Fri Apr 03, 2020 10:13 am

Hi Pcmoor,

Thanks you for responding,
Here is my Dynamic Component, this is a little complex because of generating copies.
I let you see that in my dynamic component.
0

GuillaumeChsg 
 

Re: Animer deux composants en même temps /animate two compon

Postby GuillaumeChsg » Fri Apr 03, 2020 4:56 pm

All right, I made it !!

Using the link you gave me, i finally got that drawer open, but it open all the drawer in the same time :lol: :lol: .

I used the fonction ANIMATECUSTOM.

Maybe do somebody knows how I can open them one by one ?
All the drawers/facedrawers are generated automatically.

Here is my dynamic component if someone wants to see the "problem".

Thanks,
0

GuillaumeChsg 
 

Re: Animer deux composants en même temps /animate two compon

Postby pcmoor » Fri Apr 03, 2020 11:52 pm

The drawer and face has to be within the component that is copied, most likely you need a handle too. So place all within a "opening" component and copy this as needed.

May I know if this is a one / two off project or are you hoping to create a collection?
0

pcmoor 
 

Re: Animer deux composants en même temps /animate two compon

Postby GuillaumeChsg » Sat Apr 04, 2020 11:19 am

Hi,

Thanks for the answers you gave me ! I'm sorry but my english is not so good and I didn't quite understand your question "May I know if this is a one / two off project or are you hoping to create a collection?"

Moreover, I thank you VERY MUCH for the modifications and the solution you gave me ! It works very well !
I will look into your modification and try to understand your thought process :D :D

Warmest regards PCMOOR :fro:
0

GuillaumeChsg 
 

Re: Animer deux composants en même temps /animate two compon

Postby pcmoor » Sun Apr 05, 2020 2:04 am

Further to this, you will notice that on animation of the bottom drawer, all move. To correct this the animation must be moved to inside the copy. Hence another level is created.

My reason to ask about your interest in DCs is to guide you in your development. Although internal copies has its merit it also has many drawbacks, in that it greatly increases file size and becomes more complicated in structure, as are becoming aware. So if this is a basic project then okay, but if its a development toward a kitchen design system with quantity lists, materials... then I suggest looking at
https://sketchucation.com/plugin/1613-gkware_cabmaker

If you still wish to pursue your own, then I can help, but the DCs need to be simple and have the ability to swap, plus incorporate some simple ruby scripts to make it easier to handle.
1

pcmoor 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Dynamic Components

Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: