MographToNulls for C4D R20 – Free Download Python Script Tag

certified TheONE expert badge
4 mins read

Practically everyone who has ever worked with Cinema 4D knows the power of MoGraph. A super handy tool set with which you can create cool motion graphics in no time. The integration of effectors (and fields) help you to control all kinds of settings such as PSR, color and weighting. And what about blending clones ... With "MoData" - either the data node, or through scripting - you have access to your individual clones, eccept for ...

What if your individual clones themselves contain a hierarchy, how do you get access to the elements within that hierarchy? The short answer: not, but there is a handy solution.

MographToNulls for C4D R20 (& R19)

Years ago, Peranders published the "MographToNulls" in Coffee script. I have often used it in the past. But, since release 20 of C4D, the Coffee module has been written off and we no longer have access to it.

It was about a year ago that it was announced that R20 no longer supported coffee. Since then I have been learning Python in between jobs and in my free time. Fortunately, I had tested and done enough that I was able to convert the Coffee script to a (more convenient :) Python version.

MographToNulls for C4D R20 – Free Download Python Script Tag

The advantage of a scripting tag instead of a plugin is that it can be used in the same way in both R20 and R19. A plugin would require 2 different versions since the plugin structure in R20 has also been changed.

The second advantage is that you can easily implement any changes yourself. If you have an interesting addition or modification, I will appreciate it if you send me a message.

Tip before use: If you download the c4d file, you will see a Null object with a Python scripting tag. Press with your right mouse button on the tag & click on "Save Tag Preset ...". With this you always have access to the tag when you need it.
...Tags / Load Tag Preset / User / Tags / MographToNulls_py

MographToNulls

This is how simple the scripting tag works:

  1. Attach the MographToNulls_py tag to an object
  2. Add 1 object "as a child" below the object to which the tag is attached - this object can of course have a complete hierarchy of itself
  3. Drag a Cloner - or Matrix - to the link field of the MographToNulls tab of the tag
  4. Press the "duplicateChild" button to duplicate one object to all Clone instances of your Cloner object & voila, you have access to everything you want
  5. If you want to undo something, or get a new set of objects, press the “removeAll_butOne” button to delete anything but 1 object. And then press "duplicateChild" again

As you will notice, the button interactions are very useful. This ensures that the entire flow is done in seconds. In contrast, the old coffee version was more awkward to deal with. If you know this version, you will be happy with the new one.

Although I have tested this tag in various setups in R19 & R20, I cannot guarantee the workings in every situation. Save your work first before applying the tag. The script at this moment only works for one frame / a still. An update for animation will follow soon…

DOWNLOAD NOW: MographToNulls_py.c4d.zip


A practical example where the MographToNull tag was necessary:

The basic concept of the video below was the generation of geometry through an animated and looping noise pattern. In short, the trick was to feed a jpg sequence to a clone’s vectorizer, extrude it, displace it and apply a polygon reduction. Without the workflow of Peranders this could only have been done by copying the MoGraph setup and then applying a destructive CTO. It is possible, but doesn’t work very well.


The entire "infiniteNoise" setup was made in Xpresso. If you press pause here and there, you may see a few more useful items for your own setup. But the bottom line is that everything also works in C4D R20.

If you want to know more about the MographToNulls script or the setup of the preview video, you can always contact me via CallTheONE.

Article rating: 5.0 (7 reviews)
Share this article

Related articles

Show more

Instant contact with a C4D expert

