Reading skeleton data from Character Definition tag
-
I'm trying to create rig template with re-targeting functionality. Is there a way to access "MTCharacterBodyPart.GetParameters()" outside of main thread? I want to incorporate whole functionality without any scripts. Accessing this data using Python tag, Interaction tag or Python Generator crashes cinema.
It would be very useful to mach joints using Character definition tag. The only other way would be to write equivalent in python. -
Hello @Gregor-M ,
Welcome to the Plugin Café forum and the Cinema 4D development community, it is great to have you with us!
Getting Started
Before creating your next postings, we would recommend making yourself accustomed with our Forum and Support Guidelines, as they line out details about the Maxon SDK Group support procedures. Of special importance are:
- Support Procedures: Scope of Support: Lines out the things we will do and what we will not do.
- Support Procedures: Confidential Data: Most questions should be accompanied by code but code cannot always be shared publicly. This section explains how to share code confidentially with Maxon.
- Forum Structure and Features: Lines out how the forum works.
- Structure of a Question: Lines out how to ask a good technical question. It is not mandatory to follow this exactly, but you should follow the idea of keeping things short and mentioning your primary question in a clear manner.
About your First Question
What you're trying to achieve is supposed to be happening on the main thread. It's difficult to guess the reasons of the crash you're stumbling across without any further information (e.g. the code showcasing the issue), but could be that MTCharacterBodyPart.GetParameters() function is not a thread-safe one.
Cheers,
Ilia