Notifications
Clear all

[Closed] poly functions prob with editable_poly and modifiers

I have problems performing poly operations on a node.

For example if I have a modifier on top, lets say meshsmooth.
For example if I write $.baseobject it will create an error if there are no modifiers.

If I say use $.baseobject not all functions will work with it for example IsValidNode $.baseobject won’t work.

Even worse is if I try to operate on the edit_poly modifer.
I just worked with it and found that the functions does not even seem to be the same
I also plan to make functions for everything that will can handle both poly and mesh objects, but it will be even less fun if I have to write all the functions differnetly if they are editable_polys or have modifers on top.

So does anyone have any tips to handle all these situations I would be very glad

/Andreas

3 Replies

I don’t see why. It does not depend on the presence of modifiers. Works ok here.

1 Reply
(@f97ao)
Joined: 11 months ago

Posts: 0

Arg, I lost my length post. Anyway, you are right no problem.

Have you experimented with writing multi functions that work for both mesh/polys etc?
Methinks it should make the functions far more powerful.

/Andreas

i have exactly the same problem… Any luck? How do i for example access the vertexselection with an edit_poly on the top of the stack? (only GetVertSelection for polyOp)

seb