Alen
- 6 public contributions
- Member since
- Latest contribution Aug 2012
Diferentiating between just one object selected or several
Forum topic
Hi, Is there a way to test for number of objects selected? $.count works only if there are more than one, $ as array as well. I tried append myArray $ as well, but in case of several objects it will add only "$selection" as a value. I'm at…
5 commentsAsset Metadata access
Forum topic
Hi, I'm in need of assistance once again. I'm trying to replace assets (bitmaps) by searching for keywords in file names and replacing them (e.g. texture_low.jpg to texture_high.jpg). This part works fine, but my edits have no effect if…
0 commentsOperations on any selected subobject
Forum topic
Is it possible? I wanted to have my script execute move on any selected subobject (if any) without ever knowing the class or type of subobject, but from what I gather, I'd have to identify class (Editable Poly, mesh, spline or patch) and…
2 commentsPassing var value from rollout to macro script
Forum topic
Hi! I'm having a problem with a script I wrote. My main script is a macro script which I have assigned to a keyboard shorcut. The other script is a simple rollout with a pickbutton which stores an object in a global variable. My…
13 commentsScaling modifier gizmo
Forum topic
I'm having trouble forcing gizmo to scale in relation to its center (as described in max script help). Here's the part of the code: addmodifier $ (vSelect=Vol__Select level:2 type:1 autofit: false ) vSelect.gizmo.scale =…
2 commentsHelp needed for writing script that eliminates overlapping polygons
Forum topic
Hi, I've recently started learning max script (I've had some previous scripting experience, most notably in LUA). And as a first script I tried to make one that eliminates polygons that perfectly overlap each other. I've encountered this…
2 comments