### AnalysisWindow Object

The AnalysisWindow object is used to insert a PC-DMIS analysis window into a label template or into a custom report. Then, in the Report Window, PC-DMIS will display a graphical analysis of dimensions that use a report template using the label template with an analysis object in it.

Report Window Using the Analysis Object

Important: The AnalysisWindow object will only function with Feature Control Frame dimensions and will not function with Legacy dimensions.

Manipulating the Object

In version 4.1 and above, you can double-click on this object to activate it in the Report window. This lets you manipulate its display in the Report window on the fly. Once activated, you can zoom in or out on the object's graphical display and change its rotation. Double-clicking outside of the object deactivates it. You can also right-click on the object in the Report window to access its the Graphical Analysis Options dialog box described below.

If you need to revert a rotated graphical display in the object back to its original orientation, right-click on the object, and select Restore View from the View menu on the shortcut menu. This restores the orientation of the displayed graphical information in the object to its original vector.

Restore View menu item

The other menu items in the View menu, Flip Horizontal and Flip Vertical flip the horizontal or vertical orientation of the object.

Using with Point Info Boxes in Custom Reports

When adding an AnalysisWindow object to a custom report, you can use the following two properties to control what point information is displayed and how it should look by defining the label template to use:

- PointInfoLabel - This property displays a Browse Files dialog box showing the label templates in your Reporting subdirectory. You can use this dialog box to select the label template you would like PC-DMIS to use when creating Point Info boxes inside of the AnalysisWindow object. Once selected, the property will display the label name and any Point Info boxes that exist within the AnalysisWindow object will be immediately updated.

PC-DMIS will also remember the selected template and will use that for subsequent AnalysisWindow objects that are added into the Custom Report editor. The defined template is also stored in the LastUsedPointInfoLabel entry under the Reporting section of the PC-DMIS Settings Editor.

If you do not define any label template in this property, any Point Info boxes used are generated the same as if you had dragged a PointInfo object onto the Custom Report editor. In that case, it does not use a label template, but is created internally.

Some label templates for this you may consider using are: ga_point_info.lbl, ga_point_info2.lbl, and ga_point_info_devonly

To clear this property, open the Browse Files dialog box, remove the filename listed in the File name box, and click Cancel.

- SelectPointInfo - This property displays the Edit Point Info dialog box, allowing you to create Point Info boxes inside the AnalysisWindow object's window. This dialog box comes in two different styles depending on whether or not you have a label template defined in the PointInfoLabel property.

If you do not have one defined then the standard Edit Point Info dialog box appears:

Edit Point Info dialog box

If you do have one defined then a slightly different Edit Point Info with Label dialog box appears:

Edit Point Info with Label dialog box

These dialog boxes are similar, but if you have defined a label, you can only choose to hide or display leader lines using the Point info format area. This is because the other items do not apply if you are using a customized label template. For information on the available items in either of these dialog boxes, see the "Inserting Point Info Boxes" topic in the "Inserting Report Commands" chapter.

Changing Properties

To determine what this object will display you can modify its many properties. You can also use the (Settings Dialog) property to access the Dimension Analysis Options dialog box inside the template editor. This dialog box lets you quickly and easily set many of the AnalysisWindow object's properties.

Dimension Analysis Options dialog box

This dialog box is nearly identical to the dialog box already discussed in the "Dimension Options" topic in the "Inserting Report Commands" chapter. See that topic for information on most of the dialog box options.

One exception is the Show Border check box. This option functions only with an AnalysisWindow object, not with the Analysis window. Selecting this check box draws a border around the AnalysisWindow object.

The available properties for this object are listed below:

