Moving a PoseMixer Slider???
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/10/2003 at 13:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;---------
Is it possible to move a PoseMixer's slider within a plugin? I would think that the code might look something like what I have below. If it is possible could someone help me with an example I am stuck...//Assume doc is a pointer to the current document and that the first object is a PoseMixer
Decription *des;
BaseObject *obj = doc->GetFirstObject();
//this is where I get stuck, do I need to get the description of the PoseMixer
//and then modify it and set the description
obj->GetDescription(des, PNY_VALUE);
Any help you could give is greatly appreciated, I think I have looked at the SDK too long.
Nate -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/11/2003 at 16:16, xxxxxxxx wrote:
I think you need to use obj->SetParameter(). (Search the forum for some examples.)
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/11/2003 at 11:00, xxxxxxxx wrote:
Ok, I will look for that, but I guess what I really need to know is how would you get the name/value of the slider for a given pose in the PoseMixer? And is that even possible? Thanks Mikael for your help I really appreciate it!
Nate -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/11/2003 at 11:58, xxxxxxxx wrote:
Mikael,
I found one of your examples with the GeDataToString() function. I think I may be able to get the info I need with it. Let me know if you think I am on the right track. Thanks again!
Nate -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/11/2003 at 01:19, xxxxxxxx wrote:
Yes. I think you could use GetDescription() to get the names of the sliders.