拜求,python没法给结构体赋值
element1=Matrix3x3()
element1.Xx = X.X
element1.Xy = X.Y
element1.Xz = X.Z
element1.Yx = Y.X
element1.Yy = Y.Y
element1.Yz = Y.Z
element1.Zx = Z.X
element1.Zy = Z.Y
element1.Zz = Z.Z
theUI.NXMessageBox.Show("Error", NXMessageBox.DialogType.Warning,X.X.ToString())
theUI.NXMessageBox.Show("Error", NXMessageBox.DialogType.Warning,element1.Xx.ToString())