几何尺寸与公差论坛

 找回密码
 注册
查看: 115|回复: 0

PR 241305 Turning off the Show Hit Deviations option doesn't remove the arro

[复制链接]
发表于 2009-4-1 20:54:58 | 显示全部楼层 |阅读模式
Turning off the Show Hit Deviations option doesn't remove the arrows
<< Wade Burton  --  06/15/06  22:27:10>>
When I turn on and then turn off the Show Hit Deviations checkbox on the F5 setup page, the hits don't get erased from the main graphics using the attached part program.  Also, when I change the deviation tolerance or the arrow multiplier on the same F5 setup page, the new hit arrows get drawn, but without erasing the old arrows.  Both of these should be erasing the old arrows like the graphical analysis does for the dimensions (the GRAPH=ON/OFF).
Woody was getting this problem together with me, and I was using V41 beta dated June 11, 2006.  I've attached the part program we were working with.
<<END>>


<< Changes made by Yanhua Huang -- 03/28/09  11:14:02>>
Action:  CMM Group to Yanhua Huang
<<END>>
<< Don Turcotte  --  11/13/08  10:51:52>>
I have fixed this by adding two methods to CPCDcommand to
  virtual GRAPHELEM get_arrow_element();
  virtual GRAPHELEM set_arrow_element(GRAPHELEM dl);
Then the draw_deviation_arrow(...) method in globals.cpp can selectively erase and redraw the arrow deviation for a feature.
Fixed in V44B.
Files inserted to server
------------------------
V44B\INCLUDE\COMMAND.H
V44B\INCLUDE\DIMENSIO.H
V44B\MENU\DIMENSIO.CPP
V44B\SOURCE\COMMAND.CPP
V44B\SOURCE\GLOBALS.CPP
<<END>>
<< Changes made by Don Turcotte -- 11/13/08  10:52:42>>
Action:  Don Turcotte to CMM Group, Status:  OPEN to REVIEW
<<END>>
<< Don Turcotte  --  11/12/08  17:29:22>>
I am able to reproduce this problem in V44B.  The issue here is that the arrows are drawn by draw_deviation_arrow(...) in globals.cpp which is called by each feature's draw_element(...).  However, there is no unique HGRPHELEM associated with the feature's arrows so there is no way to delete an individual feature's arrows without deleting the arrows for all features.
<<END>>
<< Wade Burton  --  10/31/08  15:05:51>>
Retried in V4.4 10/27/2008, and I still see this problem.  I go into F5 setup page, turn on the Show Hit Deviations, which results in the arrows being drawn for the feature in the center of the hexblock.  Then I go back into F5 setup page, and turn OFF the Show Hit Deviations... The arrows don't get removed.
<<END>>
<< Changes made by Wade Burton -- 10/31/08  15:06:02>>
Action:  Wade Burton to Don Turcotte, Status:  MOREINFO to OPEN
<<END>>
<< System Administrator  --  2008/10/23  17:35:30>>
PLEASE VERIFY THAT THIS IS AN ISSUE IN PC-DMIS 4.4 AUDIT VERSION.  IF SO, PLEASE RESET THE STATUS TO OPEN.  OTHERWISE PLEASE CLOSE.
<<END>>
<< Changes made by System Administrator  --  2008/10/23  17:35:30>>
Action:  Don Turcotte to Wade Burton, Status:  OPEN to MOREINFO
<<END>>
<< Wade Burton  --  03/12/08  17:53:47>>
Don, this doesn't have anything to do with the FCFs, and there are no FCFs in this part program.  I have added another part program here, Test2.prg.  Open it up.  Go to F5 Setup page, and in the checkbox list find Show Hit Deviations.  Turn it on.  Notice in the center cylinder on the main graphics the arrows turn on, on the cylinder that is bored completely through the block.  I have turned off the graphical analysis for the dimensions on this page.  You could even remove the dimensions to make sure what you're seeing is not from the dimensions.  The Show Hit Deviations shows the hits of the features using a generic tolerance value that is under Show Deviations Tolerance, which is an editbox underneath the list of checkboxes on the F5 Setup | General page.  This option displays arrows as the features are measured, as the hits are measured.
But the problem isn't that the arrows can't be turned on.  It's that after they are turned on, and I turn them off again, the arrows aren't removed unless I exit the part program.  When I re-enter they'll be off again.
I think these are drawn with draw_deviation_arrow() from the ::draw_element of the feature.
I did this today with V4.2 Beta (one from Feb. 9) and with V4.3 RC (March 9), and saw this same issue.
<<END>>
<< Changes made by Wade Burton -- 03/12/08  17:54:16>>
Action:  Wade Burton to Don Turcotte, Status:  RESOLVED to OPEN
<<END>>
<< Don Turcotte  --  08/28/07  11:59:13>>
I don't even see how this is done in version V42+.  The FCF's, however, seem to work correctly as far as changing the multiplier when displaying on the cad graphics.
<<END>>
<< Changes made by Don Turcotte -- 08/28/07  11:59:22>>
Action:  Don Turcotte to Wade Burton, Status:  OPEN to RESOLVED
<<END>>
<< Changes made by Scott Worden -- 06/16/06  09:55:20>>
Priority:  to High
<<END>>
<< Wade Burton  --  06/15/06  22:31:35>>
In the attachment, the bitmaps have nothing to do with this problem.  They're for another report.
<<END>>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 17:54 , Processed in 0.036591 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表