I have a script that creates objects of a wide variety of different types, and I would like to update, generate, or otherwise "solve" those objects except for the analysis/analyses itself/themselves. For example, I can execute ExtAPI.DataModel.Project.Model.NamedSelections.GenerateAllNamedSelections()
to generate all the named selections, ExtAPI.DataModel.Project.Model.PartTransformGroup.TransformGeometry()
to perform the geometry transformations, and ExtAPI.DataModel.Project.Model.mesh.GenerateMesh()
to generate the mesh, but it'd be better if I could do something like ExtAPI.DataModel.Project.Model.GenerateModel()
to perform all these tasks and others with the exception of actually running the simulation(s).
I suppose, ultimately what I'm looking for is a means of executing the "Update" function in Workbench on the "Model" cell (see below) from inside Mechanical.
