DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

cursor step size changes

Started by rccon, September 18, 2019, 12:32:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rccon

Dcad 2016. I use cursor step keys a lot. Cursor step size changes when I switch from one window to another, or for unknown other reasons, so it's hard to trust it. Never figured out a way to make it stay put, so I set a keystroke for a macro to restore my settings. Trouble is, to see if it has changed I need to open the options box, then choose the cursor tab. I would like to have the step size display on the screen so I will see at a glance if it has changed. Is there a way to do this?

Bob P

See whether this works for you. This sets the cursor step on the command line.
You can run the program with or without a value (for the large cursor step) on the command line. If no argument is given, the current value shows at the bottom of the screen and will prompt you for a new number. If you just press Enter without entering a new number, nothing is changed.

Note that the small cursor step is automatically defined as 1/4 the large CS. Change that if you wish.


'cst.d3m
'Cursor step size
Print "Large cursor step = ",sys(30) 'The value shows up at the bottom of the screen.
cs=Val(sys$(0))
if cs=0 then INPUT "What large cursor step size? ", cs
sys(30)=cs
sys(31)=cs/4
End

Dr PR

rccon,

Check the "Options/Options/Cursor" dialog box to see if the "Cursor Step" is set to "Relative to Screen" or "Relative to Drawing."

"Relative to Screen" causes the cursor step size to change (relative to the drawing) with every zoom increment or with every screen resolution.

"Relative to Drawing" causes the cursor step size to remain the same relative to the drawing no matter what zoom level or screen resolution you are working in.

Phil
DesignCAD user since 1987

rccon

Thanks, guys. I'm using Bob P's macro with a small modification, and I think it will make life a bit easier.