Property | Used in Custom Report | Used in Report Template Editor | Description
(Settings Dialog) | X | X | Displays the Graphical Analysis Options dialog box for the selected AnalysisWindow object.
ArrowHeads | X | X | Same as the Show Arrow Heads check box in the dialog box.
AutoScaleToFit | X |  | Scales the information being analyzed so it fits within the boundaries of the object.
BackColor | X | X | Common Properties
BorderShow | X | X | Shows or hides the AnalysisWindow object's border.
Bottom | X | X | Common Properties
CadNominalStepValue | X |  | This defines the density of the points projected along the polyline to the CAD interpolation is for the points inserted from the CAD model in the GenerateCadNominal property.
CircularityMaxMinDiameters | X | X | Same as the Show Best Fit, Max Inscribed, and Min Circumscribed Diameters check box in the dialog box.
DeviationLineStyle | X |  | Defines the deviation line style. Cylinder - Deviation lines are drawn as a cylinder terminated with an arrowhead. Line - Deviation lines are drawn as simple lines.
DeviationShow | X |  | Shows or hides the deviation lines. By default these are drawn as arrows.
GenerateCadNominal | X |  | This generates a smoother nominal polyline by projecting additional points onto the CAD model as needed in order to see a line that more closely matches the CAD model. The density of these additional points can be increased or decreased using the CadNominalStepValue property.
GridShow | X | X | Displays the 3D grid-like backdrop for the analysis window.
LabelOffset | X |  | This positions a user-defined Point Info label at the specified offset distance from the hit location. The label to use is defined in the PointInfoLabel property.
LeaderTermination | X |  | Sets the termination location for any leader lines between Point Info boxes and their associated point locations: End of Arrow - The leader lines point to the end-of-arrow locations. Nominal - The leader lines point to the nominal point locations.
Measured - The leader lines point to the measured point locations.

Left | X | X | Common Properties
MaxColor | X |  | Determines the sphere point color for maximum deviations. The default is red (0.0.225).
MaxMin | X | X | Same as the Show Max/Min Deviations check box in the dialog box.
MaxMinSize | X |  | Determines the diameter of the sphere point that marks the Max/Min points in the AnalysisWindow object. The default is 0.
MeasuredLineColor | X |  | When lines are displayed between the measured hits, this determines the line color used.
MeasuredLineStyle | X |  | When lines are displayed between the measured hits, this determines the style used. You can choose Solid or Dashed.
MinColor | X |  | Determines the sphere point color for minimum deviations. The default is blue. (255.0.0)
NominalLineColor | X |  | Determines the color of the graphical line used to represent the nominal.
NominalLineStyle | X |  | Determines the style of the graphical line used to represent the nominal. You can choose Solid or Dashed.
MultShow |  |  | Show or hides the arrow multiplier value as text on the AnalysisWindow object. So, if set to YES and you have a multiplier value of 10, it would display "MULT=10."
PointInfoLabel | X |  | Selects the label template to use for Point Info boxes tied to the AnalysisWindow object. Use-defined labels in this object cannot be moved except by using the LabelOffset property.
ProfileMeasured | X | X | Same as the Show Lines Between Measured Hits check box in the dialog box.
ProfileNominal | X | X | Same as the Show Lines Between Nominals check box in the dialog box.
ProfileOptions | X | X | Same as selecting one of the option buttons from the Profile Dimensions area in the dialog box.
ProfileTolerances | X | X | Same as the Show Tolerance Lines check box in the dialog box.
Right | X | X | Common Properties
RulerElemX | X |  | Same as Number of elements XYZ boxes discussed in the Analysis Grid Options dialog box.
RulerElemY | X |  | Same as Number of elements XYZ boxes discussed in the Analysis Grid Options dialog box.
RulerElemZ | X |  | Same as Number of elements XYZ boxes discussed in the Analysis Grid Options dialog box.
Scale | X |  | Scales the analysis window by a specific ratio. The format is n1:n2 where n1 and n2 are two numbers. For example, a value of 1:3 would display the info in the analysis window at three times its normal size, and a value of 2:1 would display the info at half its normal size. The property also displays the current zoom ratio if you zoom using the mouse buttons.

The AutoScaleToFit property must be set to No for to work.

SelectPointInfo | X |  | Displays a dialog box so you can select the point information to display in Point Info boxes in the AnalysisWindow object.
TitleShow | X | X | Shows or hides the text of the items being dimensioned at the top of the AnalysisWindow Object.
Top | X | X | Common Properties
TPDiameters | X | X | Same as the Show Diameters check box in the dialog box.
Transparent | X |  | Disables any color defined in the BackColor property and makes the object transparent, showing other objects behind it.
TrihedronShow | X |  | Shows or hides the trihedron symbol. Alternately, you can select Ruler to show a ruler along each axis.
Enable | X | X | Common Properties
PCDMIS Command Objects | X |  | Common Properties
PCDMIS Reference | X |  | Common Properties
Visible | X | X | Common Properties