Edit_Poly : Modifier

Edit_Poly - superclass: modifier; super-superclass:MAXWrapper - classID: #(2041212445, 1906341303)

Constructor:

Edit_Poly ...

EditPolyMod ...

Properties:

Edit Poly Mode

<Edit_Poly>.animationMode Integer default: 0 -- integer; Animation_Mode

Get/Set the state of the Model/Animation radio buttons in the Edit Poly Mode rollout.

Possible values are:

0 - Model

1 - Animate

<Edit_Poly>.currentOperation Integer default: 0 -- integer; Edit_Type

 

<Edit_Poly>.worldToObjectTransform Matrix3 default: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0]) -- matrix3; World_to_Object_Transform

 

<Edit_Poly>.showCage BooleanClass default: false -- boolean; Show_Cage

Get/Set the state of the Show Cage checkbox in the Edit Poly Mode rollout.

<Edit_Poly>.CageColor Point3 default: [1,0.588235,0] -- point3; Cage_Color

Get/Set the Cage color. Available in 3ds Max 8 and higher.

<Edit_Poly>.selectedCageColor Point3 default: [0.94902,0.85098,0] -- point3; Selected_Cage_Color

Get/Set the Selected Cage color. Available in 3ds Max 8 and higher.

Selection

<Edit_Poly>.useStackSelection BooleanClass default: false -- boolean; Use_Stack_Selection

Get/Set the state of the Use Stack Selection checkbox in the Selection rollout. When checked, the incoming stack selection will be used instead of the modifier's sub-object selection.

<Edit_Poly>.selectByVertex BooleanClass default: false -- boolean; Select_By_Vertex

 

<Edit_Poly>.ignoreBackfacing BooleanClass default: false -- boolean; Ignore_Backfacing

Get/Set the state of the Ignore Backfacing checkbox in the Selection rollout.

<Edit_Poly>.selectByAngle BooleanClass default: false -- boolean; Select_by_Angle

Get/Set the state of the Select By Angle checkbox in the Selection rollout.

<Edit_Poly>.selectAngle Float default: 45.0 -- angle; Selection_Angle

Get/Set the Select Angle value in the Selection rollout.

<Edit_Poly>.loopEdgeSel Integer default: 0 -- integer; Edge_Loop

Get/Set the Edge Loop value. Available in 3ds Max 8 and higher.

<Edit_Poly>.ringEdgeSel Integer default: 0 -- integer; Edge_Ring

Get/Set the Edge Ring value. Available in 3ds Max 8 and higher.

Soft Selection

<Edit_Poly>.useSoftSel BooleanClass default: false -- boolean; Use_Soft_Selection

Get/Set the state of the "Use Soft Selection" checkbox in the Soft Selection rollout.

<Edit_Poly>.ssUseEdgeDist BooleanClass default: false -- boolean; Use_Edge_Distance

Get/Set the state of the Edge Distance checkbox in the Soft Selection rollout

<Edit_Poly>.ssEdgeDist Integer default: 1 -- integer; Edge_Distance

Get/Set the Edge Distance in the Soft Selection rollout

<Edit_Poly>.affectBackfacing BooleanClass default: true -- boolean; Affect_Backfacing

Get/Set the Affect Backfacing checkbox state in the Soft Selection rollout.

<Edit_Poly>.falloff Float default: 20.0 -- animatable; world units

Get/Set the Falloff value in the Soft Selection rollout.

<Edit_Poly>.pinch Float default: 0.0 -- animatable; float

Get/Set the Pinch value in the Soft Selection rollout.

<Edit_Poly>.bubble Float default: 0.0 -- animatable; float

Get/Set the Bubble value in the Soft Selection rollout.

<Edit_Poly>.lockSoftSel BooleanClass default: false -- boolean; Lock_Soft_Selection

Get/Set the state of the Lock Soft Selection checkbox in the Soft Selection rollout. When enabled, the soft selection will not be recalculated automatically and can be defined using the Paint Soft Selection tools.

<Edit_Poly>.paintSelValue Float default: 1.0 -- float; Selection_Value

Get/Set the Selection Value in the Paint Soft Selection group of controls in the Soft Selection rollout. Controls the selection value that will be applied to the vertices by the paint brush.

<Edit_Poly>.paintSelSize Float default: 10.0 -- world units; Brush_Size

Get/Set the size of the paint selection brush.

<Edit_Poly>.paintSelStrength Float default: 1.0 -- float; Brush_Strength

Get/Set the strength of the paint selection brush.

Edit Vertices/Edges/Borders/Polygons/Elements

Extrude Vertex/Edge/Face

<Edit_Poly>.extrudeEdgeHeight Float default: 0.0 -- animatable; world units; Edge_Extrude_Height

Get/Set the edge extrusion height value.

<Edit_Poly>.extrudeEdgeWidth Float default: 0.0 -- animatable; world units; Edge_Extrude_Width

Get/Set the edge extrusion width value.

<Edit_Poly>.extrudeFaceHeight Float default: 0.0 -- animatable; world units; Polygon_Extrude_Height

Get/Set the face extrusion height value.

<Edit_Poly>.extrudeFaceType Integer default: 0 -- integer; Type_of_Extrusion

Get/Set the radio button state controlling the face extrusion type.

Possible values are:

0 - Group

1 - Local Normal

2 - By Polygon

<Edit_Poly>.extrudeVertexHeight Float default: 0.0 -- animatable; world units; Vertex_Extrude_Height

Get/Set the vertex extrusion height value.

