Access Box#2 Modifiers Via Script

Hey guys, If I wish to ad a point cache modifire I can just type

addModifire $ Point_Cache

or

addModifire $ (Point_Cache())

but when I try to add a box2 particle skinner

addModifire $ Particle_Skinner

it is undefined. If I ad the skinner Manually, I get.

modPanel.addModToSelection (Particle_Skinner ()) ui:on

in the listiner, but if I copy and paste it I get.

-- Runtime error: Not creatable: Particle_Skinner

What is happening here? Can maxscript not read the class? Do I have to ad some kind of library somewhere?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

obviously can not be created

obviously can not be created with mxs, but not sure.
Anyway correct way will be

addModifire $ (Particle_Skinner())
--or 
ps = Particle_Skinner()
addModifire $ ps

bga

Anxo's picture

Yes, I just had a friend take

Yes, I just had a friend take a look and the script works fine on his machine. Turns out I must have a bad install.

This is my signature! WOOT! Gratz to me!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.