Thanks for the quick answer and did try to go with the option #24 ,but it seems that it dont detect the hole and keep it to decoiler ... So i changed my mind and tryed it that way ...
function CheckHole()
if item.Option["Hole Side #1"].Value="Top" or item.Option["Hole Side #1"].Value="Bottom" or item.Option["Hole Side #1"].Value="Left" or item.Option["Hole Side #1"].Value="Right" then
item.option["Override Cut Type"].value="Machine Cut"
item.update()
end if
end function
select item.Cid
case 866
CheckHole()
end select
item.update()
It is working as long as he got a hole in it and i get an error NULL Object when he dont ,to that point i'm not sure how to by pass that NULL error .
Any idea ?
Thanks for the help Mr Duf.