几何尺寸与公差论坛

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

PR 247102 Copy and paste with PATTERN: name of FCF not incremented

[复制链接]
发表于 2009-4-8 14:39:37 | 显示全部楼层 |阅读模式
Copy and paste with PATTERN: name of FCF  not incremented
<< Michel Garrido  --  03/12/07  15:54:16>>
I made a Copy and paste with model including
a scan and a profile FCF, the scan name is created, but the fcf keep the original name
<<END>>

<< Changes made by Neil Kay -- 07/23/08  10:56:50>>
Action:  David Petrizze to Daniel Wilcox
<<END>>
<< Rex Heagy  --  03/14/07  16:12:58>>
Added missing case for FEATURE_CONTROL_FRAME in update_ids(). This resulted in new feature control frames being posted with FCFLOC prefix. Needed to add subtype to pick the correct prefix. After talking with Don, he suggested that I looks at update_internal_math() for an example of extracting from the second internal array. I've added a new function CDCDFeatCtrlFrm::GetSubType() which iterates through this array looking for the first instance of a legacy dimension. This value gets returns and is used to determine the appropriate prefix.
Files for review:
******************************
Wed Mar 14 16:07:15 2007
******************************
Files inserted to server
------------------------
V42\DIMENS\FEATCTRLFRM.CPP
V42\INCLUDE\FEATCTRLFRM.H
V42\SOURCE\Globals.CPP
V43B\DIMENS\FEATCTRLFRM.CPP
V43B\INCLUDE\FEATCTRLFRM.H
V43B\SOURCE\GLOBALS.CPP
<<END>>
<< Changes made by Rex Heagy -- 03/14/07  16:13:14>>
Action:  Rex Heagy to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Changes made by Tim Wernicke -- 03/13/07  14:46:40>>
Category:  edit window to Copy Cut Paste, Action:  Tim Wernicke to Rex Heagy, Assigned:   to Rex Heagy, Status:  MOREINFO to OPEN, Priority:  to Critical
<<END>>
<< Michel Garrido  --  03/13/07  18:22:32>>
Yes, sorry for the mix french english Model is Pattern
<<END>>
<< Changes made by Michel Garrido -- 03/13/07  18:22:33>>
Action:  Michel Garrido to Tim Wernicke
<<END>>
<< Tim Wernicke  --  03/13/07  09:58:13>>
Hi Michel, I am not sure what you mean here.  Are you talking about Paste with Pattern?
<<END>>
<< Changes made by Tim Wernicke -- 03/13/07  09:58:22>>
Action:  Tim Wernicke to Michel Garrido, Status:  OPEN to MOREINFO
<<END>>
 楼主| 发表于 2009-5-18 16:40:17 | 显示全部楼层

回复: PR 247102 Copy and paste with PATTERN: name of FCF not incremented

void update_ids(CPCDpart_program *m_pPartProgram, CPCDcommand *start, CPCDcommand *end, BOOL bPasteFromClipboard/*=FALSE*/)
   
else if (nType == FEATURE_CONTROL_FRAME)
    { // PR# 247102
      create_id(m_pPartProgram, nType, id, ((CPCDFeatCtrlFrm *) t)->GetSubType());
      t->set_id(id);
      ((CPCDFeatCtrlFrm *) t)->update_internal_commands();
      ((CPCDFeatCtrlFrm *) t)->update_internal_math();

    }
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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