MAXScript Language Reference > Names, Literal Constants, and Expressions > Context Expressions >

# about

The about <center_spec> context is the MAXScript equivalent of the rotate/scale transform center list on the main 3ds Max toolbar.

It defines the center point about which any scale or rotation operation is performed within its context.

Note that, like the center list in 3ds Max, this sets only the center point for the operation, not the axis.

The axis is taken from the current working coordinate system set using the coordsys context expression:

    about selection

Rotates/scales about the center of the current selection

    about pivot

Rotates/scales about each object's pivot point

    about coordsys

Rotates/scales about the center of the current working coordinate system set using the coordsys context expression

    about <node>

Rotates/scales about the pivot point of the given object

    about <matrix3>

Rotates/scales about the center of the coordinate system specified by the given 3D matrix

    about <point3>

Rotates/scales about the given point with coordinate system and axes taken from the current working coordinate system.

EXAMPLES:
    -- rotate all the boxes 30 degrees about the y_axis of $foo
    about $foo rotate $box* 30 y_axis
    -- rotate each planet 45 degrees around its parent
    in coordsys parent about coordsys rotate $planets* 45 z_axis