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...
Hi Brian,
you need to add RE to your AccuDraw. (Was in V8i - For some reason they took it out in CE) To edit AccuDraw you press "?" when active.
The keyin is "accudraw rotate element"
(the dp just means 'datapoint' (the left mouseclick at a particular cursor position)
btw. did you come accross the AccuDraw Toolbox? keyin "Accudraw toolbox" - Just came across it in the keyin list ...
there you also find that command to rotate the orientation of accudraw alingned to an element. (imho even stranger that the command is not in the shortcuts any more)
Lorys said:can pwise be set to stop using non defined vba's or external vba's?
A better place to post that question would be the Content Management Forum.
Regards, Jon Summers LA Solutions
Jon Summers said:If you specify a full path to a file, then no configuration variable is involved, so there's nothing for PW to replace. That's what I mean by Your explicit path by-passes the PW overrides.
So you just browse to the vba via the vba project manager and load it manually then?
But can pwise be set to stop using non defined vba's or external vba's?
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
Lorys said:Your explicit full path by-passes the PW overrides what does that mean exactly ?
Your explicit full path by-passes the PW overrides
what does that mean exactly ?
When something is reached via a configuration variable, such as MS_VBAAUTOLOADPROJECTS, MicroStation first evaluates that variable before appending a file name. So, if MS_VBAAUTOLOADPROJECTS is defined thus...
MS_VBAAUTOLOADPROJECTS
MS_VBAAUTOLOADPROJECTS = C:/MyProjects/VBA/
MicroStation knows to look in folder C:/MyProjects/VBA/ when seeking a VBA macro file lorys.mvba. But that's a shortcut: if you know where that variable points, you could substitute the full file path C:/MyProjects/VBA/lorys.mvba. We don't do that, because it's easier to let MicroStation do the work, and it enables us easily to re-path variables if necessary.
C:/MyProjects/VBA/
lorys.mvba
C:/MyProjects/VBA/lorys.mvba
When ProjectWise (PW) client is installed, it takes over the assignment of MicroStation configuration variables. Many are left unchanged, but some are replaced to suit the PW environment. For example, MS_RFDIR is redefined to point to one or more of PW's temporary folders. MS_VBAAUTOLOADPROJECTS is also replaced, pointing at a PW-defined folder, because PW is a control freak and want to govern everything.
MS_RFDIR
If you specify a full path to a file, then no configuration variable is involved, so there's nothing for PW to replace. That's what I mean by Your explicit path by-passes the PW overrides.
Happy New Year!
Jon Summers said:Your explicit full path by-passes the PW overrides