3ds Max Animation :: How To Create Custom Parameter Like Button
Oct 27, 2011
I want to create an custom parameter like "button" under my object parameters or in attribute holder and i want this button run a simple code/script for me.
for example: linking Box1 to Box2
$.parent = $Box002
I know how to work with "wire parameter" and "parameter editor" but the problem is that i cant find any way to tell them to run this script with that parameter.
My ultimate goal is to have a virtual human model that I can re-size parametrically to reflect real-world measurements. I've used MAX to make architectural models and scenes so I know how to manipulate basic shapes in MAX.
how to make some sort of basic-custom geometric shape and control that shape parametrically, like the built-in "Box", "Sphere" and "Cylinder" objects.
I got a deadline for my project, but I got a big problem:
"I cannot set the "parameter" for the End Value in Parameter Animate dialog"
For easy understand, let's see a example:
1. I got a part which has two parameters named: "A" and "MaxA" 2. I animate Favorited parameter A. 3. The End Value is MaxA_ (Everything is ok) 4. I finish Studio environment, then I change parameter MaxA_ from 200 mm to 400 mm 5. I turn back to Studio environment, the End Value now is "200 mm" (I want this will be MaxA_, so I can animate the flexible parameter).
show me how to keep the end value will be "MaxA_" after I change parameter?
I am trying to publish to the CC a guide rail. The vendor of the rail gives me the option of entering the desired length of the rail. After that he gives me the option to choose between the length that I entered and a shorter and longer standard length witch can be delivered faster.
I want to do the same thing with my published part, but I cannot make a key parameter to change depending on the entered custom parameter. I want the user to make the next steps when inserting from the CC: 1- select the size of the rail; 2-select the type of the rail; 3- enter the desired length of the rail; 4- choose between the desired length and the 2 recommended lengths (I need these 3 lengths to be shown)
The reaction manager is an extremely cumbersome way to map one parameter to another, especially if you want a precisely defined mapping curve.
In Cinema4D (a program I'm learning at the moment) there is a range mapper node that can use a spline as mapping curve to map an input parameter to an output parameter.
Is there a way in Max to map one parameter to another using a precisely defined curve?
3D Studio DOS to 3ds Max 2010 Windows XP 64 NVidia Quadro FX 3700 Dual Quad Xeon, 6Gb Ram
i'm rigging a character and i want to create an custom parameter for my rig's controller that save a lot of time for animators; "transform to zero" is one of most useful command in animating, take a look at my screenshot
now my question is how can i create an custom parameter like "button" under my controller parameters or in attribute holder that run a simple code/script for me like transform to zero script: macros.run "Animation Tools" "TransformToZero"
I've got a custom VBA function that works perfectly when called from a parameter in my part.
However, when in the context of my assembly, there is no error, but the function no longer runs, and the parameter text is red.
Apparently, the function is no longer in context?
I've heard of external rules, but have never implemented one.
Is there a way to declare my function and keep it in context regardless?
Public Function BumpHeight(dblHeight As Double, dblMember As Double) As Double Dim X As Integer X = 2 If dblHeight > dblMember * 2 Then BumpHeight = dblHeight Else BumpHeight = dblMember * X End If BumpHeight = BumpHeight / 2.54 End Function Here is the Parameter:
VBA:BumpHeight(ValanceBackBumpoutHeight;ValanceMemberSize) * 1 in
Update: (problem better defined)
What seems to be happening is that once I insert the part into an assembly, it creates a new blank copy of the parts' modules in VBA and the functions no longer work.
If I go to the VBA editor,
There are now two copies of my part listed in the browser tree, but the new one is blank.
If I paste in my function to the new one, it will work until I return to the parent assembly.
Next time I come back to the part, it will have a new blank set of modules.
This appears to continue indefinitely...
see the attached screenshot.
At this point there are only 2 copies of the DocumentProject. The original still contains my functions, but the new one is blank.
I need these functions to work in order to build my model.
I would like to know that while system families are not editable, would the shared parameters file for these families be accessible? I am looking to add a custom label for sections.
Have a bit of a puzzle that's been bouncing around a bit. Is there a way to delay a object following it's parent for a few frames? For instance, I have a hook attached to a crane that rotates around, the hook following it around. If I could have it follow the crane at a bit of a lag, allowing the cable to curve slightly, it would look a deal more real. I know I could hand animate it, but is there a way to set it up so that the hook will follow the crane after a delay of say, 10 frames or so?
I used to do this all the time. Now I cant remember how to do it properly, if possible a screenshot of how to do the maths in the Parameter wiring box. Getting the circle to travel along this line without scripting.
What should have been a 5 minute job has turned into about an hour.
Just installed 2013 Pro x64 and I'm doing a little testing. Using Tube and Pipe, I created a few mock pipe runs which are named according to a unique line number. When clicking on the Iproperties of any of these pipe runs, I can see that the value of model parameter "Part Number" now includes the name of the top level assembly and the line number, which is the name I assigned to the pipe run when I created it (see Fig 1 attached). Then in IDW I created a user defined symbol which contains text that I have directed to extract value of "part number" from the model properties, and fill in my symbol with that value (see Fig 2). The problem is, when I tag the pipe run with my custom symbol, the value in the symbol remains blank, instead of giving me the value of "part number". WHAT am I missing??
I have an assembly inside of Inventor Studio. One of the parts inside of the assembly has a parameter that I would like to animate. When I select the "Parameters" function within the "Animate" tab on the ribbon, I get an error:
"There are no favorite parameters defined."
This worked fine when I tried the same thing with only the part inside of Inventor Studio, but not when the part is included inside of an assembly.
I would like to use a multi-list parameter in a form, that isn't a problem. However I want the selection to be copied to a custom parameter when the form closes. Is there anyway to fire a rule when the form closes or to add a multi-select list to a parameter, in a form?
An application that will let me choose a group of Drawing files (.idw) and perform "Save Copy As" to a PDF format on them. The Filename of each Drawing should be extracted from a custom Parameter I embeded in the IDW file.
I know I can use the Task Manager with a virtual PDF Printer to create these files, but then the PDF Filename will equal the IDW Filename, and I want it to be derived from the custom parameter I prepared inside the drawings.
when i create an ipart with an custom parameter column, the files are created in the workspace. Is there any way how i can change this location?
Many parts are piling up in the workspace.For example to the library (like "normal iparts" do) or to a folder in the workspace (workspace/ custom_ ipart_ folder)?
Convert To Timeline Animation Button doesnt appear and its driving me crazy.in the animation window its in frame animation mode and this button im talking about doesnt appear!.
I try to wire the length parameter of a taper object to the local Y-Position values of another object. It works fine until I reload the file. I get an MAXScript Wire Controller Exception error:
--Runtime error: Illegal self-reference in controller script
...and the parameter-wire dialog opens. The desired functionality returns by clicking the Update Button and everything works fine again.
when I hover the cursor over my own custom toolbar buttons, I get the message "Press F1 for more help" you can then go to F1 but that only for Autocad commands not my own programs. My question is how can I get rid of the message "Press F1 for more help" when the cursor is over my custom program buttons?
I'm trying to find a way to trigger an "Add-Ins" button that we have customized, and have it pop up on the closing of a form. If you know a way to program how to close a form through iLogic, or find a way to see if it's still open
I'm not sure that I actually want to access the button per say, but instead launch the dialog box. I'm not sure if this differs your answer in any way, but I searched the customization forum and found little information.
I've got a weird problem with several (not all) objects in my scene. No matter if Max 2012 or 2013. It's impossible to apply any transform as soon as the auto key button is pressed. The objects are totally locked. With auto key button inactive, transformations are possible. Key filters are active.
The only workaround so far is to group those objects or link them to a dummy or detach all elements into a new object and delete the original one. Any newly created objects can be animated either.