Could you please assist me on how to change Arms StartupArmItem In code?
Thank you!
Replies
User
Description
Posted On
MariyaVoytovichAgent
Hello gabossolo!
You may change StartupArmItem in code as shown below.
var armDesign = ((IModelXafariArms) ((IModelApplicationXafari) Application.Model).Xafari).ArmDesign; var arm = armDesign.Arms.First(x => ((ModelNode)x).Id== "Main"); if (arm!=null) armDesign.StartupArmItem = arm;
Regards, Mariya On behalf of Xafari Client Services Team