<Edit_Poly>.extrudeVertexWidth Float default: 0.0 -- animatable; world units; Vertex_Extrude_Width

Get/Set the vertex extrusion width value.

Outline

<Edit_Poly>.outlineAmount Float default: 0.0 -- animatable; world units; Outline_Amount

Get/Set the outline amount value.

Bevel

<Edit_Poly>.bevelHeight Float default: 0.0 -- animatable; world units; Bevel_Height

Get/Set the Bevel Extrusion Height value

<Edit_Poly>.bevelOutline Float default: 0.0 -- animatable; world units; Bevel_Outline

Get/Set the Bevel Outline value.

<Edit_Poly>.bevelType Integer default: 0 -- integer; Bevel_Type

Get/Set the Extrusion Type in the Bevel dialog

0 - Group

1 - Local Normal

2 - by Polygon

Inset

<Edit_Poly>.insetAmount Float default: 0.0 -- animatable; world units; Inset_amount

Get/Set the Inset Amount value.

<Edit_Poly>.insetType Integer default: 0 -- integer; Inset_Type

Get/Set the Inset Type:

0 - Group

1 - By Polygon

Bridge

<Edit_Poly>.bridgeSelected Integer default: 1 -- integer; Bridge_Selected

Get/Set the state of the radio buttons in the Bridge dialog.

Possible values are:

0 - Use Specific

<Edit_Poly>.bridgeSegments Integer default: 1 -- animatable; integer; Bridge_Segments

Get/Set the number of Bridge segments.

<Edit_Poly>.bridgeTaper Float default: 0.0 -- animatable; float; Bridge_Taper

Get/Set the Bridge Taper value.

<Edit_Poly>.bridgeBias Float default: 0.0 -- animatable; float; Bridge_Bias

Get/Set the Bridge Bias value.

<Edit_Poly>.bridgeSmoothThreshold Float default: 45.0 -- animatable; angle; Bridge_Smoothing_Threshold;

Get/Set the Bridge Smooth Threshold.

<Edit_Poly>.bridgeTarget1 Integer default: 0 -- integer; Bridge_Target_1

Get/Set the index of the Bridge's first Target Polygon.

<Edit_Poly>.bridgeTarget2 Integer default: 0 -- integer; Bridge_Target_2

Get/Set the index of the Bridge's second Target Polygon.

<Edit_Poly>.bridgeTwist1 Integer default: 0 -- integer; Bridge_Twist_1

Get/Set the first Twist value.

<Edit_Poly>.bridgeTwist2 Integer default: 0 -- integer; Bridge_Twist_2

Get/Set the second Twist value.

<Edit_Poly>.bridgeEdgeAdjacent Float default: 45.0 -- animatable; angle; Bridge_Adjacent

Get/Set the Bridge Adjacent value. Available in 3ds Max 8 and higher.

<Edit_Poly>.bridgeReverseTriangle Integer default: 0 -- integer; Reverse_Triangles

Get/Set the state of the Reverse Triangulation checkbox. Available in 3ds Max 8 and higher.

Possible values are

0 - disabled

1 - enabled

Hinge

<Edit_Poly>.hingeAngle Float default: 0.0 -- animatable; angle; Hinge_From_Edge_Angle

Get/Set the Hinge Angle value.

<Edit_Poly>.hingeBase Point3 default: [0,0,0] -- animatable; point3; Hinge_from_Edge_Base

 

<Edit_Poly>.hingeDirection Point3 default: [1,0,0] -- animatable; point3; Hinge_from_Edge_Direction

 

<Edit_Poly>.hingeSegments Integer default: 1 -- animatable; integer; Hinge_From_Edge_Segments

Get/Set the Hinge Segment value.

Extrude Along Spline

<Edit_Poly>.extrudeAlongSplineAlign BooleanClass default: true -- animatable; boolean; Extrude_Along_Spline_Align

Get/Set the state of the Align To Face Normal checkbox in the Extrude Along Spline dialog.

<Edit_Poly>.extrudeAlongSplineNode UndefinedClass default: undefined -- node; Extrude_Along_Spline_Node

Get/Set the spline node for the Extrude Along Spline.

<Edit_Poly>.extrudeAlongSplineRotation Float default: 0.0 -- animatable; angle; Extrude_Along_Spline_Rotation;

Get/Set the rotation value in the Extrude Along Spline dialog.

<Edit_Poly>.extrudeAlongSplineSegments Integer default: 6 -- animatable; integer; Extrude_Along_Spline_Segments

Get/Set the number of segments value in the Extrude Along Spline dialog.

<Edit_Poly>.extrudeAlongSplineTaper Float default: 0.0 -- animatable; float; Extrude_Along_Spline_Taper_Amount

Get/Set the taper amount in the Extrude Along Spline dialog.

<Edit_Poly>.extrudeAlongSplineTaperCurve Float default: 0.0 -- animatable; float; Extrude_Along_Spline_Taper_Curve

Get/Set the taper curve value in the Extrude Along Spline dialog.

<Edit_Poly>.extrudeAlongSplineTwist Float default: 0.0 -- animatable; angle; Extrude_Along_Spline_Twist

Get/Set the twist value in the Extrude Along Spline dialog.

Weld

<Edit_Poly>.weldEdgeThreshold Float default: 0.1 -- animatable; world units; Edge_Weld_Threshold

Get/Set the Weld Edge Threshold value

<Edit_Poly>.weldVertexThreshold Float default: 0.1 -- animatable; world units; Vertex_Weld_Threshold

