Notifications
Clear all

[Closed] Get / set patch handle selections

Hi, does anyone know how to get and set patch handle (vector) selections in maxscript? I know you can use <node>.selectedvertices for vertex selections, but selectedhandles or selectedvectors doesn’t exist. Thanks in advance!

2 Replies

I’m not going to be much help but years ago this was attempted by a TA I worked with at the time and he said that working with patches in scripts was a nightmare and pretty much impossible. Outside of scripting the patch geometry type is archaic, slow and so difficult to work with. Sub d stuff (or the equivalent in Max) is the modern day equivalent and because the tools for subD a superior in every way i dont see why anyone would use patches ever again

Unless there is a reason that you absolutely have to use patches go with subD or turbo smoothing polys

Dave

Well yeah the patch type has been forgotten about for many years, so I don’t think there has been any improvements in both the geometry type or in the maxscript interface. I figured there had to be some kind of way of selecting the handles in maxscript, since there’s a separate sub-object level for them, unlike splines. If I could at least find a function to test if a single handle was selected or not, then I could make a function for getting the selection.

Generally though ts not a huge deal, since I’d mainly use it to keep my patch selection functions consistent. But if anyone has any ideas, please let me know.