Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: [V8-VBA] Cell rotation about XYZ axes

$
0
0

Jon, Thanks for the solution.

It works fine. Only thing is, Rotation property is Read-Only for Cell Element.

So, I'm getting the angle from the inverse matrix and rotating the cell.

 inverseRotation = Matrix3dInverse(rotation)

 Matrix3dIsXRotationYRotationZRotationScale inverseRotation, dX, dY, dZ, pS

 oCell.Rotate oCell.Origin, dX, dY, dZ

 oCell.Rewrite

 oCell.Redraw msdDrawingModeNormal


Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>