.NET

Reply
Valued Contributor
ProfWolfMan
Posts: 86
Registered: ‎04-21-2010
Message 1 of 2 (172 Views)

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

172 Views, 1 Replies
09-27-2012 10:36 PM

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
Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 2 of 2 (148 Views)

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

09-28-2012 06:51 PM in reply to: ProfWolfMan

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community