GetDimensionUnit - Maple Help

Online Help

All Products    Maple    MapleSim


CAD[SolidWorks]

  

GetDimensionUnit

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetDimensionUnit(p, d)

Parameters

p

-

handle to a SolidWorks parts file

d

-

name of a dimension

Description

• 

The GetDimensionUnit command returns the unit associated with dimension d in the Solidworks file p.

Examples

withCADSolidWorks:

OpenConnection:

docOpenDocumentc:/mypart.sldprt

doc0

(1)

docGetDimensionUnitdoc,D1@Sketch1@mypart.Part

mm

(2)

docCloseDocumentdoc

CloseConnection:

See Also

CAD[SolidWorks]