| 
      
       | 
     
      This task explains how to measure minimum distance and 
     distance along X, along Y and along Z between products.   | 
   ||||||||||||||||||||
| 
      
       | 
     
      Measuring distances along a direction (X, Y or Z) is a P2 functionality.  | 
   ||||||||||||||||||||
     Measuring Minimum Distances & Distances Along 
     X, Y, Z
      | 
   |||||||||||||||||||||
| 
      
       | 
     
      Insert the following sample cgr files: ATOMIZER.cgr, BODY1.cgr, BODY2.cgr, LOCK.cgr, NOZZLE1.cgr, NOZZLE2.cgr, REGULATION_COMMAND.cgr, REGULATOR.cgr, TRIGGER.cgr and VALVE.cgr. They are to be found in the online documentation filetree 
     in the common functionalities sample folder   | 
   ||||||||||||||||||||
| 
      
       | 
     
     
 You can also view the results in a separate viewer. To do 
       so, click
       
       Results window
        You can use other DMU Space Analysis toolbar commands in the Results window to, for example, measure surfaces. Defining Measurement Types
      | 
   ||||||||||||||||||||
| 
          
  | 
       
Select the required type from the drop-down list box:
Minimum
Along X (P2 only)
Along Y (P2 only)
Along Z (P2 only)
Band analysis (P2 only) and About Distance and Band Analysis
| 
          
  | 
       
A Preview window appears visualizing selected products and the minimum distance (represented by a line, two arrows and a value).
You can change the default display setting for the Preview 
     window using the 
     Tools > Options..., Digital Mockup command (DMU Navigator tab)
If you close the Preview window, to open it again:
Click Results window
       
 
       in the Edit Distance and Band Analysis dialog box
       This opens the dedicated results window.
Click Results window
       
 
       a second time
       The results window is closed and the Preview window is restored.
| 
          
           | 
         
          If however, you close the Results window (using the Close button in the title bar), the Preview window will not be restored.  | 
       
To make it easier to read your result, you can specify different properties for distance result. This is done via the Properties command or via the Graphic Properties toolbar.
The Properties command lets you change the color, linetype and thickness of the current distance result (under Lines and Curves in Graphics tab).
To access properties:
Right-click the specification tree feature and select Properties.
In the dialog box, click the Graphic tab.
| 
          
  | 
       
You can also change these properties via the Graphic Properties toolbar.
To do so:
Select the feature in the specification tree.
Set the linetype, thickness and/or plane color in the Graphic Properties toolbar.
To return to the initial colors, select No color.
In DMU-P1, you can measure the minimum distance only between products in the same selection, between products in the selection and other products in the document, or between products in two different selections and view the results in a separate viewer.
| 
          
  | 
       
     ![]()
The Distance and Band Analysis capability also lets you run a band analysis to compute and visualize the areas on products corresponding to a minimum distance within a user-defined range.