change name of dimension

Hello,

Im trying to change the name of a dimension but cant figure out how to get it done..

I have created my dim like this:

Dim myDim As Object

Set myDim = swModel.AddDimension2(5.96992194749195E-02, 0, -1.94322962720376E-02)

Now I would like to change its name from"D1@layout" to "OD@layout" how do you do this?

thanks

Chris

SolidworksApi macros