I have a basic routine that inserts details into a blank drawing. I ran into this issue this morning. I ran the routine and in the middle of it; the routine had an error out.
The problem was that the detail got renamed.
So this is my question. Is there an if statement I could use if a detail (That its trying to insert) is not available that it can skip it and go onto the next one?
(command "._insert" "//Server1/Details/BEDDING RCP.dwg" "3.4086,18.0777" "" "" "")
(command "._insert" "//Server1/Details/BEDDING PVC.dwg" "10.4322,17.8681" "" "" "")
(command "._insert" "//Server1/Details/SANITARY CROSSOVER & SEPERATION REQ.dwg" "18.2376,12.2324" "" "" "")
(command "._insert" "//Server1/Details/SANITARY CLEANOUT.dwg" "26.9325,12.6906" "" "" "")
(command "._insert" "//Server1/Details/STORM MANHOLE TYPE C.dwg" "18.9855,17.8591" "" "" "")