Notifications
Clear all

[Closed] getVertsUsingEdge in edit_poly modifier

I struggle everytime I need to decline a command from polyop(collapsed edit_poly)
to edit_poly modifier. This time I’m asking if polyop.getVertsUsingEdge have a correspondence on the edit_poly modifier stacked on top of other modifiers.
But more than that, I ask if there’s a rule to understand that correspondence and not going crazy for doing the same operation on mesh, polys or modifiers.

2 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

#1 <index>GetEdgeVertex <index>edgeID <index>end node:<node> node default value: undefined
Returns the indexed vertex shared by the specified edge.

#2 there is no logic way to get vertices or faces corresponded to specific poly edge(s). in poly object logic an edge is not much more than a line drawn between to vertices.

Well, there are quite a few undocumented methods, getVertsUsingEdge is one of them:

	<void>getVertsUsingEdge <&bitArray>vertSet <&bitArray>edgeSet node:<node>
	   getVertsUsingEdge - no automatic redraw after invoked
	   vertSet is In and Out parameter
	   edgeSet is In and Out parameter
	   node default value: undefined

To see the complete list, run showInterfaces fn on the modifier.