# encoding: utf-8
# 2025 R2
SetScriptVersion(Version="25.2.170")
system1 = GetSystem(Name="SYS")
system1.DisplayText = "SixMotion - 5 dummy bodies"
Save(Overwrite=True)
system1.Copy(KeepConnections=True)
system2 = GetSystem(Name="SYS 1")
system2.Move(
    Position="Right",
    RelativeTo=system1)
system1.DisplayText = "SixMotion - 6 DOF"
system2.DisplayText = "Translations only"
model1 = system2.GetContainer(ComponentName="Model")
model1.Edit()
Save(Overwrite=True)
Archive(FilePath="C:/Users/MarkLytell/git_local/Motion/SixMotion-Joint-Example-Ansys-Motion/SixMotion_joint_misaligned_parts.wbpz")
Save(Overwrite=True)
model1.Exit()
Save(Overwrite=True)
Open(FilePath=GetAbsoluteUserPathName("Example_Models/Bolted_flange/flanges_w_beam_conns_2025R1.wbpj"))
