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.
Chuck,
These keyins will select the cell…
MDL SILENTLOAD SELECTBY DIALOGSELECT TYPE NONESELECTBY TYPE CELLSELECTBY 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=180ROTATESET ITEM TOOLSETTINGS ROTATEABOUTORIGINTOGGLE=1XY=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=180ROTATEXY=17,11
These will rotate the view, fit, and save settings.
ROTATE VIEW RELATIVE 180SELVIEW 1FIT ALLSELVIEW 1FILEDESIGN
Hope that points you in the right direction.
Matt
Answer Verified By: Chuck K.
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