I am looking to use CreateCellElement2 to set the rotation using MATRIX3d to place an orthographic cell (square for example) in an isometric orientation 30 degrees for the base and 150 for the vertical lines. This was done in the past versions with place cell TMATRIX. I am an inexperienced programmer with MVBA and haven't had much luck with this method. Any help steering me in the right direction would be appreciated. I am able to rotate or scale but have not been able to rotate the x axis differently than the y axis. I hope this makes sense.
Mike
Mike: I am looking to set a rotation using Matrix3d ...
If you are working in 3D then understanding rotation matrices, embodied in VBA as Matrix3d, is vital. Rotation matrices are pretty well universal in 3D manipulations, and you should be able to find resources on the web. Here's one:
You can create a Matrix3d with rotation about a particular axis using something like this:
Dim x_axis As Point3d x_axis = Point3dFromXYZ (1, 0, 0) Dim rotation As Matrix3d rotation = Matrix3dFromVectorAndRotationAngle (x_axis, Radians (30))
Regards, Jon Summers LA Solutions