There is a bug when using Editor.GetPoint or Editor.Drag while holding down the Shift key.

There is a bug when using Editor.GetPoint or Editor.Drag while holding down the Shift key.

qoreodlf37
Enthusiast Enthusiast
439 Views
4 Replies
Message 1 of 5

There is a bug when using Editor.GetPoint or Editor.Drag while holding down the Shift key.

qoreodlf37
Enthusiast
Enthusiast

Hi,

 

When using Editor.GetPoint or Editor.Drag, holding down the Shift key for a few seconds can cause it to return a value even without a mouse click.

 

It retuns PromptStatus.OK and a randome point. The point isn't even near the mouse cursor.

Is this a bug?

0 Likes
440 Views
4 Replies
Replies (4)
Message 2 of 5

daniel_cadext
Advisor
Advisor

Long press seems to toggle ORTHOMODE.  (getpoint) in lisp doesn’t exit for me

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 3 of 5

qoreodlf37
Enthusiast
Enthusiast

Yes, I press Shift key to toggle ORTHOMODE and to pick other point. But it dosen't toggle to ORTHOMODE , return random point.

0 Likes
Message 4 of 5

ActivistInvestor
Mentor
Mentor

Are you dragging a rubber band cursor from a base point when you do this?

0 Likes
Message 5 of 5

qoreodlf37
Enthusiast
Enthusiast


I use this code.

PromptPointOptions ppo = new PromptPointOptions("Messge");

PromptPointResult ppr = ed.GetPoint(ppo);

if (ppr.Status == PromptStatus.OK)
{}

 

or
PromptPointOptions ppo = new PromptPointOptions("Messge");
ppo.UseBasePoint = true;
ppo.BasePoint = myPoint;

PromptPointResult ppr = ed.GetPoint(ppo);

if (ppr.Status == PromptStatus.OK)
{}

It happens whether I use ppo.UseBasePoint or not.



0 Likes