Search - User list
Full Version: How to set vector Parameter with SetModifierHdaParameter?
Root » Houdini Engine for 3ds Max » How to set vector Parameter with SetModifierHdaParameter?
paj
Hello,
I have a digital Asset running in Max with some parameters defined as vector

parm {
name “uvScale”
label “UV Scale”
type vector
size 3
default { “12” “12” “12” }
range { -1 1 }
parmtag { “autoscope” “0000000000000000” }
}

When I try to update this Parameter with
SetModifierHdaParameter $Box002 $Box002.modifiers “uvScale” #(“12”, “12”, “12”)

I get this error:
– Unable to convert: #(“12”, “12”, “12”) to type: Float

How can I identify the single Parameters?
Thanks for any help!

Peter
paj
Same Problem on quaternions and color parameters.
Plugin expects float or strings only. Please help!
Peter
BrookeA
Hi, it should be as follows:

SetModifierHdaParameter $Box002 $Box002.modifiers “uvScale” 12 12 12

I have logged a bug to add an example to the documentation for these types of parms!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB