X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 18 Feb 2015 11:28 AM by  anon
Can't suppress message from IDLGRMODEL::DRAW
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
18 Feb 2015 11:28 AM
    The full message is " % IDLGRMODEL::DRAW: Total number of requested clipping planes exceeds supported limit (6)." I've tried CATCH, !QUIET = 1, !EXCEPT = 0. None of these were able to suppress the message. My entire code is below. FUNCTION JPMProgressBar, percentComplete, progressBar = progressBar IF progressBar EQ !NULL THEN BEGIN progressBar = barplot([percentComplete], WIDTH = 1, DIMENSIONS = [500, 100], MARGIN = [0.01, 0.2, 0.03, 0], /NO_TOOLBAR, $ WINDOW_TITLE = 'Program Progress', $ XRANGE = [0, 100], /HORIZONTAL, $ YRANGE = [0, 0.5]) ENDIF ELSE BEGIN progressBar.SetData, percentComplete ; This is the line that generates the IDLGRMODEL message. ENDELSE return, progressBar END

    Deleted User



    New Member


    Posts:21
    New Member


    --
    09 Mar 2015 02:33 PM
    Unfortunately, this is a "warning" message which can't be suppressed. However, I would be more curious as to why you are receiving this message. I can't seem to reproduce this on 64-bit Windows 7. You might try passing in "CLIP=0" to your BARPLOT call, to remove the use of clipping planes. -Chris

    Deleted User



    New Member


    Posts:
    New Member


    --
    01 Jun 2015 08:55 AM
    I added CLIP = 0 to the barplot call. That fixed the error message but results in the bar extending too low on the initial spawn. I can live with this since it (mostly) goes away when the progress bar is updated on the next pass. The issue only occurs when I use the PROGRESSBAR optional input to pass back in a reference to the barplot so that I can update it rather than spawn a new one. If you do that, does it happen in Windows 7 64 bit?
    You are not authorized to post a reply.