MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > GeometryClass : Node > Geometry - Stairs >

# U_Type_Stair : GeometryClass

    U_Type_Stair - superclass: GeometryClass; super-superclass:node - 34:1- classID: #(1565943580, 539380971)

Value > MAXWrapper > Node > GeometryClass > U_Type_Stair

| Geometry Objects - Quick Navigation

This class is available in 3ds Max 6 and higher.

Constructors:

    U_Type_Stair ... UTypeStair...

Properties:

    <U_Type_Stair>.CarriageContext Integer default: 18 -- integer

Get/Set the carriage configuration control value. Some possible values are:

0 - First carriage on the left side at user-defined internal offset, specified number of carriages repeat at user-defined spacing starting from it.

1 - First carriage on the left side without offset, second carriage on the right side without offset, if CarriageCount is greater than 2, additional carriages spread evently between the first two ignorring spacing settings.

2 - Variable number of carriages spread evenly within the stair's limits based on the CarriageSpace value and CarriageSpacingType settings.

3 - First carriage on the left side without offset, user-defined number of carriages starting from the first one, placed at user-defined CarriageSpace respecting CarriageSpacingType settings.

4 - First carriage on the left side without offset but respecting CarriageSpacingType, second carriage on the right side respecting the CarriageExtOffs value. If CarriageCount is greater than 2, additional carriages spread evently between the two ignorring spacing settings.

5 - First carriage on the right side respecting CarriageExtOffs value, other carriages starting from it at CarriageSpace distance respecting CarriageSpacingType.

6 - First carriage on the left side respecting CarriageIntOffs value, other carriages starting from it respecting CarriageCount, CarriageSpace and CarriageSpacingType. Allows for carriages outside of the stair's limits when using too high values.

7 - First carriage on the left respecting CarriageIntOffs value, second carriage on the right side ignorring CarriageExtOffs value, other carriages based on CarriageCount value spead evenly between the first two respecting CarriageSpacingType but ignorring CarriageSpace.

8, 9 - First carriage on the left side respecting CarriageIntOffs value, other carriages at CarriageSpace distance starting from it respecting CarriageSpacingType (axis to axis or side to side).

10 - First carriage on the left side, second carriage on the right side, third and more carriages spread relatively to the middle of the stair, ignorring CarriageSpacingType.

11 - First carriage on the left side, second carriage at user-defined CarriageSpace distance from it respecting CarriageSpacingType (inner side to inner side or outer side to inner side).

12 - First carriage on the left side, second carriage in the middle of the stair, more carriages spread relatively to the middle of the stair, respecting CarriageSpacingType.

13 - First carriage on the right side, more carriages following at user-defined CarriageSpace distance, only appear when within the stair's limits, respect CarriageSpacingType (outer side to outer side or inner side to outer side).

14,16,17 - First carriage on the left side respecting CarriageIntOffs value, other carriages at CarriageSpace distance starting from it respecting CarriageSpacingType (axis to axis or side to side).

15 - First carriage on the left side respecting CarriageIntOffs value. When two or more carriages, first on the right side, second in the middle. When three or more, first on the right side, other carriages spread evenly around the middle of the stair ignorring CarriageSpace, respecting CarriageSpacingType.

18 - First carriage in the middle of the stair, when more than one, spread symmetrically to the middle of the stair, respecting CarriageSpacingType.

    <U_Type_Stair>.CarriageCount Integer default: 1 -- animatable; integer

Get/Set the number of carriages. Usage depends on the current CarriageContext value.

    <U_Type_Stair>.CarriageExtOffs Float default: 3.0 -- animatable; float

Get/Set the carriage's external offset. Usage depends on the current CarriageContext value.

    <U_Type_Stair>.CarriageHeight Float default: 8.0 -- animatable; float

Get/Set the carriage height. Corresponds to the "Depth" value in the "Carriage" rollout.

    <U_Type_Stair>.CarriageIntOffs Float default: 3.0 -- animatable; float

Get/Set the carriage's internal offset. Usage depends on the current CarriageContext value.

    <U_Type_Stair>.CarriageSpace Float default: 10.0 -- animatable; float

Get/Set the spacing between carriages. Usage depends on the current CarriageContext value.

    <U_Type_Stair>.CarriageSpacingType Integer default: 0 -- integer

Get/Set the carriage spacing type. Possible values are 0 and 1 and effect vary depending on the . CarriageContext value.

    <U_Type_Stair>.CarriageSpringFloor Integer default: 1 -- animatable; integer

