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

Re: [V8i] How can I Compare the direction of two lines.

$
0
0

I got an answer from www.la-solutions.co.uk/.../MVBA-Rotation.htm

Dim rotationX As Double

Dim rotationY As Double

Dim rotationZ As Double

Dim scaleFactor As Double

If (Matrix3dIsXRotationYRotationZRotationScale(rotationMatrix, rotationX, rotationY, rotationZ, scaleFactor)) Then

       Debug.Print "Cell rotation XYZ " & _

       CStr(Round(Degrees(rotationX), 0)) & "#" & _

       CStr(Round(Degrees(rotationY), 0)) & "#" & _

       CStr(Round(Degrees(rotationZ), 0))

End If


Viewing all articles
Browse latest Browse all 1677

Trending Articles



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