|
楼主 |
发表于 2009-8-16 20:27:34
|
显示全部楼层
回复: PR 263011 FCF Profile show wrong tolerance values in the report if we u
When drawing to a main graphics window, I think the respective dimensions use ::graphical_analysis, which will create a CGraphicalAnalysis class, fill in specific information that will be needed to draw it, and then the CGraphicalAnalysis:rawDimension. The DrawDimension will call DrawProfile, DrawRunout, DrawFlatness, etc.
I don’t remember the exact differences of when it is drawing to the report, compared to drawing this to the main graphics or the anlaysisview window (which both draw in the CGDisplay), but I think it does some things similar, and eventually call the same DrawDimension, which will call the DrawProfile, DrawRunout, DrawFlatness, etc.
One issue with this, though, is that there appear to be two separate DrawProfile, DrawFlatness, etc. There is one in the CGraphicalAnalysis class in the V44B\DIMENS\GRAPHICALANALYSIS.CPP, but there is also one in the V44B\DIMANALYSIS ACTIVEX\GRAPHICALANALYSIS.CPP. I don’t remember if it is necessary to have both places, or why it would be necessary to have both, except that I think the first one may be drawn to the main graphics or analysisview graphics, and the other one is drawn using the ActiveX controls that are built and used for the reporting objects. If you’re trying to put a breakpoint in the ActiveX one, then I would make sure you have built that DimAnalysisActiveX project recently, and not just the main project.
Wade |
|