Does anyone know about it? I can not find the method to open the simulation view window throght the maxscript.
By the way , How can I get the method to open an arbitrary 3dsmax's panel like the simulation view?
Solved! Go to Solution.
Solved by 10DSpace. Go to Solution.
I have not played with this much myself, but since there is an existing macroscript for Simulation view in the list of actions via Customize>Customize User Interface, you can examine the code for opening the Simulation View by right clicking on it and selecting "Edit Macroscript."
Be careful though not to make changes to the existing Macroscript itself. Open a new window in the max editor and experiment with code in that. From this, I found that
FluidSimObjectManager.ShowInterface()
will open the Simulation view window and
FluidSimObjectManager.HideInterface()
will hide it if you have a liquid selected.
There is also a more complete description of Liquids with maxscript if you have not already seen it here:
https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=GUID-D0504863-171B-43E3-8229-31A8D13E7A9A
Enabling the MAXScript listener MacroRecorder is useful to expose many commands when using them, for example:
macros.run "Fluids" "SimulationView"
macros.run "Fluids" "ToggleSimulationView"
Can't find what you're looking for? Ask the community or share your knowledge.