Hey all, taken me couple of hours to isolate this error "Automation Error. Invalid argument index in Item". Turns out I moved some text only in a block that has visibility state. Bloody fickle if you ask me, the block is wrong and needs cleaning up. Anyone know the fix?
Code crashing here..... (setq scalebar (vla-item
(_getblock '(2 410) (list "SCALEBAR" layname))
0
))
Scalebar being the block I edited.