Greetings All,
I'm writing a script to move all objects in a drawing and would like to use the insert point of the title block as a base then move it to 0,0. Since the title block is in random areas in different drawings I can't always move from the same point A to point B. The ideal script line would be:
move all ins <blockname> 0,0
however when using an osnap AutoCAD is expecting a user input. The handle appears to be the same in all the drawings so that could be used instead of the block name but AutoCAD won't accept either. Any suggestions?
Thanks in advance.
I'm writing a script to move all objects in a drawing and would like to use the insert point of the title block as a base then move it to 0,0. Since the title block is in random areas in different drawings I can't always move from the same point A to point B. The ideal script line would be:
move all ins <blockname> 0,0
however when using an osnap AutoCAD is expecting a user input. The handle appears to be the same in all the drawings so that could be used instead of the block name but AutoCAD won't accept either. Any suggestions?
Thanks in advance.