# encoding: utf-8
# 2020 R2
SetScriptVersion(Version="20.2.221")
system1 = GetSystem(Name="SYS 4")
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.Edit(IsSpaceClaimGeometry=True)
geometry1.Exit()
geometry1.Edit(IsSpaceClaimGeometry=True)
geometry1.Exit()
geometry1.Edit(IsSpaceClaimGeometry=True)
geometry1.Exit()
geometry1.Edit(IsSpaceClaimGeometry=True)
geometry1.Exit()
system2 = GetSystem(Name="SYS 3")
geometry2 = system2.GetContainer(ComponentName="Geometry")
geometry2.Edit()
model1 = system2.GetContainer(ComponentName="Model")
model1.Edit()
geometry1.Edit(IsSpaceClaimGeometry=True)
geometry1.Exit()
unitSystem1 = CreateUnitSystem(UnitSystemName="SI")
unitSystem2 = CreateUnitSystem(UnitSystemName="NMM_STANDARD")
unitSystem3 = SetProjectUnitSystem(UnitSystemName="NMM_STANDARD")
geometry2.Exit()
model1.Exit()
system2.DisplayText = "My newest version of my work"
Save(Overwrite=True)
