Notifications
Clear all
[Closed] Turn all edges on (Editable Mesh) in Maxscript?
Apr 22, 2016 11:59 am
Hi
The only information I seem to be able to find on this doesn’t work unfortunately…
I would like my script to turn all edges on in the same way it does if you select all the edges… go Editable Mesh > Surface Properties >Visible
If I use the code below, it does something to the edges, but doesn’t actually make them visible in the same way… ie. they’re dashed instead of solid
subobjectLevel = 2
actionMan.executeAction 0 "40021" -- Selection: Select All
$.allEdges = true
Any help would be gratefully received
Thanks in advance…
Neil
2 Replies
Apr 22, 2016 11:59 am
obj = selection[1]
for face = 1 to obj.numFaces do for edge = 1 to 3 do setEdgeVis obj face edge true
update obj