CadImageObject

CadImageObject

The CadImageObject lets you display the CAD image inside of a label template or a form. When you select this item and drag a box in the editing environment, PC-DMIS inserts a CadImageObject into the editor, and the object displays a dummy CAD model image.

Label Template Editor showing an inserted CadImageObject

How you size the object in the editing environment determines the size of the object when actually displayed in the Report window or executed form.

The CadImageObject contains these properties:

Standard

Bottom
Defines the bottom location for the object in pixels from the top of the editor.

Left
Defines the left location for the object in pixels from the left of the editor.

Right
Defines the right location for the object in pixels from the left of the editor.

Show Border
Shows or hides the object's border.

ON - Displays a border around the object.

OFF - Does not draw a border.

Top
Defines the top location for the object in pixels from the top of the editor.

GraphicsOptions
Determines whether to hide or show labels on the CAD image.

0 - None - Doesn't show labels.

 1 - Labels - Shows labels.

Hide all measured features
Shows or hides features on the CAD image.

0 - No - Shows features.

1 - Yes - Hides features.

2 - Use registry setting - (Default) Uses the registry default. This can override the HideAllMeasuredFeaturesOnReport registry entry located in the Reporting section of the PC-DMIS Settings Editor.

Hide all points
Shows or hides point features on the CAD image.

0 - No - Shows point features.

1 - Yes - (default) Hides point features.

2-Use registry setting - Uses the registry default. This can override the HideAllPointsOnReport registry entry located in the Reporting section of the PC-DMIS Settings Editor.

TrihedronShow
Shows or hides the trihedron on the CAD image.

0 - No  - (default) Hides the trihedron.

1 - Yes - Shows the trihedron.

Advanced

(Object Code)
Defines the object's unique name.

Enable
Determines whether or not this object is enabled for modification in the form or template.

YES - Enables the object for modification.

NO - Does not enable the object for modification.

Visible
Determines whether or not this object is visible in the form or template.

YES - Shows the object.

NO - Hides the object.

Events

EventReportData - This is the event that pulls report data from PC-DMIS into the template or form.

CadImageObject on Labels

You can use the Rules Tree Editor dialog box to display the label template in a report template for a particular dimension or feature. In such a case, the Report window displays the portion of the CAD model that contains that dimension or feature.

Report window showing a CadImageObject next to each displayed dimension

You can scale, scale to fit, rotate or translate this CAD image from the Report window. To do this, double-click on the CAD image to make it editable, and then manipulate the image just as you would the model in the Graphic Display window. To return to the Report window, storing your changes, double-click outside of the object.

CadImageObject on Forms

When it is used on a form, the CadImageObject is bound to the current viewset when PC-DMIS executes the form command. Once you execute the form (CTRL + E) or the measurement routine that calls the form, you cannot modify the CadImageObject.

Form window showing a CadImageObject during measurement routine execution

For additional information on forms, see the "Creating Forms" topic in this chapter.