RobotStudio event

one_1

hello,I have two questions:
first one:  how to convert process as move to arc move in powerpac ArcWelding, if I create path in workobject using MoveL and MoveJ function?

second: may I in rapid using for function create code that will work like " use ArcLStart if MoveJ start before ArcL, or use ArcLEnd if MoveJ start after  ArcL?
example:

   MoveJ il_15,v10,z10,Weldgun_AJ\WObj:=wobj0;
    ArcL il_16,v10,sm1,wd1,z10,Weldgun_AJ\WObj:=wobj0;
    ArcL il_17,v10,sm1,wd1,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_18,v100,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_19,v100,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_20,v10,z10,Weldgun_AJ\WObj:=wobj0;
    ArcL il_21,v10,sm1,wd1,z10,Weldgun_AJ\WObj:=wobj0;
    ArcL il_22,v10,sm1,wd1,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_23,v100,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_24,v100,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_25,v10,z10,Weldgun_AJ\WObj:=wobj0;
    ArcL il_26,v10,sm1,wd1,z10,Weldgun_AJ\WObj:=wobj0;
    ArcL il_27,v10,sm1,wd1,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_28,v100,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_29,v100,z10,Weldgun_AJ\WObj:=wobj0;
    MoveJ il_30,v10,z10,Weldgun_AJ\WObj:=wobj0;