几何尺寸与公差论坛

 找回密码
 注册
查看: 110|回复: 1

PR 249285 Coxiality dialog allows creation of invalid dimension

[复制链接]
发表于 2009-5-26 15:17:28 | 显示全部楼层 |阅读模式
Coxiality dialog allows creation of invalid dimension
<< Ben Mathews  --  07/20/07  16:31:59>>
If you select an invalid first dimension when creating a coaxiality dimension, a warning message box pops up and then the dimension is created with 0 for all values.
Steps to reproduce:
Create two circles and a coaxiality dimension based on them.
Expected Results:
Don't create the dimension if valid inputs are not supplied.
<<END>>


<< Changes made by Yanhua Huang (Field Changes) -- 05/19/09  16:21:54>>
Action:  Wade Burton to Yanhua Huang
<<END>>
<< Jared Hess (Development Notes)  --  04/08/09  14:32:46>>
This has been addedtoreadme for v44 (or ignored if internal item).
<<END>>
<< Changes made by Neil Kay -- 07/23/08  12:32:58>>
Action:  David Petrizze to Wade Burton
<<END>>
<< Paola Pallo  --  09/04/07  14:34:38>>
Fixed in legacy coaxiality dialog ( FCF was fine).
For review:
V43B\MENU\Dimcoaxd.cpp
V44B\MENU\Dimcoaxd.cpp
<<END>>
<< Changes made by Paola Pallo -- 09/04/07  14:35:11>>
Action:  Paola Pallo to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Changes made by Tim Wernicke -- 07/20/07  17:43:14>>
Action:  Tim Wernicke to Paola Pallo, Assigned:   to Paola Pallo, Priority:  to High
<<END>>
 楼主| 发表于 2009-5-26 15:19:29 | 显示全部楼层

回复: PR 249285 Coxiality dialog allows creation of invalid dimension

BOOL CDimCoaxDlg::IsFeatTypeAllowed(int featType)
{
  // These should match the IsFeatTypeAllowed used in the feature control frame dialog.

  if(featType == F_CYLINDER || featType == F_CONE ||
    featType == F_LINE )  // 249285 remove CIRCLE
    return TRUE;
  return (FALSE);
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 19:30 , Processed in 0.035758 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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