PolyModOp is a MAXScript struct that wraps Edit Poly modifier methods with signatures familiar from polyop. A script can check whether it is working with an Editable Poly object or an Edit Poly modifier, select polyop or polyModOp, then use the same method calls in the rest of the tool. That can help 3ds Max scripters maintain tools for both object types.

How it fits into a MAXScript tool

PolyModOp is a code resource, rather than a standalone interface. The ScriptSpot page includes Border Fill as an example of a tool built with it.

The wrapper does not cover every method. Check the accompanying missing_methods_0.3a.txt file before relying on a particular call. The listing also notes that many methods require the Modify panel to be active, and that some methods may not work as expected because they have not all been tested. In the example workflow, coordinates are local to the Editable Poly or Edit Poly object unless a node: parameter is supplied.

Trade-offs and compatibility

PolyModOp prioritizes easier coding and maintenance over speed on complex meshes. Check its behavior and performance in the scenes where you plan to use it.

ScriptSpot lists version 0.3a for 3ds Max 9 and later. The download includes the MAXScript file, the missing-methods list, and a license file. PolyModOp is released under the ISC license; consult the included LICENSE.txt for its terms. See the ScriptSpot listing and files before building a tool around methods you have not checked. The project’s related 3ds Max Ideas post explains the goal of making scripts work across Editable Poly and Edit Poly.