MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > Shape : Node > Shapes - Other >

# HalfRound : Shape

    HalfRound : shape {1997,0}

Value > MAXWrapper > Node > GeometryClass > Shape > HalfRound

| Shapes and Splines - Quick Navigation

Used by the Sweep modifier. Available in 3ds Max 8 and higher.

Constructor

    Class instances not creatable by MAXScript

Properties:

## Parameters Rollout

    <HalfRound>.radius

Get/Set the outer radius.

## Interpolation Rollout

    <HalfRound>.steps

Get/Set the number of interpolation steps.

    <HalfRound>.optimize

Get/Set the state of the Optimize checkbox.

    <HalfRound>.adaptive

Get/Set the state of the Adaptive checkbox.

## Rendering Rollout

    <HalfRound>.render_renderable
    <HalfRound>.baseobject.renderable

Toggles the "Enable In Renderer" checkbox on and off. When set to true, the mesh will be displayed in the production renderer.

    <HalfRound>.displayRenderMesh
    <HalfRound>.render_displayRenderMesh

Toggles the "Enable In Viewport" checkbox on and off. When set to true, the mesh will be displayed in the viewports.

    <HalfRound>.useViewportSettings
    <HalfRound>.render_useViewportSettings

Toggles the "Use Viewport Settings" checkbox on and off. When set to true, the mesh displayed in the viewport will use the Viewport settings. When false, the Renderer settings will be used for the viewport mesh, too.

    <HalfRound>.mapcoords
    <HalfRound>.render_mapcoords

Toggles mapping coordinates generation on and off. The U coordinate wraps once around the thickness of the spline; the V coordinate is mapped once along the length of the spline.

    <HalfRound>.realWorldMapSize

Toggles the real-world map size option on and off.

    <HalfRound>.displayRenderSettings
    <HalfRound>.render_displayRenderSettings

Toggles the state of the Viewport/Renderer radio buttons. When set to true, the Renderer settings will be displayed in the rollout. When false, the Viewport settings will be shown instead.

    <HalfRound>.render_rectangular

When set to true, enables the Rectangular cross-section mode to be used in the renderer. When false (default), enables the Radial cross-section mode. Corresponds to the Radial/Rectangular radio buttons in the UI in Renderer mode.

    <HalfRound>.render_viewport_rectangular

When set to true, enables the Rectangular cross-section mode to be used in the viewports. When false (default), enables the Radial cross-section mode. Corresponds to the Radial/Rectangular radio buttons in the UI in Viewport mode.

## Renderer - Radial Cross-Section

    <HalfRound>.thickness

Get/Set the thickness of the renderer radial cross-section.

    <HalfRound>.sides

Get/Set the number of sides in the renderer radial cross-section.

    <HalfRound>.angle

Get/Set the rotational position of the renderer radial cross-section.

## Renderer - Rectangular Cross-Section

    <HalfRound>.render_aspect_locked

Controls the state of the Aspect Lock checkbutton. When set to true, changing the Width will affect the Height and vice-versa, preserving the aspect at the time the lock was engaged.

## Viewport - Radial Cross-Section

    <HalfRound>.viewport_thickness
    <HalfRound>.render_viewport_thickness

Get/Set the diameter of the Radial renderable spline mesh in the viewport.

    <HalfRound>.viewport_sides
    <HalfRound>.render_viewport_sides

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

    <HalfRound>.viewport_angle
    <HalfRound>.render_viewport_angle

Gets/Sets the rotational position of the cross-section in the viewports.

## Viewport - Rectangular Cross-Section

    <HalfRound>.render_viewport_length

Get/Set the length of the Rectangular spline mesh in the viewports.

    <HalfRound>.render_viewport_width

Get/Set the width of the Rectangular spline mesh in the viewports.

    <HalfRound>.render_viewport_angle2

Get/Set rotational position of the Rectangular cross-section in the viewports.

    <HalfRound>.render_viewport_aspect_locked

Controls the state of the Aspect Lock checkbutton. When set to true, changing the Width will affect the Height and vice-versa, preserving the aspect at the time the lock was engaged.

## Auto Smooth

    <HalfRound>.render_auto_smooth

Controls the state of the Auto Smooth checkbox. When set to true, auto smoothing will be enabled.