Get/Set the Weld Vertex Threshold value

Chamfer

<Edit_Poly>.chamferEdgeAmount Float default: 0.0 -- animatable; world units; Edge_Chamfer_Amount

Get/Set the Edge Chamfer amount.

<Edit_Poly>.chamferEdgeOpen BooleanClass default: false -- boolean; Open_Chamfer

Get/Set the state of the "Open" checkbox in the Edge Chamfer options dialog. When set to true, the new polygons created by the Chamfer operation will be removed, leaving an opening. Available in 3ds Max 8 and higher.

<Edit_Poly>.chamferVertexAmount Float default: 0.0 -- animatable; world units; Vertex_Chamfer_Amount

Get/Set the Vertex Chamfer amount.

<Edit_Poly>.chamferVertexOpen BooleanClass default: false -- boolean; Open_Chamfer

Get/Set the state of the "Open" checkbox in the Vertex Chamfer options dialog. When set to true, the new polygons created by the Chamfer operation will be removed, leaving an opening. Available in 3ds Max 8 and higher.

Connect

<Edit_Poly>.connectEdgeSegments Integer default: 1 -- animatable; integer; Connect_Edge_Segments

Get/Set the default Connect Edge Segments value.

<Edit_Poly>.connectEdgePinch Integer default: 0 -- animatable; integer; Connect_Edge_Pinch

Get/Set the Pinch value in the Edge Connect options dialog. Available in 3ds Max 8 and higher.

<Edit_Poly>.connectEdgeSlide Integer default: 0 -- animatable; integer; Connect_Edge_Slide

Get/Set the Slide value in the Edge Connect options dialog. Available in 3ds Max 8 and higher.

Edit Geometry

<Edit_Poly>.constrainType Integer default: 0 -- integer; Vertex_Constraint_Type

Get/Set the Vertex Constraint type.Valid values are:

0 - None

1 - Edge

2 - Face

<Edit_Poly>.preserveUVs BooleanClass default: false -- boolean; Preserve_UVs

Get/Set the state of the Preserve UVs checkbox. When set to true, moving sub-object elements will not affect the texture coordinates.

Relax dialog

<Edit_Poly>.relaxAmount Float default: 0.5 -- animatable; float; Amount

Get/Set the relax Amount.

<Edit_Poly>.relaxIterations Integer default: 1 -- animatable; integer; Iterations

Get/Set the relax Iterations value.

<Edit_Poly>.relaxHoldBoundaryPoints BooleanClass default: true -- boolean; Hold_Boundary_Points

Get/Set the state of the Hold Boundary Points checkbox.

<Edit_Poly>.relaxHoldOuterPoints BooleanClass default: false -- boolean; Hold_Outer_Points

Get/Set the state of the Hold Outer Points checkbox.

Slice Plane

<Edit_Poly>.slice_plane SubAnim default: SubAnim:Slice_Plane -- transform; SubAnim

 

Edit_Poly.slice_plane - superclass: MAXObject; super-superclass:Value - 3:3 - classID: #(8197, 0)

 

<Edit_Poly.slice_plane>.position Point3 default: [0,0,0] -- animatable; point3

Get/Set the position of the slice plane.

<Edit_Poly.slice_plane>.rotation Quat default: (quat 0 0 0 1) -- animatable; quat

Get/Set the rotation of the slice plane.

<Edit_Poly.slice_plane>.scale Point3 default: [1,1,1] -- animatable; point3

Get/Set the scale of the slice plane.

<Edit_Poly>.split BooleanClass default: false -- boolean

Get/Set the state of the Split option.

Align Plane

<Edit_Poly>.alignPlaneNormal Point3 default: [0,0,0] -- animatable; point3; Align_Plane_Normal

Get/Set the normal vector of the align plane.

<Edit_Poly>.alignPlaneOffset Float default: 0.0 -- animatable; float; Align_Plane_Offset

Get/Set the offset of the align plane.

<Edit_Poly>.alignType Integer default: 0 -- integer; Align_Type

Get/Set the type of the align plane.

MeshSmooth

<Edit_Poly>.smoothness Float default: 1.0 -- float

Get/Set the Viewport Smoothness value in the Subdivision Surface rollout.

<Edit_Poly>.separateByMaterial BooleanClass default: false -- boolean; Separate_by_Material_ID

Get/Set the Separate By Materials checkbox in the Subdivision Surface rollout.

<Edit_Poly>.separateBySmoothing BooleanClass default: false -- boolean; Separate_by_Smoothing_Groups

Get/Set the Separate By Smoothing checkbox in the Subdivision Surface rollout.

Tessellate

<Edit_Poly>.tessellateByFace Integer default: 0 -- animatable; integer; Tessellate_By

Get/Set the Tessellation type:

0 - Edge

1 - Face

<Edit_Poly>.tessTension Float default: 0.0 -- animatable; float; Tessellation_Tension

Get/Set the Tessellation Tension

Delete Isolated Vertices

<Edit_Poly>.deleteIsolatedVerts BooleanClass default: true -- boolean; Delete_Isolated_Vertices

Get/Set the state of the Delete Isolated Vertices checkbox.

Polygon Properties

<Edit_Poly>.materialIDToSet Integer default: 0 -- animatable; integer; Material_ID_to_Set

Get/Set the material ID value to set for the selected faces.

<Edit_Poly>.selectByMaterialClear BooleanClass default: false -- boolean; Select_By_Material_Clear

Get/Set the Clear checkbox state in the Select By Material ID feature. When set to true, the previous selection will be cleared before new faces are selected.

