polyop | polyops

polyop | polyops

Anonymous
Not applicable
281 Views
2 Replies
Message 1 of 3

polyop | polyops

Anonymous
Not applicable
Hi,

My question is what's their difference and why is there a need to separate the two?
And in the help file both of them are label as Editable_Poly: GeometryClass in
max 8.0 reference.

And the difference between polyops.detach and polyop.detachface?

Thanks in advance!
0 Likes
282 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Hi,

My question is what's their difference and why is there a need to separate the two?
And in the help file both of them are label as Editable_Poly: GeometryClass in
max 8.0 reference.

And the difference between polyops.detach and polyop.detachface?

Thanks in advance!



polyops, meshops, patchops and splineops are structures containing methods that PRESS BUTTONS in the UI of the corresponding geometry types. They expect the object to be selected and displayed in the Command Panel and emulate a mouse click on the respective button.

polyop. and meshop. methods on the other hand provide lower-level access to features which are not necessarily related to pressing a button in the UI.

Thus, polyops.detach() performs the same as clicking with the mouse on the Detach button - if an EPOly object is displayed in the Command Panel and if any faces are selected, they would be detached.

polyop.detachFace() on the other hand lets you specify the object and the exact faces to detach, as well as a bunch of other options. Thus, it does not even require the object and its faces to be selected explicitly in the UI/viewport to function.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks again bobo!
0 Likes