Python scripting padding settings
-
Hello, I am trying to script some simulations but encountered a bug.
When changing the padding Settings to Manual and bottom padding to be variable across x,y,z, This setting is not translated into the generated python script. How do I set my GlobalGridSetting to have bottom padding and top padding variable amounts across x,y,z. See attached picture.
# Editing GlobalGridSettings "Grid (Empty) global_grid_settings = simulation.GlobalGridSettings global_grid_settings.PaddingMode = global_grid_settings.PaddingMode.enum.Manual global_grid_settings.BottomPadding = numpy.array([50.0, 10.0, -900.0]), units.MilliMeters global_grid_settings.TopPadding = numpy.array([10.0, 10.0, -300.0]), units.MilliMeters
-
Hello, I am probably misunderstanding something and do not see where the bug is.
It seems to me that your script and your picture are in perfect agreement: in both cases, the padding settings are different across x, y and z (e.g. 50, 10 and -900mm, respectively, for the bottom padding) and all values seem correct.