Select edge by material id borders

Hey everyone, im looking for a modifier that will pass an edge selection up the stack. The edge selection has to contain all edges that are between two polygons with different material ids.

Im using 2013. Ideally this would be a plugin that adds a separate modifier which would allow me to change mat ids on the editable poly below the modifier and the modifier would adjust the selection accordingly.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

well, that's what i can help :)

In the past when the script work in one version was guarantee that it will work in the upper versions as well. But the amount of new bugs into 3ds Max in the last few years destroyed that rule.

If you familiar with scripting, I put a lot of comments in the script, almost on each line, so maybe you can debug it for Max 2013 yourself.

As for plugin.. well, extending existing modifiers plugins is very limited and is a dead end for this case. You can make a scripted modifier plugin from the ground, like EmptyModifier for example, but.. will need to use a lot of callbacks to monitor the changes in the stack. But this is a weird solution by many reasons.

In other words, if you need modifier plugin, then go for real C++ based plugin using Max SDK.

my recent MAXScripts RSS (archive here)

azmundai's picture

Thanks for trying

Im using 2013 and getting a number of errors. Ideally this would be a plugin that adds a separate modifier which would allow me to change mat ids and the modifier would adjust the selection accordingly.

Anubis's picture

Hi Joe

I was write something for you:
http://www.scriptspot.com/3ds-max/scripts/select-edges-by-material-id

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.