Text : Shape

Constructor

text ...

Properties

<text>.font           String      default: "Arial"

Choose from a list of all fonts available to 3ds max.

<text>.italic         Boolean     default: false

Turn on/off italicized text.

<text>.underline      Boolean     default: false

Turn on/off underlined text.

<text>.alignment Integer default: 1

Sets the alignment of text:

1- Align Left (Aligns text to the left side of its bounding box.)

2- Center (Aligns text to the center of its bounding box.)

3- Align Right (Aligns text to the right side of its bounding box.)

4- Justify (Spaces all lines of text to fill the extents of the bounding box.)

<text>.size           Float       default: 100.0    -- animatable

Te text height where the height measuring method is defined by the active font.

<text>.kerning        Float       default: 0.0      -- animatable

The kerning (the distance between letters).

<text>.leading        Float       default: 0.0      -- animatable

The leading (the distance between lines).

<text>.text           String      default: "3ds max Text"

The text displayed in the viewport.

<text>.steps       Integer     default: 6

The number of divisions between each vertex.

<text>.optimize    Boolean     default: true

When on, removes unneeded steps from straight segments in the spline.

<text>.adaptive    Boolean     default: false

When on, adaptive sets the number of steps for each spline to produce a smooth curve. Straight segments always receive 0 steps.

<text>.angle       Float      default: 0.0   -- animatable

The rotational position of the cross-section in the renderer.

<text>.thickness   Float      default: 1.0   -- animatable

Radius of the rendered spline.

<text>.sides      Float      default: 12.0  -- animatable

Sets the number of sides for the spline mesh in the renderer. A value of 4 will give you a square cross section, for example.

<text>.viewport_thickness Float      default: 1.0   

Diameter of the viewport spline.

<text>.viewport_sides      Integer    default: 12    

Sets the number of sides for the spline mesh in the viewports. A value of 4 will give you a square cross section, for example.

<text>.viewport_angle      Float      default: 0.0   

The rotational position of the cross-section in the viewports.

<text>.DisplayRenderMesh   Boolean   default: false

When on, displays the mesh generated by the spline in the viewports.

<text>.UseViewportSettings   Boolean    default: false   

When on, displays the mesh generated by the Viewport settings.

<text>.DisplayRenderSettings  Boolean    default: true   

When on, displays the mesh generated by the render settings.

<text>.renderable Boolean   default: true

When on, the spline is displayed in the rendered scene.

<text>.mapCoords Boolean   default: false

Turn this on to apply mapping coordinates. The U coordinate wraps once around the thickness of the spline; the V coordinate is mapped once along the length of the spline.

Notes

The Manual Update and Alignment properties are not accessible to MAXScript in 3ds max 4.

In 3DS VIZ, the default value for property Text is "VIZ Text"

See also