Jump to content


Script - automatic move arrow keys

Script automatic system

2 replies to this topic

#1 Felix Otto

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 30 April 2015 - 09:28 AM

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. :/

#2 Felix Otto

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 30 April 2015 - 02:39 PM

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

#3 Hellen_V

    nanoCAD Team

  • Members
  • PipPipPip
  • 648 posts

Posted 08 May 2015 - 06:55 AM

Hello Felix,
It's better to ask your questions in Developers' Club: http://developer.nanocad.com/
Go for nanoCAD Plus 10 now!
New interface, improved and accelerated drawing process, support for dwg2018 format. You will like new version!
Free trial license is available here: https://nanocad.com/.../plus/download/

nanoCAD Support Team
support@nanocad.com





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users