ofer_z
@ofer_z
New Member
Joined: Feb 14, 2024
Topics: 11 / Replies: 188
Reply
RE: "pure math" type question about dividing up number arrays

Hi, Can you explain how you got the results in your 3rd example? I don’t understand how you got the value 14.2334 (the middle result). Cheers, o

12 years ago
Forum
Reply
RE: Delete modifier by name?

You can get the modifier by its name: ( local o = sphere() addmodifier o (Displace () ) validmodifier o Displace o.modif…

12 years ago
Forum
Reply
RE: run sql script in max listener

Hi, The problem is that code executed in the maxscript listener is in global scope. What you put inside brackets is in local scope (this is why you c…

12 years ago
Forum
Reply
RE: array split every Nth

yet another option: local arr = for i = 1 to 1000 collect i as string local nums = 2 local arrays = for i = 1 to nums collect ( for j =…

12 years ago
Forum
Reply
RE: Any equivalent of "me" or "this" for use in scripts to make them generic?

or use the firstOnly parameter: refs.dependentNodes this firstOnly:true

12 years ago
Forum
Reply
RE: custom attribute position

Hi, Actually, if I understand the issue correctly, it is possible with MXS. You need to use the rollout’s category parameter: ( local def = attrib…

12 years ago
Forum
Reply
RE: Wacom Tablet Pressure?

Hi Paul, I’m pretty sure WPF can read pressure values of a stylus device. Haven’t worked with it though. Cheers, o

12 years ago
Forum
Reply
RE: DotNet Memory Leak

I don’t know why the maxGeneration trick is needed. From what I understood from the dotNet help calling Collect() and Collect with maxGeneration shoul…

13 years ago
Forum
Reply
RE: Help improving a keyframe script

See if this is what you’re looking for: ( fn collectAllKeyTimes inSubAnim = ( local keyTimes = #() if inSubAnim != undefined then ( if isC…

13 years ago
Forum
Reply
RE: Bone ID vs Bone Index

Note that in max 2013 the bone ID changes whenever the list order in the UI is changed. In 2013 they changed the modifier to sort the bones in the UI …

13 years ago
Forum
Reply
RE: The age-old question: node vs. object

@PEN – thanks for the answer. It’s not something specific I’m trying to do, we just had a discussion about scripting naming convention, and considere…

13 years ago
Forum
Topic
Forum
Replies: 4
Views: 10
Topic
13 years ago
Forum
Replies: 1
Views: 9
Reply
RE: (Rhetorical question) is it possible to define structure inside structure

One important thing to know, the struct member and the struct name have to be the same. So, the above sample work, but the one below, doesn’t: struct…

13 years ago
Forum
Topic
Forum
Replies: 0
Views: 13
Page 1 / 14