ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
cool, but correctly write
cool, but correctly write so
(
local faceSel = #{1}
local poly = convertToPoly (Plane isSelected:on)
subObjectLevel = 4
polyop.setFaceSelection poly faceSel
local verts = polyop.getVertsUsingFace poly faceSel
local scaleTM = scaleMatrix [2,2,2] * inverse (maxOps.getTransformGizmoTM())
polyop.setVert poly verts (for v in verts collect (polyop.getVert poly v node:poly) * scaleTM) node:poly
)
polyop.getVerts
For any max version newer than 2018.2 that's the method you'd use, only for older max versions you'd go with getting the verts one by one.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
cool.....
cool.....
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters