execute Center Axis with parameters
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/05/2009 at 03:22, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R11
Platform:
Language(s) : C++ ;---------
Hi all out there ;-}
I want to center the Axis of all objekts to there center ;-}.
But with CallCommand(1010819); only the Dialogbox ist opening.Is ther a way to set the parameters:
with children
all objects
enable auto Update
and at last run the modification?
Thanks to your help.
Chears Ronny -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/05/2009 at 02:51, xxxxxxxx wrote:
Unfortunatly the Axis Center command can't be executed through SendModelingCommand(). I am afraid you have to write your own axis center function.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/06/2009 at 07:35, xxxxxxxx wrote:
Quote: Originally posted by Matthias Bober on 25 May 2009
>
> * * *
>
> Unfortunatly the Axis Center command can't be executed through SendModelingCommand(). I am afraid you have to write your own axis center function.
>
> cheers,
> Matthias
>
>
> * * *
...which is a pain in the ass, because you can't "just" set the new axis (the routine needed to do that with is internal/private)... if you SetMl() on the object, the vertices get moved according to the new matrix, so you have to modify the vertices by the (inverse) delta of the old/new matrix as well.