Jump to content

Get wind Seed Offset value via maxscript


Recommended Posts

Hi,

 

Is there a way to get the wind seed offset value with Maxscript?

 

Using GrowFx 1.9.9 SP9 and 3dsmax 2020 returns an empty property when listing After Mesh Modifiers properties and Seed Offset seems to be one the missing:

 

showproperties t.Wind
  .Enabled : boolean
  .ScaleFrequency : float
  .AxialRotation : boolean
  .MaxAngle : float
  .OrientForLeaves : boolean
  .Type : name
  .Looping : boolean
  .LoopingPeriod : time
  .AmplitudeMultiplier : float
  .
  .Stiffness : float
  .Stiffness_Graph
  .Flexibility : float
  .Flexibility_Graph

 

Link to post
Share on other sites

Hi cippall,

 

Ok, we added the following functions to the path, because the seed offset is stored as a separate array in the path.

 

<growfx>.<path>.GetDirSeedOffset <modifier_index_integer>

Returns the Seed offset for the specified modifier, index are 1-based.

 

<growfx>.<path>.SetDirSeedOffset <modifier_index_integer> <new_seed>

Sets the Seed offset for the specified modifier, index are 1-based.

 

Examples:

$.Path_01.GetDirSeedOffset(1)

$.Path_01.SetDirSeedOffset 1 250

 

I'll let you know here as soon as we update all versions on the server and you can download it.

Thanks!

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...