ScriptSpot

Forum topic · General Scripting

problem Scale_Expression controller

By anybany · 2007-08-21

Description

In maxscript user's gude is method for Scale_Expression controller.

--Methods:

--<boolean>AddScalarConstant<&TSTR>Name <float>Constant

--Name is In parameter

--Adds a scalar constant. The first argument is the name of the --scalar. The second argument is the constant value to be --assigned to the scalar.

--I write some script

se=Scale_expression.AddScalarConstant "RER" 50.0

$.scale.controller=se

  --and got

-- Argument count error: AddScalarConstant wanted 3, got 2

--What happend????????

 

 

Comments (1)

Aline3D · 2007-08-23

Hi :)

write like:

$.scale.controller.AddScalarConstant "RER" 50.0

 

is this?