• RE: How to convert TIF to JPG using VBA ExportRasterFile?

    I read MicrostationVBA.chm and tried some ways, then I could save JPEG from TIFF using ExportRasterfile. The string 'JPEG(J)' is not wrong but I have to add some arguments to my code.

    RasterManager.ExportRasterFile sourcefilename:=fname, _
    destinationfilename…

  • RE: Why is different a point3d of element and a point in range3d of element?

    Hi Hirotaka,

    at first, please read and follow this forum best practices, especially:

    • Use standardized subject format, e.g. [MStn CE U13 VBA] Why...
    • Specify exactly what product and version do you use (solved usually by correct subject format).
    • Do not…
  • Why is different a point3d of element and a point in range3d of element?

    I am writing a VBA program to get X size of an element. I tried 2 way.

    1. Using Startpoint and Endpoint of a line element.
    2. Using Range3d of an element.

    I tried above 2 ways, I would like to use Range3d, but I can't get correct X size. Please tell me the…

  • [VBA] How to get the point projected to a bsplinesurface?

    I have a bsplinesurface and a point3d below bsplinesurface. I want to get the point projected to the bsplinesurface with vba. I tried some way.

    1, projectedpoint=bsplinesurface.ProjectPointOnPerpendicular(point3d, Matrix3dIdentity)

    I get a error after…