I’m having an issue using quadrify via maxscript. If I use it from the ribbon manually, or even in the script listener, it works as expected. If I issue the command in a maxscript, it deletes faces.
Am I doing something wrong, or is there an issue? I’m on Max 2020.3.
Here is a sample to test:
verts = #([84.7432,49.8489,0],[-71.148,69.4864,0],[-97.432,-7.85498,0],[-42.7492,-64.9547,0],[-3.77644,-10.8761,0])
faces = #(#(5, 3, 4),#(5, 1, 2),#(5, 2, 3))
testmesh = mesh numverts:5 numfaces:3
for v = 1 to 5 do meshop.setvert testmesh v verts[v]
for f = 1 to 3 do meshop.createpolygon testmesh faces[f]
update testmesh
convertto testmesh editable_poly
referencemesh = copy testmesh
referencemesh.pos.y += 200
max modify mode
select testmesh
polytoolsmodeling.quadrify false false