How to change Part Attribute Type?

[Case1]
As-Is :
Part Attribute (Name : Mass/ Type : String / Value : 123)
To-Be :
Part Attribute (Name : Mass/ Type : Number / Unit : KG / Value : 123.0)

[Case2]
As-Is :
Part Attribute (Name : Date/ Type : String / Value : 05-Oct-2015)
To-Be :
Part Attribute (Name : Mass/ Type : Date / Value : 05-Oct-2015)

How to change Attribute Type?

I'am sorry for shortly description.
My English ability is Not a Good. -.-;

You can't change the type of an attribute. You will have to create a new attribute and then copy the original attribute value into it.

ciao: Thanks
One more thing....
How to Set Attribute Type (Number & Date) in Journing Code..
I Can get a Existing Attribute(String Type) Value.
and Delete Existing Attribute(String Type)

But I can't Set New Attribute(Number Type or Date Type)
Value is Existing Value.

Dragon-Tiger

For Each info As NX.Part.AttributeInformation In infoArray
If ( info.Type = 5) Then
InfoWindow.Write("! " & info.Title & " = ")
InfoWindow.Write(ball.GetStringAttribute (info.Title) &" ! " & vbCr)
Else
if ( info.Type = 2) Then
else
InfoWindow.Write("! " & info.Title & " = ")
InfoWindow.Write(ball.GetRealAttribute (info.Title) &" ! " & vbCr)
End If
End If
Next
ball.SetStringAttribute ("Name","aaaa")
ball.SetRealAttribute ("X",1.2)