gramx
- 12 public contributions
- Member since
- Latest contribution Sep 2016
Birth Script Help
Forum topic
Hi, I am trying to write a simple script to emit a particle on a specified frame in PFlow. This is the Birth script I am using. -------------------------------------------------- on ChannelsUsed pCont do ( pCont.useTime = true pCont.useAge…
1 commentAutoKey - non-keyable spinners???
Forum topic
Hi I have written a script that adds several custom spinner attributes to an object. Is there a way to add a spinner that doesnt create a key when its changed? I have looked in the help and can only find the setKeyBrackets: attribute. The…
2 commentsRunning scripts from a network path
Forum topic
Hi Is there a way to run stdscripts from a newtwork path on max startup? I have tried adding [include] and then the script path to the max plugin.ini but this does not seem to load/run the scripts. Can anyone help? I want to keep all my…
0 commentsmacroScript problems catergory: "unknown"
Forum topic
Hi I have scripted a rollout interface, which is working within max when you run the script. I want to assign it to a custom menu so I need to convert it into a macroscript and put it in stdscripts. When I now load max I get the following…
2 commentsPoly Object to Script
Forum topic
Hi Has anyone got a script that will take a custon polygon mesh and output the code to build it in a max script. ie save out all the point and polygon data? I am trying to make my own custom helper objects. Thanks Gram
24 commentshandles
Forum topic
Hi I am trying to select an object by it unique handle. I can find out what the handle is (see below) what I dont know is how to select the object via its handle. Can anyone help? $.handle (Returns the unique id associated with the node)…
14 commentsNoise Controller
Forum topic
Hi I am scripting a camera rig, and have added attributes to add camera shake. I am trying to link up custom attributes to the seed of a noise controller but it seems you can only link up the strenght. Is there a way to do this? Or am I…
1 commentSticky Attributes
Forum topic
Hi I have scripted a camera rig interface using custom attributes. Now when I select a lens from a dropdown list it sets the focal length and disables some spinners. Howether when I deselect and then reselect the object the values have…
10 commentschecking if objects already exist
Forum topic
Hi I have created a camera rig script, which sets up a rigged camera in your max scene! What I am also trying to do is check before it creates the rig to see if any cameras already exist. If they do exist then find the highest numbered…
3 commentsexecuting code from a custom attribute
Forum topic
Hi I have added Custom Attributes to a Camera. One of the attributes is a dropdown box containing a list of prime lenses. ie(50mm f1.8, 100mm f2 etc). What I cant figure out is how you can code this so that when you select one of the the…
2 commentsCustom Attributes
Forum topic
Hi I have added custom attributes to an attribute holder using the Parameter Editer. It works well but I want to add extra rollouts and rename them. At the moment I can only have one called 'Custom Attributes'. It looks like the only way…
3 commentsCreating/Removing Menu itesm
Forum topic
Hi I am using the following script from the help to create a new menu item:- if menuMan.registerMenuContext 0x246c6dbe then ( local mainMenuBar = menuMan.getMainMenuBar() local helpMenuIndex = mainMenuBar.numItems() local helpMenuItem =…
4 comments