THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/08/2010 at 14:39, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;
I would to be able to recall the "Center Axis to" for a selected object. I see the ID_MODELING_CENTER_TOOL command but does not work. Perhaps is not the correct way. Looking into C4D "Command tool" I see that the "Center Axis to" ID is 1011982 but this ID seems not present in the modelingids. If I direct call a sendcommand with this id the command fails.
I've tried to search some examples around this issue but I found anything. Can you suggest to me a way? ID_MODELING_CENTER_TOOL is usefull for that? In this case I'm wrong in use it...
On 25/08/2010 at 15:06, xxxxxxxx wrote:
This can be readed like: how I can modify the axis for an object? I've tried various combinations of sendmodelingcommand with ID_MODELING_CENTER_TOOL, MDATA_MODELING_AXIS and similar but I still have no solution...I'm a little bit confused because the position is a BaseObject properties, but not the relative axis informations...
On 02/09/2010 at 03:08, xxxxxxxx wrote:
Please keep in mind that the object's axis and the modeilng axis can be changed only for polyonal and spline objects. To change the object's axis you have to shift the geometry (the points) and then set back the axis.
To call the "Center Axis to" command you should use CallCommand(1011982).