Hello all,
I am trying to move an entity (block attribute) to another position in the drawing by a script.
An example of such a drawing is in the attachment: 100bwe-001 test 8_a.dwg
(Click the icon to download and open the drawing in DraftSight or download it from the Media site).
The title block consists of a rectangle with data fields (in DraftSiht: Block attributes).
I want to move several of the block attributes to other positions in the drawing.
For example: right under is a drawing number 029. The position is 150,45
I want to move it to position 143,33 with a script.
In model space this is no problem: select the title block (mouse click), click the blue entitygrip of 029 and move it to a new position.
When I use the modified command history for a script file, I have this:
MAINSELECT 15,5
SNAPGRIP 150,45
STRETCH
_Base
150,45
143,33
This script runs, but the only thing that happens, is that the titleblock is selected.
Can anybody tell me what is wrong with this script and why the entity did not move to the new position ?
I am working with the free version of DraftSight and Windows 7
Thank you,
Bart Welbie
