Author Topic: Automation Error. Invalid argument index in Item (after moving text in block)  (Read 113 times)

0 Members and 1 Guest are viewing this topic.


  • Mosquito
  • Posts: 7
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))

Scalebar being the block I edited.
« Last Edit: June 30, 2020, 02:25:37 AM by damn »


  • Newt
  • Posts: 50
Can you share your progrme. Lisp? Else No, please you send to myP.M. the downloading of your-programe.ascii.lsp