.NET

.NET

Reply
Valued Mentor
411 Posts
29 Kudos
Registered: ‎01-27-2010
Post 1 of 1

custom jig in 2010 fork fine but not in 2014

99 Views, 0 Replies
04-01-2014 04:53 AM

here the part :

 

  '*************************************
    '**** FONCTION RUN *******************
    '*************************************
    Public Function Run() As PromptStatus
        Dim stat As PromptStatus = PromptStatus.Keyword
        Do
            Dim promptResult As PromptResult = _Doc.Editor.Drag(Me)
            stat = promptResult.Status
        Loop While (stat = PromptStatus.Keyword)
        'Raz eventHandler
        System.Windows.Forms.Application.RemoveMessageFilter(_filter)
        _filter = Nothing
        Return stat
    End Function

 On 2010, the unction work fine but the same code in acad 2014 dont ..

I have no change in the code between the verrsion 2010 to 2014.

This function release always PromptStatus.OK  i dont have the time for move my mouse for change the point or check in the sampler.

 

why ?

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!