martinez
@martinez
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 136
Reply
RE: Slate Material editor: instance UV tiling controller

I have no idea how to work with the SME, but to assign a controller is pretty simple. bmap.coords.u_Tiling.controller = UVctrl

10 years ago
Forum
Reply
RE: Get texture absolute path?

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…

10 years ago
Forum
Reply
RE: Get texture absolute path?

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…

10 years ago
Forum
Reply
RE: Evenly space the UVW points of a grid of poly faces?

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…

10 years ago
Forum
Reply
RE: Evenly space the UVW points of a grid of poly faces?

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…

10 years ago
Forum
Reply
RE: Evenly space the UVW points of a grid of poly faces?

Maybe something like this? ( uvMod = modPanel.getCurrentObject() uvMod.quickPlanarMap() uvMod.straighten() uvMod.pack 1 0 true false false )

10 years ago
Forum
Reply
RE: Unwrap_UVW selecting all faces on all nodes

If you don’t mind the UI update, you can also do this. subobjectlevel = 3 max select all

10 years ago
Forum
Reply
RE: Unwrap_UVW selecting all faces on all nodes

This seems to work for me. allfaces = 0 for obj in selection do allfaces += unwrapMod.numberPolygonsByNode obj for obj in selection do unwrapMod.sel…

10 years ago
Forum
Reply
RE: Changing values in modifyer maps?

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…

10 years ago
Forum
Reply
RE: Slate material editor – change properties of selected nodes

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 …

10 years ago
Forum
Reply
RE: quickly find duplicated names in array of objs

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…

10 years ago
Forum
Reply
RE: scripted helper rollout updates

I use the Open event in many scripts without issue. Could you provide a code sample that reproduces the problem?

10 years ago
Forum
Reply
RE: Select, Align and Parent

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…

10 years ago
Forum
Reply
RE: Is there something like Maya's Rehash for Max to rescan Macroscript folder?

macros.load (yourMacroFolder) I think this would do the same thing. According to this page:

10 years ago
Forum
Reply
RE: ProTrajectoryHandles released!

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…

11 years ago
Forum
Page 3 / 10