• Rotating and Moving Elements with VBA

    Jon Summers
    Jon Summers
    I've posted some articles about using matrices and transforms with MicroStation VBA to rotate or move (translate) a DGN element. The articles explain the purpose and use of Matrix3d and Transform3d , and how to apply them to an element.
    • http://www.la-solutions.co.uk/content/connect/mvba/MVBA-Matrices.htm
    • View
    • Hide
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • RE: How to get rotation around axis?

    Jon Summers
    Jon Summers
    Unknown said: I have got the following details: slope angle angle of the slant edge width of the roof width, length, height of the beam When dealing with 3D geometry, work with vectors, transformations and matrices. MicroStation VBA…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: Applying a 3D rotation to a cell

    Jon Summers
    Jon Summers
    Something like … Dim origin As Point3d origin = oElement.Origin Dim offset As Point3d offset = Point3dSubtract (Point3dZero, origin) oElement.Move offset ... do rotation oElement.Move origin oElement.Rewrite You haven't told us how you…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum