Notifications
Clear all

[Closed] Script Modifier to automaticaly select all faces

Im tyring to extended the meshSelect modifier and get it to select all faces/verts etc so that I can put a uvw map modifier ontop and have this update as I am modeling.

So far I have the basics, but Is there a way to set subobjectlevel without using subobjectlevel = x ?

Heres what i have so far…


-- Mesh Select modifier to automatically select all mesh
-- Usefull for displaying final results

plugin modifier mAutoMeshSelect name:"Mesh Select - Automatic" classID:#(685325,452281) extends:MeshSelect replaceUI:true version:1
( 
	parameters main rollout:params
	(
		mSubObj type:#integer animatable:false ui:radSubObject default:4
		on mSubObj set val do delegate.subobjectlevel = val
	)
	

	rollout params "Parameters"
	(
		radiobuttons radSubObject labels:#("Vertex","Edge","Face","Polygon","Element") default:4
		
		on radSubObject changed mVar do
		(
			delegate.subobjectlevel = mVar
		)
	)

)

5 Replies

maybe i’m missunderstanding but based off your description, all you have to do is apply your uvw mod as usual and make sure the ‘show end result’ button is on when you’re editing below.

If i’ve missunderstood, an alternative solution is to just use a volume select modifier and set it to ‘Face’ instead of writing a new one. Clean, simple, built in!

Ah ill give the volume select a go.

Problem with mesh select is if your making cuts to your mesh bellow that it does not select the new faces.

Nope volume select doesnt work either

 JHN

Wouldn’t you be better of with a change handler forcing the mesh select to update?

-Johan

are you using a uvw map modifiers or an unwrap uvw modifier ?