A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
copy user data to multiple objects
Posted: 06 July 2020 03:17 PM   [ Ignore ]  
Avatar
Total Posts:  27
Joined  2007-03-22

Hello guys.
Please, do you know how to copy user data to multiple objects at once?
thanks
Lopolo

 Signature 

Lopolo
http://www.3d.cz

Profile
 
 
Posted: 06 July 2020 03:33 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Lopolo,

I’m not clear if you like to have a specific single value or the User Data (active and changeable) copied to the targets.
A scene file is always the best communication aid to a question.

For passive fixed data: Copy the entry of the User Data. Select all objects that have that same Parameter entry. Paste the data into the field. If the data is not the same, I’m not aware of a quick way.

If you like to connect User Data as an active and changing information: Use the Set Driver/Set Driven option.
Screen capture
https://www.amazon.com/clouddrive/share/Df4iCSsk4GaZ2xkFr1BY8F0E4krkTZY3WsfPGB7z2Tw
Also here, while several objects are selected at once, the data type must be the same to show up for multiple objects. As shown in the clip. If that is not the same, it will not work.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 06 July 2020 04:33 PM   [ Ignore ]   [ # 2 ]  
Avatar
Total Posts:  27
Joined  2007-03-22

Thank you very much, unfortunately this is not what i’m looking for. I need to copy vector value “buffer” with stored position of first frame for hundreds objects separately. User data are same type but values will be different.

 Signature 

Lopolo
http://www.3d.cz

Profile
 
 
Posted: 06 July 2020 05:53 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Lopolo,

Thanks for the extra information that was not clear from the initial post.
=====
How about this one here:
https://www.amazon.com/clouddrive/share/Ndh3eOmPprcyrtfaVQ9Xm90O7cZy2rXAfrMWMuCUuib

You select all objects in question, and copy the Xpresso tag to it, if they can be under a Null, then copy tag to children is possible. The Xpresso tag has the User Data.

======
In XPresso,  XPool> System Preset> General Presets> Memory list, this can record data. Less intuitive.

======
My old way, and proven to be stable, hence why I like it even today, is to write the data into an object.

Here is an example:
https://www.amazon.com/clouddrive/share/EeYf8nzxjDm2pGOGPklMmMrIA12Y3VvYI78rKgMPiIQ

The values are stored as point value in the Plane. Which is recorded at Frame zero.
This Plane can be used to request those values via index.

======
Another simple method is to drag all the Objects into a MoGraph Tracer and Connect those (Exclude Vertices), then use a Current State To object on Frame zero, and you have your initial Position.

======
If all objects would have a parent on frame zero, and the child object would be zeroed out, any animation to the Child would leave the parent as a frame zero pos.


All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 06 July 2020 11:42 PM   [ Ignore ]   [ # 4 ]  
Avatar
Total Posts:  27
Joined  2007-03-22

Hi.
Hmmmm, interesting, I like that older way, thank you! grin It should work fine however simple copy of user data would be nicer anyway.

 Signature 

Lopolo
http://www.3d.cz

Profile
 
 
Posted: 06 July 2020 11:51 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, Lopolo, thanks for the reply.

I’m sure you know exactly what you need, and it is clear in your head how it should work.

However, having no file that gives me any clue about your set up leaves me guessing.

Perhaps you can set up a small file with a few objects that contain the User Data;  With a clear indicator from where to copy it and where to paste it. When all is individual (object data and target), I have no clue how that should work. But I’m happy to look into it. If you need an upload link, let me know!

My best wishes

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
   
 
 
‹‹ UVW mapping on a cube      shader previews ››