Pipe : shape {199a,0} Used by the Sweep modifier. Available in 3ds Max 8 and higher.
Most of the renderable shape properties documented below are not really necessary as the shape is being used mainly as cross-section in the Sweep modifier.
It is technically possible to get the 7th cross-section instance from a Sweep modifier and assign to another scene node to get a working Pipe shape in the viewport and the Modifier panel though.
Some cross-section properties like Auto-Smooth Threshold for example have not been exposed.
Constructor:
Class instances not creatable by MAXScript Properties:
<Pipe>.radius Get/Set the outer radius of the pipe.
<Pipe>.pipe_thickness Get/Set the thickness of the pipe.
<Pipe>.steps Get/Set the number of interpolation steps.
<Pipe>.optimize Get/Set the state of the Optimize checkbox.
<Pipe>.adaptive Get/Set the state of the Adaptive checkbox.
<Pipe>.render_renderable
<Pipe>.baseobject.renderable Toggles the "Enable In Renderer" checkbox on and off. When set to true, the mesh will be displayed in the production renderer.
<Pipe>.displayRenderMesh
<Pipe>.render_displayRenderMesh Toggles the "Enable In Viewport" checkbox on and off. When set to true, the mesh will be displayed in the viewports.
<Pipe>.useViewportSettings
<Pipe>.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.
<Pipe>.mapcoords <Pipe>.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.
<Pipe>.realWorldMapSize Toggles the real-world map size option on and off.
<Pipe>.displayRenderSettings
<Pipe>.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.
<Pipe>.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.
<Pipe>.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.
<Pipe>.thickness Get/Set the thickness of the renderer radial cross-section.
<Pipe>.sides Get/Set the number of sides in the renderer radial cross-section.
<Pipe>.angle Get/Set the rotational position of the renderer radial cross-section.
<Pipe>.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.
<Pipe>.viewport_thickness <Pipe>.render_viewport_thickness Get/Set the diameter of the Radial renderable spline mesh in the viewport.
<Pipe>.viewport_sides <Pipe>.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.
<Pipe>.viewport_angle <Pipe>.render_viewport_angle Gets/Sets the rotational position of the cross-section in the viewports.
<Pipe>.render_viewport_length Get/Set the length of the Rectangular spline mesh in the viewports.
<Pipe>.render_viewport_width Get/Set the width of the Rectangular spline mesh in the viewports.
<Pipe>.render_viewport_angle2 Get/Set rotational position of the Rectangular cross-section in the viewports.
<Pipe>.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.
<Pipe>.render_auto_smooth Controls the state of the Auto Smooth checkbox. When set to true, auto smoothing will be enabled.