Tagged 'General Scripting'

Attaching same named objects

How can I attach all the objects having same name in a scene??

vray material converter corona material i need help

hi,i need help,i use Corona Converter scripts ,converter some vray material to corona material,but corona glossiness channel material which joined the output of fuzzy control, I want to close “enable color map” and modify “rgb level = 0.6”, I need a batch script, because I have too much material you need to modify the,sorry my bad english

Error in Call function

Hi all,

I am still a newbie with Maxscript. I have followed methods to create the following script however it fails when looking for negative numbers. I thought float would be able to work for negative numbers as well as positive. This script takes in a text file that has this type of information.
PILECAP_P1|MXshape-O100-001|4.2|4.2|1.5|2|2|1.5|0.9|10|6|PILECAP_P1_PILE_|0|-1.5|1.5|0|0|0|0
the error is with the -1.5.

can someone help please?

<code>
(
  arr = $'PILE*' as array
  for i = 1 to arr.count do
  (   
  if arr[i] != undefined do
  (
delete arr[i] 
  )
)

How to clone, rename and move bones?

I'm a total newbie with 3DSMAX scripting.

I need to clone bones by their name and rename the "cloned bone" with specific names.

For exemple:

I must clone bip_01_Lhand and rename the clone as _bone_weapon_attachment and move cloned bone 10 units of distance on X axis

Same for bip01_head whose clone must become _bone_hat_attachment and move cloned bone 15 units of distance on Y axis

How can I do that for 3dsmax 2011?

Bake parray into geo?

Hey guys, I've been searching for a way to bake a PArray system into geo.

I created several PArray systems with the rayfire shooting plugin however I need their Geo in order to simulate smoke.

I've been using the script for PFlow called PFlowBaker a lot however I need one for PArray as well, does this exist?

http://www.scriptspot.com/3ds-max/scripts/pflow-baker

i need some help,hope you guys could help me!thanks

i write script below,but i just can't run it,hope you guys could help me! thanks

arr = $* as array

for j = 1 to arr.count do

(
M = arr[j].MATERIAL

m.name = arr[j].name

arr[1].NAME = "MT_" +m.name

for i = 1 to m.materiallist.count do

M.MATERIALLIST[I].name = M.NAME +"_mtl_" +(formattedprint i format:"02d")
)

How to save nested arrays variables with the scene?

Hi,

I wrote a script for handling multiple scene setups for rendering by storing multiple properties and their associated "objects" in variables that I store in a rollout of a custom attribute. It saves with the scene and it works pretty well as long as I don't close the Max session.
If I close and reopen Max I think what happens is that the rollout gets opened and so reset its local variables. Damn...
I don't want to use params because that means I have to split somehow every properties by type and I was avoiding that thanks to the fact that arrays can contain any type of data.

Find mesh objects in a sceen with the same length

Hellow! I'm trying to find object with the same length in a scene, but can't understand how)
Please, help!

For example in select by name dialog there is a filters, but the is no filter to sort by dimension or scale or legth of a side.

VERY NEED YOUR HELP!

Help a Noob v0.02? " Attaching Multiple Objects"

Hi,

Okay, since I received such a quick and accurate reply to my last post.
I will not hesitate on this one, although I did spend about an hour trying to figure it out for myself.

I have 01-39 separate mesh parts (same as last post) that make up a character's body.
I want to select mesh03 and attach list all the rest except for meshes 02, 08, and 26.

I can attach one mesh to another like this:
$mesh03.attach $mesh39 $mesh03

But I cannot figure out how to attach all the meshes to one, while omitting 3 of them.

Thanks for any help on this.

About Instance material i need hlep!!

I have 100 book material, which joined the channel in vray reflection falloff, I want to instance reflection channel 100 books, how to do, I made one, how to batch instance
meditMaterials[10].material1.texmap_reflection = sceneMaterials["MT_book_089"].material1.texmap_reflection

Syndicate content