Batch Process to Rotate Border and View

I need to figure out a batch process for many files to rotate a border 180 degrees (which is a cell), rotate the view 180 degrees, fit view then save settings but I cannot figure out the commands. Any help would be appreciated.

  • I don't think you need to rotate your border , just rotate view 2 points to the lower longest edge of your border will rotate so the boreder looks right in the view with view rotated.... if they are all in same place then easy.. otherwise  make keyin to rotate view 2 points and do the two points by hand?

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • Thanks Matt! That got me 99% there. The border does rotate but not in place which isn't that big of deal. You should present a webinar with GLBUG Slight smile

  • Chuck,

    These keyins will select the cell…

    MDL SILENTLOAD SELECTBY DIALOG
    SELECT TYPE NONE
    SELECTBY TYPE CELL
    SELECTBY CELLNAME <cellname>
    SELECTBY EXECUTE

    Determining the point to rotate about may be difficult If all the border cells have been placed with different origins. This example shows rotating about the element center/origin. Depending on the origin, this may or may not get you what you’re looking for. (XY=0,0 is simply issuing a data point to accept the rotation)

    AA=180
    ROTATE
    SET ITEM TOOLSETTINGS ROTATEABOUTORIGINTOGGLE=1
    XY=0,0

    If you don’t want to rotate about the center or origin, and know the point you to rotate about you could do something like this, where XY= the point to rotate about.

    AA=180
    ROTATE
    XY=17,11

    These will rotate the view, fit, and save settings.

    ROTATE VIEW RELATIVE 180
    SELVIEW 1
    FIT ALL
    SELVIEW 1
    FILEDESIGN


    Hope that points you in the right direction.

    Matt 

    Answer Verified By: Chuck K.