HOW TO ROTATE TEXT OR ELEMENT TO ANOTHER ELEMENT V8I

Ive been trying to do this  for ages  an it was driving me  nuts... too many  steps with accudraw to go wrong, found a few clues in old posts and  filled in the blanks

keyin ROTATE VIEW ELEMENT; %d;%d;ACTIVE ANGLE PT2

( THE ABOVE COULD BE SET TO AN F KY  IF YOU USE IT ALOT)

You'll be  prompted t select an element ( text or line or shape) to set the  view rotation

Then you'll need to Tentatative twice on the reference  line element ( the  one you want to rotate to) one end first and then the other end last

now you active angle is the angle of the reference  line

next  we click on the rotate icon and it has the new angle set, so now click on the text or element you want rotated

now key in vi=top to return the view ot original state and our text or line as adopted the angle of the reference element line... 

I tried to make another  keyin  

rotate icon;%d;vi=top

but it works like this select the text to rotate, data point in the view and  reset button mouse. then it rotates the text to right angle and sets view back to normal but doesnt

work if you use your  mouse buttons in any other order it fails to do what you want  cant work out why  but works.. other wise the rotate bit can view top can just be done by hand  or icons etc

Autocad has all this  much easier R for rotate  and option is reference so r and  two clicks and  done... 

I wish we had a simple tool or  macro with two clicks... 

Parents
  • Maybe I don't get the issue right. When want to place any element (text, tag or e.g. a shape) relative to another I use ACCUDRAW "RE".

    1. start e.g. "attach tag"

    2. select the element you want to tag - insert the values into the dialog - your tag is dangling at the cursor

    3. key RE (AccuDraw is active)  and click on the element to orient "along" - and the tag is oriented to the element

    4. with another datapoint (thats the left mousebutton...for newbies)  you place your tag

              That's it -  just the keyin RE and 2 datapoint clicks 

    ...1a. if AccuDraw is not active - like for text, lines or polygons commands - I like to use the [default] right-left mouse "tentative" click - to an empty spot to activate it... any time ... instead of F11 ...

    ...3a. If - say for a line - the orientation is flipped I like the old angle dialog (I have created a button with keyin "dialog activeangle")  with that you can easily set 180° or any odd angle (AA) for a placement relative to the accuDraw coordinates)

      That also works fine in 3D:

    (?)I would like to add my dgnlib with the buttons I created, but I seem not to be able find the function any more here to insert a file - only pictures/videos(?)

  • The line and tag already  exist as placed in the  file  but has to change its  alignment some time long after it was placed as things has progressed  in the  life of the  drawing and its no longer correct ... in my  case it was  part of the  title block edge of inner frame and  hence  aligned  with it  now I want it  to rotated to  be in line  with a match line that isnt parallel to the edge of the sheet... along the the  design line at that  point in the the design...

    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 

Reply
  • The line and tag already  exist as placed in the  file  but has to change its  alignment some time long after it was placed as things has progressed  in the  life of the  drawing and its no longer correct ... in my  case it was  part of the  title block edge of inner frame and  hence  aligned  with it  now I want it  to rotated to  be in line  with a match line that isnt parallel to the edge of the sheet... along the the  design line at that  point in the the design...

    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 

Children
  • I understand you need to rotate the existing element to another existing element, right? There I use Rotate by Method 3 Point. Select Element,  Define the rotation point > RE - orientation dp of the tag > RE - orientation dp of the element to align to.

  • Lorys, I couldn't tell if you got an answer but I found an mvba that I use once I set the Active Angle.

    I have a button to set the Active Angle 2 Pts, once that is set I select the element or create a selection set. I have another button setup to run rotatetext2aa.mvba

    I run the mvba and all of the elements are now rotated to the active angle.

    I don't know where I got the mvba but it works great for me.

  • you wanna share it?

    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 

  • Unknown said:
    I run the mvba and all of the elements are now rotated to the active angle

    can you try  adding keyin "ACT AN PT2;%D;%D; "   in front of the script to run the vba f key to make it work with one Fkey and 2 data points?

    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 

  • does it work if the view is rotated

    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