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
   
 
Convert all objects in a hierarchy to instances
Posted: 10 March 2019 11:54 PM   [ Ignore ]  
Total Posts:  2
Joined  2018-08-06

Hello!

I want to duplicate a hierarchical group of objects but instead get a new hierarchy of standard objects I want that all new objects become instances… Now I need to do manually object by object and need to replicate each group manually, place each instance in them, etc…

Exists any script to do it faster?

Thanks

Profile
 
 
Posted: 11 March 2019 01:33 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi blackone,

I haven’t found a one-click-script so far. I think it should be not a massive effort for a Python-Guru to create one.

What I have put together here is a mix of a freely available plugin and a four-node Xpresso. The Xpresso took nearly no time, and I hope it will give you what you like to have.
The plugin is available here:
https://nitro4d.com/product/magic-replace/
Here is the screen capture of the suggested procedure, test this on a copy of your scene first.
https://www.amazon.com/clouddrive/share/v289K98aFFwVNvXtJgEbZzKh1ykTIKBWLwNJetHeCjz

I hope this works for your needs. This is just a gut feeling, but I would not change a lot on the original hierarchy, to keep the Single-Object-Instance-Hierarchy intact.

My best wishes for your project.

 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: 11 March 2019 08:21 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  2
Joined  2018-08-06

WooW!

Thanks a lot for your response and time to do a mini screencast!

Your solution is very interesting, but is hard to use if you need to replace main object hierarchy frequently.

A perfect solution will be a xRef system, but xRef used in conjunction with Takes fail frequently (xRef that has become duplicated from the outliner lose material assignations when you place xRefs copies in takes and load/unload when you change from one take to another, seems like “match materials” function is unstable or bugged). Furthermore, change between takes and load/unload xrefs become slow when main scene is heavy… seems be clever to add only 1 xref and instance it in other takes..

Thanks for yout time and solution!

Profile
 
 
Posted: 12 March 2019 12:18 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks for the kind feedback, blackone, very much appreciated.

The XPresso Tag can be stored as preset, and the lists could be a UserData Interface.

However, if that is too much work, perhaps use Maxon’s suggestion site or ask the developer of Magic Replace to add this feature to the plugin.
https://www.maxon.net/en-us/support/suggestions/

If you have problems with XRef and Takes, the best way is always to check with the Support, or use as well the Suggestion form as well.
https://www.maxon.net/en-us/support/how-can-we-help/

Since I don’t know what your core target is, I can’t look further into this. Let me know if there is anything else, I’m happy to look into it.

Cheers

 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