Find out what it will take to prevent looped commands from creating independent FCFs
<< David Petrizze -- 03/03/08 15:12:24>>
Find out what it will take to prevent looped commands from creating independent FCFs.
Then, let's eliminate this from occuring.
<<END>>
回复: Tk 104107 - Find out what it will take to prevent looped commands from
<< Don Turcotte -- 03/07/08 15:18:46>>
I have completed the implementation and testing. I have attached my test program to this task. The changes in CPCDFeatCtrlFrm::draw_element(...) ensure that only the last FCF in an iteration is drawn when executing a Loop. The changes in CPcdmislView::Gen3DLists(...) ensure that only the last FCF in an iteration is drawn when the program is loaded.
Files inserted to server
------------------------
V43B\DIMENS\FEATCTRLFRM.CPP
V43B\INCLUDE\FEATCTRLFRM.H
V43B\MENU\PCDMIVW.CPP
回复: Tk 104107 - Find out what it will take to prevent looped commands from
void CPCDFeatCtrlFrm::draw_element(short erase)
{
int i;
// make this consistant with other element types - sab - 17-march-2006
// T104107 - draw only the last instance of a loop during execution
CPCDFeatCtrlFrm * p = (CPCDFeatCtrlFrm*)pcp_PrevInstance;
if( p )
{
if (p->get_id_element() != NULL && m_pPartProgram != NULL)
{
m_pPartProgram->ELEMDelete (p->get_id_element());
p->set_id_element(NULL);
}