Controls the state of the "Spring from Floor" checkbox in the "Carriage" rollout. Possible values are

0 - off

1 - on

    <U_Type_Stair>.CarriageWidth Float default: 3.0 -- animatable; float

Get/Set the carriage width.

    <U_Type_Stair>.direction Integer default: 1 -- animatable; integer

Get/Set the direction.

    <U_Type_Stair>.GenerateCarriage Integer default: 1 -- animatable; integer

Controls the state of the "Carriage" checkbox in the "Parameters" rollout, "Generate Geometry" group. Possible values are

0 - don't generate Carriage

1 - generate Carriage

    <U_Type_Stair>.GenerateInsideRailing Integer default: 0 -- integer

Controls the state of the "Handrail - Left" checkbox in the "Parameters" rollout, "Generate Geometry" group. Possible values are

0 - don't generate Inside Railing

1 - generate Inside Railing

    <U_Type_Stair>.GenerateMapping Integer default: 0 -- integer

Controls the state of the "Generate maping Coords." checkbox in the "Parameters" rollout. Possible values are

0 - off

1 - on

    <U_Type_Stair>.GenerateOutsideRailing Integer default: 0 -- integer

Controls the state of the "Handrail - Right" checkbox in the "Parameters" rollout, "Generate Geometry" group. Possible values are

0 - don't generate Outside Railing

1 - generate Outside Railing

    <U_Type_Stair>.GenerateStringers Integer default: 0 -- animatable; integer

Controls the state of the "Stringers" checkbox in the "Parameters" rollout, "Generate Geometry" group. Possible values are

0 - don't generate Stringers

1 - generate Stringers

    <U_Type_Stair>.length Float default: 0.0 -- animatable; float

Get/Set the length of the first part of the stair.

    <U_Type_Stair>.length2 Float default: 0.0 -- animatable; float

Get/Set the length of the second part of the stair.

    <U_Type_Stair>.RailingHeight Float default: 42.0 -- animatable; float

Get/Set the height of the railing.

    <U_Type_Stair>.RailingOffs Float default: 2.0 -- animatable; float

Get/Set the offset of the railing.

    <U_Type_Stair>.RailingRadius Float default: 1.0 -- animatable; float

Get/Set the radius of the railing.

    <U_Type_Stair>.RailingSegments Integer default: 3 -- animatable; integer

Get/Set the number of segments of the railing.

    <U_Type_Stair>.StepCount Integer default: 12 -- animatable; integer

Get/Set the number of steps.

    <U_Type_Stair>.StepDepth Float default: 0.0 -- animatable; float

Get/Set the depth of the steps when StepDepth_X is set to 1.

    <U_Type_Stair>.StepDepth_X Integer default: 0 -- integer

Enable/Disable the use of the custom StepDepth value. Possible values are:

0 - off

1 - on

    <U_Type_Stair>.StepHeight Float default: 0.0 -- animatable; float

Get/Set the height of the steps.

    <U_Type_Stair>.StepThickness Float default: 2.0 -- animatable; float

Get/Set the thickness of the steps.

    <U_Type_Stair>.StepType Integer default: 0 -- integer

Get/Set the step type. Possible values are

0 - Open

1 - Closed

2 - Box

    <U_Type_Stair>.Stepwidth Float default: 39.0 -- animatable; float

Get/Set the width of the steps.

    <U_Type_Stair>.StringerDepth Float default: 6.0 -- animatable; float

Get/Set the depth of the stringer.

    <U_Type_Stair>.StringerOffset Float default: 1.0 -- animatable; float

Get/Set the offset of the stringer.

    <U_Type_Stair>.StringerSpringFloor Integer default: 1 -- animatable; integer

Controls the state of the "Spring from Floor" checkbox in the "Stringers" rollout. Possible values are

0 - off

1 - on

    <U_Type_Stair>.StringerWidth Float default: 1.0 -- animatable; float

Get/Set the width of the stringer.

    <U_Type_Stair>.UpperOffset Float default: 0.0 -- animatable; float

Get/Set the offset of the upper part from the lower part.

Interfaces:

    Interface:realWorldMapSizeInterface

Properties:

    .realWorldMapSize: boolean : Read|Write

Enables/disables the real-world map size option.Available in 3ds Max 8 and higher.

#### See Also

- Geometry - Stairs

- GeometryClass Common Properties, Operators, and Methods

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods