.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help on Jig - Result angle is by mouse or keyboard?

1 REPLY 1
Reply
Message 1 of 2
ProfWolfMan
498 Views, 1 Reply

Help on Jig - Result angle is by mouse or keyboard?

Hi all,

 

I am using jig to get orientation angle of a block reference by below steps.

 

Dim rot As RotateBlockJig = New RotateBlockJig(br, ucsRot)
                        Autodesk.AutoCAD.Internal.Utils.SetFocusToDwgView()

Dim pr As PromptResult = ed.Drag(rot)

 Is there is anyway or idea to find whether the return angle value is by

 

 i) 'mouse click on drawing area'

or

ii) 'keyboard entry on command prompt'?

 

Many thanks for reading.

 

 

Thanks & Regards,
G
Tags (2)
1 REPLY 1
Message 2 of 2

You can try handling the Editor's PointMonitor event.

 

The event arguments has a History property that is a set of flags indicating a variety of things about each event, including whether input was typed or picked.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost