CAD[SolidWorks] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : CAD Package : SolidWorks : CAD/SolidWorks/GetDimensionUnit

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

withCAD[SolidWorks]:

OpenConnection:

docOpenDocumentc:/mypart.sldprt

doc:=0

(1)

docGetDimensionUnitdoc,D1@Sketch1@mypart.Part

Units:-Unit'mm'

(2)

docCloseDocumentdoc

CloseConnection:

See Also

CAD[SolidWorks]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam