On 18/06/2015 at 11:14, xxxxxxxx wrote:
Cinema 4D Version: R16
Platform: Mac OSX ;
Language(s) : C++ ;
How should I get the Modeling Axis?
I thought it would be as simple as this:
Matrix modelingAxis = GetModelingAxis(doc);
But then I get the issue: Use of undeclared identifier 'GetModelingAxis'
I've searched the SDK examples and the forum, but couldn't find anything with GetModelingAxis.
Thanks in advance for your help and time!
With kind regards,
On 18/06/2015 at 11:27, xxxxxxxx wrote:
GetModelingAxis is a member function of the BaseObject class so I think you need to do like this:
BaseObject *myObject = doc->GetActiveObject();
Matrix modelingAxis = myObject->GetModelingAxis(doc);
On 19/06/2015 at 05:48, xxxxxxxx wrote:
That was what I was looking for, thanks for your answer!
On 19/06/2015 at 06:59, xxxxxxxx wrote:
Just to have everything in one place:
Here's the documentation of GetModelingAxis().