r/Maxscript • u/MAreduser • Nov 08 '21
Weld vertecies of editable spline
Hi guys i have looked around for scripting vertex weld solutions... but i'm only fining examples for Object mesh (meshop.weldVertsByThreshold) and polys, but not splines.
Im trying to make a script that:
loops through only the "Editable Splines" individually (classof i == SplineShape do)
selects the sub level "Vertex" (subobjectLevel = 1)
Selects all vertices on that level (actionMan.executeAction 0 "40021")
Weld all the selected verts by a threshold value (splineOps.weld $)
Thanks in advance
1
Upvotes