Author Topic: [Solved] FDD Macroscript Help  (Read 331 times)

2023-05-27, 12:40:03

scooter66

  • Active Users
  • **
  • Posts: 30
    • View Profile
Good morning,
sorry for the newbie question.
I tried to create a Macroscript that speeds up the use of the FFD modifier but I'm not so expert to do it...
Every time I have to:
1) click the FFD modifier
2) click the small arrow to open the subobject levels
3) click on Control Point
only then can I choose the points to move (I use it only and always with the move command)
Do you think it is possible to combine all this in one click?
Could anyone help me?
Thank you very much
Andrew
« Last Edit: 2023-05-27, 15:10:58 by romullus »

2023-05-27, 14:05:12
Reply #1

James Vella

  • Active Users
  • **
  • Posts: 542
    • View Profile
Code may be different depending on your 3dsmax version. Also I picked 4x4 FFD so up to you if you want a different one.

You can use the MacroRecorder in the MAXScript listener to do exactly what I did here, I just recorded the steps and then you can save it to the MAXScript editor.

Code: [Select]
modPanel.addModToSelection (FFD_4x4x4 ()) ui:on
modPanel.setCurrentObject $.modifiers[#FFD_4x4x4]
subobjectLevel = 1

I also attached the .ms file.

2023-05-27, 15:00:52
Reply #2

scooter66

  • Active Users
  • **
  • Posts: 30
    • View Profile
It works perfectly!
You have helped me a lot.
Thank you very much James!
Bye

2023-05-27, 15:07:12
Reply #3

James Vella

  • Active Users
  • **
  • Posts: 542
    • View Profile
Great to hear it :)