Hey everyone,
I am currently adding a 'Smoothing' object to my 'Topology Density' result in order to generate a STL-file after topology optimization. The following code is used:
TOPO_OPT = ExtAPI.DataModel.Project.Model.AddTopologyOptimizationAnalysis()
TOPO_OPT_SLN = TOPO_OPT.Solution
TOPO_DENS = TOPO_OPT_SLN.Children[1]
TOPO_DENS.AddSmoothing()
Looking at the Mechanical GUI there is a file name field within the 'Smoothing' object, but it is set to read-only so I can't alter the file name or the directory where the STL-file is stored. Is there a way to create the file in a specific folder and also change its name using the PyMechanical interface?
At the moment I don't want to use other (pythonic) methods to locate the file and move it to the desired location. ANSYS should move it to the desired location in the first place.
Thank you!