←  Wishlist

nanoCAD forum

»

Script - automatic move arrow keys

Felix Otto's Photo Felix Otto 30 Apr 2015

Hi everyone,
I try to set up a Script to move selected blocks (1,666667 pixel) to a given direction.
I am looking for help.

the idea basicly is:

pushing left arrow key move the block 1,666667 to the left
pushing right arrow key move the block 1,666667 to the right
pushing up arrow key move the block 1,666667 to up
pushing down arrow key move the block 1,666667 down

I am thankful for any help. ;) Yet i was tring to use VB but im missing the right commands for the actions. :/
Quote

Felix Otto's Photo Felix Otto 30 Apr 2015

The Commads for the "right move" task are:
after the selection of the regarding block

move
1.666667,0,0
enter
specify second point or <use first point as displacement>
enter

the idea is to implement the commands as a script and use it via shortcut
it would make my life much easier :)
Have a nice weekend
Thanks for help in advance
Quote

Hellen_V's Photo Hellen_V 08 May 2015

Hello Felix,
It's better to ask your questions in Developers' Club: http://developer.nanocad.com/
Quote