DmDistance3d applies a distance constraint between two entities. They can be subentities of the same solid or of different solids, as well as WCS entities, points, cylinders, and spheres.
Access the Command
command bar: dmdistance3d
menu bar: Parametric  3D Constraints  Distance
toolbar: 3D Constraints  Distance
ribbon:
 Home  Parametrize  Distance
 Solid  3D Constraints  Distance
 Surface  3D Constraints  Distance
 Sheet Metal  3D Constraints  Distance
 Assembly  3D Constraints  Distance
Quad cursor menu: Constraints  Distance
: dmdistance3d
Prompts you in the command bar:
Select a first entity or specify [Use as/WOrld/BLock]: (Select the first entity or choose an option.)
Hit the TAB key to select obscured geometry.
Enter a distance value or [Geometrydriven] <xxx.xx>: (Type the desired distance, or create geometrydriven constraint.)
Command Options
Option 
Description 
Use as 
Gives the option to specify how the distance must be measured between cylindrical and spherical faces. The default measurement mode is Axis. Prompts you: Specify how to use the argument [Boundary/Axis/Center/Vertex] <Axis>:  (Choose an option)

World 
Allows you to select the WCS as an argument. Prompts you: Select reference coordinate system subentity [Origin/X axis/Y axis/Z axis/XY plane/YZ plane/ZX plane]  (Select a reference coordinate system subentity as an argument.) 
Block 
Allows you to choose the subentity of the coordinate system of the block as an argument. Prompts you: Select block reference  (Select a block reference of which the reference coordinate system will be used as an argument.) Select reference coordinate system subentity [Origin/X axis/Y axis/Z axis/XY plane/YZ plane/ZX plane]  (Select a reference coordinate system subentity as an argument.) 
Geometrydriven 
Accepts the current value and creates geometrydriven constraints. 
Related Commands
MechanicalBrowserOpen  displays the Mechanical Browser.
DmConstraint3D  applies geometric relationships and dimensional constraints between subentities (faces, surfaces, edges, etc) of 3D entities.
DmUpdate  Updates 3D constraints.
DmCoincident3d  applies a coincident constraint between two edges, two faces or an edge and a face of two different solids.
DmConcentric3d  applies a concentric constraint between two cylindrical, spherical or conical surfaces.
DmFix3d  applies a fixed constraint to a solid or to an edge or face of a solid.
DmParallel3d  applies a parallel constraint between two faces of a solid or to different solids.
DmPerpendicular3d  applies a perpendicular constraint between two faces of a solid or to different solids.
DmRigidSet3d  allows you to define a set of entities or subentities as a rigid body.
DmTangent3d  applies a tangent constraint between a face and a curved surface of different solids.
DmAngle3d  applies an angle constraint between two faces of a solid or of different solids.
DmRadius3d  applies a radius constraint to cylindrical surfaces or circular edges.