- Goal
The following script example enables you to update Construction Line geometries.
- Code
# Automatically update all geometries of all construction lines constructionLines=ExtAPI.DataModel.GetObjectsByType(Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine) with Transaction(): for constLine in constructionLines: constLine.UpdateGeometry()