cippall Posted November 10, 2020 Report Share Posted November 10, 2020 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 Quote Link to comment Share on other sites More sharing options...
Eduard Posted November 12, 2020 Report Share Posted November 12, 2020 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! 1 Quote Link to comment Share on other sites More sharing options...
cippall Posted November 12, 2020 Author Report Share Posted November 12, 2020 Thank you! Quote Link to comment Share on other sites More sharing options...
Eduard Posted November 13, 2020 Report Share Posted November 13, 2020 Hi cippall, Ok, you can try the update, please download it from your User panel account. Thanks! Quote Link to comment Share on other sites More sharing options...
cippall Posted July 26, 2024 Author Report Share Posted July 26, 2024 Hi Eduard, These methodes seem to work fine for Direction Modifiers, but not for After Mesh Modifiers. Can you provide an example for changing the Count Rate and Seed for a Wind modifier placed in the After Mesh Modifiers list? Thank you ! Quote Link to comment Share on other sites More sharing options...
Eduard Posted August 8, 2024 Report Share Posted August 8, 2024 On 7/27/2024 at 3:53 AM, cippall said: Hi Eduard, These methodes seem to work fine for Direction Modifiers, but not for After Mesh Modifiers. Can you provide an example for changing the Count Rate and Seed for a Wind modifier placed in the After Mesh Modifiers list? Thank you ! Hi cippall, Yes, you are right, GetDirSeedOffset and SetDirSeedOffset are only used for Direction modifiers. If you need, we can add GetAMDirSeedOffset and SetAMDirSeedOffset to access the Seed Offset for AfterMeshModifiers. Thanks! Quote Link to comment Share on other sites More sharing options...
cippall Posted August 24, 2024 Author Report Share Posted August 24, 2024 That would definitely be useful. Thank you ! Quote Link to comment Share on other sites More sharing options...
Eduard Posted August 26, 2024 Report Share Posted August 26, 2024 On 8/24/2024 at 5:51 AM, cippall said: That would definitely be useful. Thank you ! Ok, as you requested, we have added the following methods to GrowFX: For version 1.x: <growfx>.<path>.GetAMDirSeedOffset <modifier_index_integer> <growfx>.<path>.SetAMDirSeedOffset <modifier_index_integer> <new_seed_value> <growfx>.<path>.GetAMDirCountRate <modifier_index_integer> <growfx>.<path>.SetAMDirCountRate <modifier_index_integer> <count_rate_value> For version 2.x: <growfx2>.getNodeSeedOffset <node_index_integer> - Returns the Seed Offset value for the specified node. <growfx2>.setNodeSeedOffset <node_index_integer> <value_integer> - Sets the Seed Offset value for the specified node. <growfx2>.getNodeCountRate <node_index_integer> - Returns the Count Rate value for the specified node. <growfx2>.setNodeCountRate <node_index_integer> <value_float> - Sets the Count Rate value for the specified node. I can compile the update for you, just tell me your 3dsMax version. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.