<Edit_Poly>.selectByMaterialID Integer default: 0 -- integer; Select_By_Material_ID

Get/Set the ID to use in the Select By Material ID feature.

<Edit_Poly>.smoothingGroupsToClear Integer default: 0 -- integer; Smoothing_Groups_to_Clear

Get/Set the smoothing group to clear.

<Edit_Poly>.smoothingGroupsToSet Integer default: 0 -- integer; Smoothing_Groups_to_Set

Get/Set the smoothing group to set.

<Edit_Poly>.selectBySmoothingGroup Integer default: 0 -- integer; Select_By_Smoothing_Group

Get/Set the smoothing group to select by.

<Edit_Poly>.selectBySmoothingGroupClear BooleanClass default: false -- boolean; Select_By_Smoothing_Group_Clear

Get/Set the Clear checkbox state in the Select By Smoothing Group feature. When set to true, the previous selection will be cleared before new faces are selected.

<Edit_Poly>.autoSmoothThreshold Float default: 45.0 -- animatable; angle; Autosmooth_Threshold

Get/Set the auto-smoothing threshold angle. The angle between the normals of two neighbor faces will be compared to the threshold. If below the threshold, the two faces will be automatically assigned the same smoothing group, causing smooth shading across the common edge.

Paint Deformation

<Edit_Poly>.paintDeformAxis Integer default: 1 -- integer; Push_Pull_Direction

Get/Set the state of the Push/Pull Direction radio buttons in the Paint Deformation rollout.

Possible values are:

1 - Original Normals

2 - Deformed Normals

3 - Transform Axis : X

4 - Transform Axis : Y

5 - Transform Axis : Z

<Edit_Poly>.paintDeformSize Float default: 10.0 -- world units; Deformation_Size

Get/Set the Size of the Paint Deform brush.

<Edit_Poly>.paintDeformStrength Float default: 1.0 -- float; Deformation_Strength

Get/Set the Strength of the Paint Deform brush.

<Edit_Poly>.paintDeformValue Float default: 10.0 -- float; Deformation_Value

Get/Set the Value applied by the Paint Deform brush.

 

<Edit_Poly>.breakDistance Float default: 0.0 -- animatable; float; Amount

Get/Set the break distance value. Available in 3ds Max 8 and higher.

<Edit_Poly>.remveEdgeCtrlKey BooleanClass default: false -- boolean; Remove_Edge_Control_Key

Get/Set the break distance value. Available in 3ds Max 8 and higher.

 

Edit_Poly Interfaces:

Interface: EditPolyMod

Properties:

Methods:

<enum>GetEPolySelLevel()

