// 实例化视图
NXOpen::View* theView = NXOpen::Session::GetSession()->Parts()->BaseWork()->ModelingViews()->WorkView();
// 矩阵
Matrix3x3 mtx = theView->Matrix();
// 打印显示
print(mtx.Xx);
print(mtx.Xy);
print(mtx.Xz);
print(mtx.Yx);
print(mtx.Yy);
print(mtx.Yz);
print(mtx.Zx);
print(mtx.Zy);
print(mtx.Zz);