# encoding: utf-8
# 2025 R2
SetScriptVersion(Version="25.2.170")
system1 = GetSystem(Name="SYS")
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.Edit(IsDiscoveryGeometry=True)
modelComponent1 = system1.GetComponent(Name="Model")
modelComponent1.Refresh()
geometry1.Exit()
model1 = system1.GetContainer(ComponentName="Model")
model1.Edit()
Save(Overwrite=True)
Save(Overwrite=True)
Save(Overwrite=True)
Save(Overwrite=True)
geometry1.Edit(IsDiscoveryGeometry=True)
Save(Overwrite=True)
Archive(FilePath=GetAbsoluteUserPathName("Example_Models/Motion/keyed_boss_insertion/keyed_boss_insertion.wbpz"))
Save(Overwrite=True)
Save(Overwrite=True)
Save(Overwrite=True)
Archive(FilePath=GetAbsoluteUserPathName("Example_Models/Motion/keyed_boss_insertion/keyed_boss_insertion.wbpz"))
model1.Exit()
ClearMessages()
geometry1.Exit()
Save(Overwrite=True)
