change the LengthUnit

hi!
it's me again.
if you want to change a parameter you have to put the value inmeters. but Solidworks works with milimeters, so it is easier to meto put the values in milimeters. i have tried withPart.LengthUnit = 0 to change the lenght unit but itdoesn´t work.
anybody knows if it is possible to do this?
thanks!

code:

Dim swApp As Object
Dim Part As Object
Dim SelMgr As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Dim Feature As Object

Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
Part.LengthUnit = 0 '0=swMM
Part.Parameter("D1@Extruir1@Pieza2.Part").SystemValue = 0.03
Part.ClearSelection2 True
boolstatus = Part.EditRebuild3
End Sub
SolidworksApi macros