Arts & crafts
Jochem de Klerk
Jochem de Klerk
$ 2.35 PM
(3)
I'm the ONE who can tell you all about motion graphics and design
show profile
Creative missionary
Tilburg ,  Netherlands
Languages: German, English, Dutch
certified TheONE expert badge
c4d photoshop after effects adobe cinema4d illustrator graphic design p2p platform
Jochem will be available in 15 hours 21 mins
Call anyway
online
Arash Ahadzadeh
Arash Ahadzadeh
$ 0.65 PM
I'm the ONE I am an iOS developer and UI designer.
show profile
iOS Developer
Warszawa ,  Poland
Languages: English, Persian
video editing design website design photo and video equipment warsaw poland ios web and app developer youtube piano company marketing marketing campaign facebook ads facebook marketing
Arash is available now
Call me
Ayoub Môtaraf
Ayoub Môtaraf
$ 0.10 PM
I'm the ONE from Hlavní město Praha, Czechia
show profile
Hlavní město Praha ,  Czechia
Languages: English
video editing photoshop illustration photo editing prague english arabic
Ayoub is available
but not online right now
Callback request
Daniel Martinez
Daniel Martinez
$ 1.49 PM
I'm the ONE from Oslo Municipality, Norway
show profile
Oslo Municipality ,  Norway
Languages: English, Norwegian, Spanish
video editing career mbti backpacking youtube personality type riasec outdoors tips career guidance survival & bushcraft talent coaching strategic hr professional advisor
Daniel is available
but not online right now
Callback request
online
Harjaap Singh
Harjaap Singh
$ 0.11 PM
I'm the ONE from Slough, United Kingdom
show profile
Slough ,  United Kingdom
Languages: English, Punjabi, Hindi
video editing media photo editing pc pc - building pc - gaming tabla harmonium punjabi panjabi
Harjaap is available now
Call me
online
Mohamed Amine Messaoudi
Mohamed Amine Messaoudi
$ 0.07 PM
I'm the ONE Art is my life , music is my savior ...
show profile
Photographer
Budapest ,  Hungary
Languages: Arabic, German, English, French
video editing mechanical microsoft office mechanical design mechanics informatics photography photoshop adobe photo lightroom premere pro shooting maintenance handyman
Mohamed Amine is available now
Hit me
online
Mohamed Ouhane
Mohamed Ouhane
$ 0.06 PM
I'm the ONE I also make games with blender and im very good at cinema 4d, yoga , skating , rap , fl studio and ableton
show profile
art manager
Los Angeles County ,  United States
Languages: English
cinema 4d photoshop painting art history pc configuratie software update bugs fl studio garageband chicken yoga meditation arabic
Mohamed is available now
Call me
Andre Alfredo Pongilatan
Andre Alfredo Pongilatan
$ 0.07 PM
I'm the ONE saya suka traveling
show profile
videography
Kapuas Regency ,  Indonesia
Languages: Indonesian
video editing editing video indonesia manado wedding video drone pilot
Andre will be available in 8 hours 21 mins
Call anyway
محمد فضلي الدوري
محمد فضلي الدوري
$ 0.06 PM
I'm the ONE from South Jakarta City, Indonesia
show profile
South Jakarta City ,  Indonesia
Languages: Arabic, Indonesian, English
editing video arabic al-qur'an youtuber english indonesia arabic al-qur'an memorizer al-qur'an
محمد will be available in 8 hours 21 mins
Call anyway
Noah Brown
Noah Brown
$ 0.13 PM
I'm the ONE Im the one who can get you through your problems in life anything.... really any
show profile
New York County ,  United States
Languages: English
video editing writing reading website design far rockaway bronx manhattan hair advice body positivity laptops phones voice teacher — classical cooking baking flowers
Noah is available
but not online right now
Callback request
online
Paola Escandon
Paola Escandon
$ 0.12 PM
I'm the ONE you need if you want a creative proyect done beautifully
show profile
Animator
Mexico City ,  Mexico
Languages: English, Spanish
animation design drawing painting color logo design sculpture artistic ideas color schme acrylic painting watercolor painting character development english writing biology
Paola is available now
Call me
Keith Davis
Keith Davis
$ 0.06 PM
I'm the ONE from Essex County, United States
show profile
Essex County ,  United States
Languages: English
animation photoshop illustrator cartooning
Keith is available
but not online right now
Callback request
Hari Patel
Hari Patel
$ 0.19 PM
I'm the ONE Creative Tech Guru
show profile
youtuber
Surat ,  India
Languages: English, Hindi
video editing photography photoshop lightroom graphics design premiere pro adobe windows mac basic html basic css trouble shooting
Hari will be available in 9 hours 51 mins
Call anyway
Atmiya Jadvani
Atmiya Jadvani
$ 0.06 PM
I'm the ONE from Mumbai Suburban, India
show profile
Mumbai Suburban ,  India
Languages: English
video editing digital marketing english basketball meditation andheri
Atmiya will be available in 9 hours 51 mins
Call anyway
Kristin Grady
Kristin Grady
$ 0.08 PM
I'm the ONE A plethora of creative and practical skills
show profile
writing
Charles County ,  United States
Languages: English
video editing video editing drawing painting sewing figure drawing artsandcrafts garment construction hemming puppets costumes english photoshop writing art
Kristin is offline
and will be available in 12 hours 21 mins
Callback request
Gustavo Adolfo Villegas
Gustavo Adolfo Villegas
$ 0.13 PM
I'm the ONE from Barcelona, Spain
show profile
Barcelona ,  Spain
Languages: English
cinema 4d screen printing desigining painting dance color and foundation ceramics decorate woodwork soldering restaurants guide barcelona language walking
Gustavo is offline
and will be available in 13 hours 21 mins
Callback request
Paria BM
Paria BM
$ 0.19 PM
I'm the ONE I am the ONE in DESIGN - Think design act design
show profile
D E S I G N E R
Berlin ,  Germany
Languages: German, English, Persian, Italian
video editing design graphic design design thinking brand identity design english
Paria is offline
and will be available in 13 hours 21 mins
Callback request
online
Ruben Martinez
Ruben Martinez
$ 0.28 PM
I'm the ONE who loves to travel and create video content for youtube. +politics
show profile
Traveller
Tulare County ,  United States
Languages: English, Spanish, Italian, French
video editing english spanish politics esl english spanish esl travel travel advise travelling youtube video edit finalcutpro final cut pro x
Ruben is available now
Call me
Paula Vaccaro
Paula Vaccaro
$ 2.79 PM
I'm the ONE who can help you figure out the next steps in your film journey
show profile
Film Producer, Journalist, Writer
Greater London ,  United Kingdom
Languages: English, Spanish, French, Italian, Portuguese
film producing pitching documentary entrepreneurship film production company film production tv production gender unconscious bias documentary fiction script moving countries feature film short film
Paula is offline
and will be available in 16 hours 21 mins
Callback request
Brian West
Brian West
$ 1.12 PM
I'm the ONE to ask about about digital media, video content and all things comedy
show profile
Writer, producer and digital content specialist
Greater London ,  United Kingdom
Languages: English
video editing copywriting comedy writing digital media premiere pro cc podcasting stand-up comedy tv comedy moho sitcom writing sketch writing edinburgh fringe digital content video content facebook video
Brian will be available in 17 hours 21 mins
Call anyway
@lang('tours.cookie_time')
@lang('tours.only_use_mic_cam')
@lang('tours.set_cookies')
Incoming call
Calling
block this user
Instant call from
Hang on...
calling
Hmm...
no answer
They're busy
€ 0,00 PM
Will you accept
the charges for this call?
I'm the ONE
loader
Sorry, I can't answer now, please call me in 5 minutes
Sorry, I can't answer now, please call me in 5 minutes
Callback request
More info on "callback request" Less info on "callback request"