I have no idea how to work with the SME, but to assign a controller is pretty simple. bmap.coords.u_Tiling.controller = UVctrl
getClassInstances BitmapTex That might work for scene textures. But if you have other images not used in the viewport you’ll want to check out Enum…
This isn’t reliable because the texture could also be in the #Images folder, or any of the External Files directories defined in Configure User Paths…
Yeah, I’ve been thinking about this issue. Just didn’t have time to work it out. The way I was going to approach it was to modify the Straighten comm…
That’s weird, the straighten command should do make sure everything is on a grid. I notice you are in UV vertex suobject. Can you try it in UV face s…
Maybe something like this? ( uvMod = modPanel.getCurrentObject() uvMod.quickPlanarMap() uvMod.straighten() uvMod.pack 1 0 true false false )
If you don’t mind the UI update, you can also do this. subobjectlevel = 3 max select all
This seems to work for me. allfaces = 0 for obj in selection do allfaces += unwrapMod.numberPolygonsByNode obj for obj in selection do unwrapMod.sel…
Your script is just a little unorganized. Try using indents to help see when you are missing a bracket (which was the problem.) To change the cellula…
I don’t think there’s a way to get the bitmap associated with a Slate Material Editor node. (At least not an obvious one.) If you want to do all the …
Nice Denis. My own solution for this is easily 3x longer. I think I need to start thinking differently. Your solution works if I change ‘nodes’ to ‘o…
I use the Open event in many scripts without issue. Could you provide a code sample that reproduces the problem?
This might work for you. If the objects are named as you said. Just change numberOfCars to whatever you need. I don’t see the need to select anythin…
macros.load (yourMacroFolder) I think this would do the same thing. According to this page:
There’s something wrong with install because when I drop the MZP into 3ds Max it puts PTH_main.mcr in $userScripts not $userMacros and install.ms is n…