GetEPolySelLevel enums: {#Object|#Vertex|#Edge|#Border|#Face|#Element|#CurrentLevel}

Returns the EditPoly selection level.

 

<enum>GetMeshSelLevel()

GetMeshSelLevel enums: {#Object|#Vertex|#Edge|#Face|#CurrentLevel}

Returns the Mesh selection level.

When the Edit Poly selection level is set to #Border, the Mesh selection level is returned as #Edge.

When the Edit Poly selection level is set to #Element, the Mesh selection level is returned as #Face.

 

<void>SetEPolySelLevel <enum>selectionLevel

selectionLevel enums: {#Object|#Vertex|#Edge|#Border|#Face|#Element|#CurrentLevel}

Sets the EditPoly selection level.

 

<integer>ConvertSelection <enum>fromLevel <enum>toLevel requireAll:<bool>

fromLevel enums: {#Object|#Vertex|#Edge|#Border|#Face|#Element|#CurrentLevel}

toLevel enums: {#Object|#Vertex|#Edge|#Border|#Face|#Element|#CurrentLevel}

requireAll default value: false

Converts the selection from the fromLevel into the toLevel. If requireAll is set to true, all source subelements shared by a target subelement must be selected for the target subelement to be selected. For example, a polygon will only be selected if all its vertices are selected, a vertex will be selected only if all polygons that share it are selected etc.

 

<enum>GetOperation()

GetOperation enums: { #GrowSelection | #ShrinkSelection | #SelectEdgeLoop | #SelectEdgeRing | #GetStackSelection | #HideVertex | #HideFace | #HideUnselectedVertex | #HideUnselectedFace | #UnhideAllVertex | #UnhideAllFace | #NamedSelectionCopy | #NamedSelectionPaste | #Cap | #DeleteVertex | #DeleteFace | #RemoveVertex | #RemoveEdge | #DetachVertex | #DetachFace | #SplitEdges | #BreakVertex | #CollapseVertex | #CollapseEdge | #CollapseFace | #ResetSlicePlane | #Slice | #SliceSelectedFaces | #Cut | #WeldVertex | #WeldEdge | #CreateShape | #MakePlanar | #MakePlanarInX | #MakePlanarInY | #MakePlanarInZ | #Align | #Relax | #MeshSmooth | #Tessellate | #Retriangulate | #FlipFace | #FlipElement | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #Bevel | #Inset | #Outline | #ExtrudeAlongSpline | #HingeFromEdge | #ConnectVertices | #ConnectEdges | #ChamferVertex | #ChamferEdge | #RemoveIsoVerts | #RemoveIsoMapVerts | #ToggleShadedFaces | #TransformVertex | #TransformEdge | #TransformFace | #Create | #Attach | #TargetWeldVertex | #TargetWeldEdge | #EditTriangulation | #TurnEdge | #CreateEdge | #CloneVertex | #CloneEdge | #CloneFace | #InsertVertexInEdge | #InsertVertexInFace | #Autosmooth | #SetSmooth | #SetMaterial | #SelectBySmooth | #SelectByMaterial | #BridgeBorder | #BridgePolygon | #DeleteEdge }


Returns the current EditPoly Operation.

 

<void>SetOperation <enum>operation

operation enums: { #GrowSelection | #ShrinkSelection | #SelectEdgeLoop | #SelectEdgeRing | #GetStackSelection | #HideVertex | #HideFace | #HideUnselectedVertex | #HideUnselectedFace | #UnhideAllVertex | #UnhideAllFace | #NamedSelectionCopy | #NamedSelectionPaste | #Cap | #DeleteVertex | #DeleteFace | #RemoveVertex | #RemoveEdge | #DetachVertex | #DetachFace | #SplitEdges | #BreakVertex | #CollapseVertex | #CollapseEdge | #CollapseFace | #ResetSlicePlane | #Slice | #SliceSelectedFaces | #Cut | #WeldVertex | #WeldEdge | #CreateShape | #MakePlanar | #MakePlanarInX | #MakePlanarInY | #MakePlanarInZ | #Align | #Relax | #MeshSmooth | #Tessellate | #Retriangulate | #FlipFace | #FlipElement | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #Bevel | #Inset | #Outline | #ExtrudeAlongSpline | #HingeFromEdge | #ConnectVertices | #ConnectEdges | #ChamferVertex | #ChamferEdge | #RemoveIsoVerts | #RemoveIsoMapVerts | #ToggleShadedFaces | #TransformVertex | #TransformEdge | #TransformFace | #Create | #Attach | #TargetWeldVertex | #TargetWeldEdge | #EditTriangulation | #TurnEdge | #CreateEdge | #CloneVertex | #CloneEdge | #CloneFace | #InsertVertexInEdge | #InsertVertexInFace | #Autosmooth | #SetSmooth | #SetMaterial | #SelectBySmooth | #SelectByMaterial | #BridgeBorder | #BridgePolygon | #DeleteEdge }


Puts the Edit Poly modifier into the specified Operation mode.

 

<void>PopupDialog <enum>operation

operation enums: {#GrowSelection | #ShrinkSelection | #SelectEdgeLoop | #SelectEdgeRing | #GetStackSelection | #HideVertex | #HideFace | #HideUnselectedVertex | #HideUnselectedFace | #UnhideAllVertex | #UnhideAllFace | #NamedSelectionCopy | #NamedSelectionPaste | #Cap | #DeleteVertex | #DeleteFace | #RemoveVertex | #RemoveEdge | #DetachVertex | #DetachFace | #SplitEdges | #BreakVertex | #CollapseVertex | #CollapseEdge | #CollapseFace | #ResetSlicePlane | #Slice | #SliceSelectedFaces | #Cut | #WeldVertex | #WeldEdge | #CreateShape | #MakePlanar | #MakePlanarInX | #MakePlanarInY | #MakePlanarInZ | #Align | #Relax | #MeshSmooth | #Tessellate | #Retriangulate | #FlipFace | #FlipElement | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #Bevel | #Inset | #Outline | #ExtrudeAlongSpline | #HingeFromEdge | #ConnectVertices | #ConnectEdges | #ChamferVertex | #ChamferEdge | #RemoveIsoVerts | #RemoveIsoMapVerts | #ToggleShadedFaces | #TransformVertex | #TransformEdge | #TransformFace | #Create | #Attach | #TargetWeldVertex | #TargetWeldEdge | #EditTriangulation | #TurnEdge | #CreateEdge | #CloneVertex | #CloneEdge | #CloneFace | #InsertVertexInEdge | #InsertVertexInFace | #Autosmooth | #SetSmooth | #SetMaterial | #SelectBySmooth | #SelectByMaterial | #BridgeBorder | #BridgePolygon | #DeleteEdge }


Opens the corresponding pop-up dialog.

 

<void>ButtonOp <enum>operation

operation enums: {#GrowSelection | #ShrinkSelection | #SelectEdgeLoop | #SelectEdgeRing | #GetStackSelection | #HideVertex | #HideFace | #HideUnselectedVertex | #HideUnselectedFace | #UnhideAllVertex | #UnhideAllFace | #NamedSelectionCopy | #NamedSelectionPaste | #Cap | #DeleteVertex | #DeleteFace | #RemoveVertex | #RemoveEdge | #DetachVertex | #DetachFace | #SplitEdges | #BreakVertex | #CollapseVertex | #CollapseEdge | #CollapseFace | #ResetSlicePlane | #Slice | #SliceSelectedFaces | #Cut | #WeldVertex | #WeldEdge | #CreateShape | #MakePlanar | #MakePlanarInX | #MakePlanarInY | #MakePlanarInZ | #Align | #Relax | #MeshSmooth | #Tessellate | #Retriangulate | #FlipFace | #FlipElement | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #Bevel | #Inset | #Outline | #ExtrudeAlongSpline | #HingeFromEdge | #ConnectVertices | #ConnectEdges | #ChamferVertex | #ChamferEdge | #RemoveIsoVerts | #RemoveIsoMapVerts | #ToggleShadedFaces | #TransformVertex | #TransformEdge | #TransformFace | #Create | #Attach | #TargetWeldVertex | #TargetWeldEdge | #EditTriangulation | #TurnEdge | #CreateEdge | #CloneVertex | #CloneEdge | #CloneFace | #InsertVertexInEdge | #InsertVertexInFace | #Autosmooth | #SetSmooth | #SetMaterial | #SelectBySmooth | #SelectByMaterial | #BridgeBorder | #BridgePolygon | #DeleteEdge }


Presses the corresponding User Interface button.

<void>Commit()

Corresponds to pressing the Commit button in the User Interface. Commits the edits.

<void>CommitUnlessAnimating()

Pressed the Commit button in the User Interface unless the modifier is in animation mode.

 

<void>CommitAndRepeat()

Pressed the Commit button and repeats the last operation

 

<void>Cancel()

Corresponds to pressing the Cancel button, rejects all changes in the current operation.

 

<bitArray>GetSelection <enum>meshSelLevel node:<node>

meshSelLevel enums: {#Object|#Vertex|#Edge|#Face|#CurrentLevel}

node default value: undefined

Returns the specified selection as bitArray value. If node: is supplied, returns the selection from the modifier assigned to the specified node.

 

<bool>SetSelection <enum>meshSelLevel <&bitArray>newSelection node:<node>

meshSelLevel enums: {#Object|#Vertex|#Edge|#Face|#CurrentLevel}

newSelection is In and Out parameter

node default value: undefined

Sets the specified selection using the supplied bitArray. If node: is supplied, uses the modifier assigned to the specified node.

 

<bool>Select <enum>meshSelLevel <&bitArray>newSelection invert:<bool> select:<bool> node:<node>

meshSelLevel enums: {#Object|#Vertex|#Edge|#Face|#CurrentLevel}

newSelection is In and Out parameter

invert default value: false

select default value: true

node default value: undefined

Sets the sub-object selection for the specified sub-object level to the bitArray passed by reference.

 

<void>SetPrimaryNode <node>node

Sets the primary node. An Edit Poly modifier can be assigned as instance to any number of nodes.

 

<void>ToggleCommandMode <enum>commandMode

commandMode enums: {#CreateVertex | #CreateEdge | #CreateFace | #DivideEdge | #DivideFace | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #ChamferVertex | #ChamferEdge | #Bevel | #InsetFace | #OutlineFace | #SlicePlane | #Cut | #Weld | #EditTriangulation | #TurnEdge | #QuickSlice | #HingeFromEdge | #PickHinge | #BridgeBorder | #BridgePolygon | #PickBridgeTarget1 | #PickBridgeTarget2}


Toggles the specified command mode. Enables if disabled, disables if enabled.

 

<void>EnterCommandMode <enum>commandMode

commandMode enums: {#CreateVertex | #CreateEdge | #CreateFace | #DivideEdge | #DivideFace | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #ChamferVertex | #ChamferEdge | #Bevel | #InsetFace | #OutlineFace | #SlicePlane | #Cut | #Weld | #EditTriangulation | #TurnEdge | #QuickSlice | #HingeFromEdge | #PickHinge | #BridgeBorder | #BridgePolygon | #PickBridgeTarget1 | #PickBridgeTarget2}


Enables the specified command mode.

 

<void>EnterPickMode <enum>commandMode

commandMode enums: {#Attach|#PickShape}

Enters the specified pick mode.

 

<enum>GetCommandMode()

GetCommandMode enums: {#CreateVertex | #CreateEdge | #CreateFace | #DivideEdge | #DivideFace | #ExtrudeVertex | #ExtrudeEdge | #ExtrudeFace | #ChamferVertex | #ChamferEdge | #Bevel | #InsetFace | #OutlineFace | #SlicePlane | #Cut | #Weld | #EditTriangulation | #TurnEdge | #QuickSlice | #HingeFromEdge | #PickHinge | #BridgeBorder | #BridgePolygon | #PickBridgeTarget1 | #PickBridgeTarget2}


Returns the current command mode. Returns -1 if no mode is enabled.

 

<enum>GetPickMode()

GetPickMode enums: {#Attach|#PickShape}

Returns the current pick mode. Returns -1 if no mode is enabled.

 

<void>RepeatLastOperation()

Corresponds to pressing the Repeat Last button in the Edit Geometry rollout. Repeats the last operation.

 

<void>MoveSelection <&point3>amount parent:<&matrix3> axis:<&matrix3> localOrigin:<boolean>

amount is In parameter

parent default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

parent is In parameter

axis default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

axis is In parameter

localOrigin default value: false

Moves the current selection by the specified Point3 value. If parent is specified, its local coordinate system is used. If axis is specified, it is used as a custom coordinate system. If localOrigin is specified, the translation will be using the selection's local transformation center as the origin.

 

<void>RotateSelection <&quat>amount parent:<&matrix3> axis:<&matrix3> localOrigin:<boolean>

amount is In parameter

parent default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

parent is In parameter

axis default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

axis is In parameter

localOrigin default value: false

Rotates the current selection by the specified quaternion value. If parent is specified, its local coordinate system is used. If axis is specified, it is used as a custom coordinate system. If localOrigin is specified, the rotation is about the selection's local transformation center.

 

<void>ScaleSelection <&point3>amount parent:<&matrix3> axis:<&matrix3> localOrigin:<boolean>

amount is In parameter

parent default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

parent is In parameter

axis default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

axis is In parameter

localOrigin default value: false

Scales the current selection by the specified Point3 value. If parent is specified, its local coordinate system is used. If axis is specified, it is used as a custom coordinate system. If localOrigin is specified, the scaling is about the selection's local transformation center.

 

<void>MoveSlicePlane <&point3>amount parent:<&matrix3> axis:<&matrix3>

amount is In parameter

parent default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

parent is In parameter

axis default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

axis is In parameter

Moves the slice plane by the specified Point3 value. If parent is specified, its local coordinate system is used. If axis is specified, it is used as a custom coordinate system.

 

<void>RotateSlicePlane <&quat>amount parent:<&matrix3> axis:<&matrix3> localOrigin:<boolean>

amount is In parameter

parent default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

parent is In parameter

axis default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

axis is In parameter

localOrigin default value: false

Rotates the slice plane by the specified quaternion value. If parent is specified, its local coordinate system is used. If axis is specified, it is used as a custom coordinate system. If localOrigin is specified, the rotation is about the slice plane's local transformation center.

 

<void>ScaleSlicePlane <&point3>amount parent:<&matrix3> axis:<&matrix3> localOrigin:<boolean>

amount is In parameter

parent default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

parent is In parameter

axis default value: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])

axis is In parameter

localOrigin default value: false

Scales the slice plane by the specified Point3 value. If parent is specified, its local coordinate system is used. If axis is specified, it is used as a custom coordinate system. If localOrigin is specified, the scaling is about the slice plane's local transformation center.

 

<bool>InSlicePlaneMode()

Returns true if the Edit Poly modifier is in slice plane mode, false otherwise.

 

<void>ResetSlicePlane()

Resets the slice plane.

 

<matrix3 by value>GetSlicePlaneTM()

GetSlicePlaneTM - no automatic redraw after invoked

Returns the transformation matrix of the slice plane.

 

<void>SetSlicePlane <&point3>planeNormal <&point3>planeCenter

planeNormal is In parameter

planeCenter is In parameter

Sets the slice plane orientation using the supplied normal vector and plane center.

<void>GetSlicePlane <&point3>planeNormal <&point3>planeCenter

planeNormal is Out parameter

planeCenter is Out parameter

Returns the normal vector and plane center of the slice plane by writing into the supplied by-reference arguments.

 

<index>CreateVertex <point3>point node:<node>

node default value: undefined

Creates a new vertex at the specified point. Returns the index of the new vertex.

 

<index>CreateFace <index array>vertices node:<node>

node default value: undefined

Creates a new face from the supplied array of indices. Returns the index of the new face.

 

<index>CreateEdge <index>vertex1 <index>vertex2 node:<node>

node default value: undefined

Creates an edge between the two supplied vertex indices. Returns the index of the new edge.

 

<void>SetDiagonal <index>vertex1 <index>vertex2 node:<node>

node default value: undefined

Sets the diagonal between vertex1 and vertex2. This method can be used to manually adjust triangulation.

 

<void>StartCut <enum>level <index>index <point3>point <point3>normal node:<node>

level enums: {#Object|#Vertex|#Edge|#Face|#CurrentLevel}

node default value: undefined

Enters Cut mode at the specified sub-object level.

 

<void>WeldVertices <index>vertex1 <index>vertex2 node:<node>

node default value: undefined

Welds the two specified vertices.

 

<void>WeldEdges <index>edge1 <index>edge2 node:<node>

node default value: undefined

Welds the two specified edges.

 

<void>BridgeBorders <index>edge1 <index>edge2 node:<node>

node default value: undefined

Bridges the two specified edges.

 

<void>BridgePolygons <index>poly1 <index>poly2 node:<node>

node default value: undefined

Bridges the two specified polygons.

 

<void>BridgeEdges <index>edge1 <index>edge2 node:<node>

node default value: undefined

Bridges the two specified edges. Available in 3ds Max 8 and higher.

 

<void>LocalDataChanged <DWORD>parts

Available in 3ds Max 8 and higher.

 

<void>RefreshScreen()

Redraws the screen to update changes. Available in 3ds Max 8 and higher.

 

<bool>InSlice()

Returns true if the modifier is in Slice mode, false otherwise. Available in 3ds Max 8 and higher.

 

<bool>ShowOperationDialog()

Shows the operation dialog. Available in 3ds Max 8 and higher.

<bool>ShowingOperationDialog()

Returns true if the modifier is showing an operation dialog, false otherwise. Available in 3ds Max 8 and higher.

<void>CloseOperationDialog()

Closes the operation dialog. Available in 3ds Max 8 and higher.

 

<node>GetPrimaryNode()

Returns the primary node. Available in 3ds Max 8 and higher.

 

<matrix3 by value>GetNodeTM node:<node>

node default value: undefined

Returns the Node Transformation Matrix. Available in 3ds Max 8 and higher.

 

<void>SetCutEnd <point3>endPoint node:<node>

node default value: undefined

Sets the cut end to the specified point in object space. If the optional node parameter is provided, the point will be taken in its object space. This can be useful when the modifier is instanced across multiple nodes. Available in 3ds Max 8 and higher.

<index>GetLastCutEnd()

Returns the index of the last cut end. Available in 3ds Max 8 and higher.

<void>ClearLastCutEnd()

Clears the last cut end. Available in 3ds Max 8 and higher.

<void>CutCancel node:<node>

node default value: undefined

Cencels the cut. Available in 3ds Max 8 and higher.

 

<index>DivideEdge <index>edgeID <float>proportion node:<node>

node default value: undefined

Divides the specified edge into two edges with the given proportions. Available in 3ds Max 8 and higher.

<index>DivideFace <index>faceID <float array>vertexCoefficients node:<node>

node default value: undefined

Divides the specified face using the supplied array of vertex coefficients. Available in 3ds Max 8 and higher.

 

<node>GetBridgeNode()

Returns the Bridge node.

<void>SetBridgeNode <node>node

Sets the Bridge node.

 

<bool>GetPreserveMap <integer>mapChannel

Returns the Preserve UVs state for the specified map channel.

<void>SetPreserveMap <integer>mapChannel <bool>preserve

Sets the Preserve UVs state for the specified map channel to the supplied boolean value.

 

<void>Attach <node>nodeToAttach editPolyNode:<node>

editPolyNode default value: undefined

Attaches the specified node.

<void>AttachList <&node array>nodesToAttach editPolyNode:<node>

nodesToAttach is In parameter

editPolyNode default value: undefined

Attaches the specified nodes.

 

<void>DetachToObject <&TSTR>newObjectName

newObjectName is In and Out parameter

Detaches the selected sub-object selection to a new object with the specified name.

 

<void>CreateShape <&TSTR>newShapeName

newShapeName is In and Out parameter

Creates a shape with the given name from the selected edges.

 

<integer>GetNumVertices node:<node>

node default value: undefined

Returns the number of vertices in the Edit_Poly.

<point3 by value>GetVertex <index>vertexID node:<node>

node default value: undefined

Returns the vertex with the specified index.

 

<integer>GetVertexFaceCount <index>vertexID node:<node>

node default value: undefined

Returns the number of faces sharing the specified indexed vertex.

<index>GetVertexFace <index>vertexID <index>face node:<node>

node default value: undefined

Returns the indexed faces sharing the specified indexed vertex.

 

<integer>GetVertexEdgeCount <index>vertexID node:<node>

node default value: undefined

Returns the number of edges sharing the specified indexed vertex.

<index>GetVertexEdge <index>vertexID <index>edge node:<node>

node default value: undefined

Returns the indexed edge sharing the specified indexed vertex.

<integer>GetNumEdges node:<node>

node default value: undefined

Returns the number of edges.

 

<index>GetEdgeVertex <index>edgeID <index>end node:<node>

node default value: undefined

Returns the indexed vertex shared by the specified edge.

<index>GetEdgeFace <index>edgeID <index>side node:<node>

node default value: undefined

Returns the indexed face shared by the specified edge.

 

<integer>GetNumFaces node:<node>

node default value: undefined

Returns the number of faces.

<integer>GetFaceDegree <index>faceID node:<node>

node default value: undefined

Returns the number of sides (edges / vertices) of the indexed face. A value of 3 means a triangular face, a value of 4 meas a quad face etc.

 

<index>GetFaceVertex <index>faceID <index>corner node:<node>

node default value: undefined

Returns the vertex used at the specified indexed corner of the given indexed face.

<index>GetFaceEdge <index>faceID <index>side node:<node>

node default value: undefined

Returns the edge used at the specified indexed side of the given indexed face.

 

<index>GetFaceMaterial <index>faceID node:<node>

node default value: undefined

Returns the Material ID of the indexed face.

<DWORD>GetFaceSmoothingGroups <index>faceID node:<node>

node default value: undefined

Returns the Smoothing group of the indexed face. Smoothing groups are stored in long integers where the 32 bits correspond to the states of the 32 smoothing groups.

 

<integer>GetNumMapChannels node:<node>

node default value: undefined

Returns the number of mapping channels.

<bool>GetMapChannelActive <integer>mapChannel node:<node>

node default value: undefined

Returns true if the supplied mapping channel is active, false otherwise.

<integer>GetNumMapVertices <integer>mapChannel node:<node>

node default value: undefined

Returns the number of map vertices in the specified mapping channel.

<point3 by value>GetMapVertex <integer>mapChannel <index>vertexID node:<node>

node default value: undefined

Returns the indexed map vertex from the specified mapping channel.

<index>GetMapFaceVert <integer>mapChannel <index>faceID <index>corner node:<node>

node default value: undefined

Returns the indexed corner vertex of the indexed face from the specified mapping channel.

 

<void>List node:<node>

node default value: undefined

 

<void>RingSelect <integer>RingValue <bool>MoveOnly <bool>Add

Moves the Ring selection. Available in 3ds Max 8 and higher.

RingValue is the quantity of edges to shift. If MoveOnly is true, the selected edges will be moved, If Add is true and MoveOnly is true, newly selected edges will be added to the current selection. If MoveOnly is true and Add is false, newly selected edges will be removed to the current selection.

<void>LoopSelect <integer>LoopValue <bool>MoveOnly <bool>Add

Moves the Loop selection. Available in 3ds Max 8 and higher.

LoopValue is the quantity of edges to shift. If MoveOnly is true, the selected edges will be moved, If Add is true and MoveOnly is true, newly selected edges will be added to the current selection. If MoveOnly is true and Add is false, newly selected edges will be removed to the current selection.

<integer>ConvertSelectionToBorder <enum>fromLevel <enum>toLevel

fromLevel enums: {#Object|#Vertex|#Edge|#Border|#Face|#Element|#CurrentLevel}

toLevel enums: {#Object|#Vertex|#Edge|#Border|#Face|#Element|#CurrentLevel}

Converts the current selection to border selection. The first argument represent the sub-object type to convert from, the second one represents the sub-object type to convert to. Available in 3ds Max 8 and higher.

See also

Editable_Poly: GeometryClass

Editable Poly - Topics Index

Modifier Common Properties, Operators, and Methods

MAXWrapper Common Properties, Operators, and Methods

Value Common Properties, Operators, and Methods