I don't have a solution for your problem, but I might be able to point you in the right direction. You said that you are able to perform the task from DAZ Script but getting stuck with the SDK: then I suggest using the same methods that are being used in DAZ Script. I believe that all methods which are usable in DAZ Script are powered by the Q_INVOKABLE macro definition from Qt, which is a part of the QMetaObject / QMetaMethod RTTI system. I made a working implementation to query the available methods, invoke the correct method and retrieve the DForce Weight Modifier Weight Maps here: https://github.com/danielbui78/DazToRuntime/blob/a643e89bd2b32f718afaf8d995d741fc3dcd0ec8/Unity/DazStudioPlugin/DzUnityAction.cpp#L1020
Comments
Redacted
I don't have a solution for your problem, but I might be able to point you in the right direction. You said that you are able to perform the task from DAZ Script but getting stuck with the SDK: then I suggest using the same methods that are being used in DAZ Script. I believe that all methods which are usable in DAZ Script are powered by the Q_INVOKABLE macro definition from Qt, which is a part of the QMetaObject / QMetaMethod RTTI system. I made a working implementation to query the available methods, invoke the correct method and retrieve the DForce Weight Modifier Weight Maps here: https://github.com/danielbui78/DazToRuntime/blob/a643e89bd2b32f718afaf8d995d741fc3dcd0ec8/Unity/DazStudioPlugin/DzUnityAction.cpp#L1020
For Reference:
@danielbui78
Thank you! this was very helpful!