C4DLounge.eu - Cinema 4D Gebruikers Forum  

Go Back   C4DLounge.eu - Cinema 4D Gebruikers Forum > RESOURCES > Vragen >>> > Plugins & Scripts/Python/Coffee/Xpresso

Reply
 
Thread Tools Display Modes
  #1  
Old 25th April 2016
Dokkiebok Dokkiebok is offline
Junior Member
 
Join Date: Apr 2016
Posts: 1
Default Surface deform initialize

Ik heb een vraag.

Is het mogelijk om met 1 button via user data al mijn surface deform in 1 keer te initalizen? Met xpresso bijvoorbeeld of iets anders waar ik geen plugin voor nodig heb wat in cinema 4d zit?

Hoop graag antwoord te krijgen
Reply With Quote
  #2  
Old 27th April 2016
pgrooff pgrooff is offline
Moderator
 
Join Date: Aug 2009
Posts: 1,183
Default

Wat bedoel je precies met "surface deform"?
Reply With Quote
  #3  
Old 28th April 2016
Cinemike's Avatar
Cinemike Cinemike is offline
Senior Member
 
Join Date: Jan 2012
Location: Deepest Saxony, Germany
Posts: 717
Default

If you are looking for a general way to disable/enable ALL deformers in one go, use "Tools/Execution/Use Deformers".
__________________
Cinema4D R20 & VrayforC4D 3.7
Reply With Quote
  #4  
Old 28th April 2016
roobol roobol is offline
Admin Team
 
Join Date: Mar 2009
Posts: 2,061
Default

Ik ben niet zeker of dit is wat je zoekt, maar met xpresso en user data is het heen eenvoudig om met één knop verschillende dingen aan en uit te zetten.
Attached Images
File Type: jpg plaatje.jpg (62.3 KB, 10 views)
Attached Files
File Type: c4d voorbeeld.c4d (113.5 KB, 2 views)
__________________
http://www.roobol.be
Reply With Quote
  #5  
Old 28th April 2016
douwe's Avatar
douwe douwe is offline
Admin Team
 
Join Date: Feb 2010
Posts: 1,918
Default

Wat hij bedoelt is het automatisch registreren van een button-click op de Initialize knop van de Surface Deformer, maar dan voor alle Deformers ineens.

Dokkie,
Lees je dit nog ?

Dit is vrij eenvoudig met een beetje Python in je Script Manager.

Je stapt doorheen de hierarchie in de OM op zoek naar alle Surface Deformers, en je registreert een c4d.CallButton(obj, c4d.ID_CA_SURFACE_DEFORMER_OBJECT_INITIAL)

Als je een teken van leven geeft, help ik je graag verder.

d
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +2. The time now is 04:35.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Met trots gehost door Webdesign bureau Graphic Violence.
(c) C4DLounge.eu . All documents on this forum are owned by their respective creators and may not be sold or republished in any way.