Share your favourite F key Scripts with Fellow V8i users

Lets all post our favourite  F key scripts or ones that  we developed and use alot here are some of my  favourite  combos

If you use dimension element then run and your text and arrows fall out side the leaders then I run F6  before placement  or if  I want  the arrows reversed on the fly

I then use the shft F6 and can toggle  between them... note the only  difference is a , 2 and ,1

This combo saves a lot of time and lets me dimension on the fly....

F6 - mdl load calculat;calculator mdlDimStyle_setIntegerProp(dgnDimStyle_getActiveFromModelRef(0),2,716)

Sht F 6- mdl load calculat;calculator mdlDimStyle_setIntegerProp(dgnDimStyle_getActiveFromModelRef(0),1,716)


Fix display depth , this is a great fixer for 3d  when you sometimes cant figure out why  zooming in causes objects to disappear and reappear its often the active depth is outside the display depth range

dd=-10000,10000;dx=,,;reset


This is both a favourite F key and a tip

you just got told you have to add a Raster or and extra reference attachment to a competed set of plans..

Go to the  ref file on the network and use explorer to create shortcut, then  edit the shortcut to get the full file path which will include the quotation marks, copy to clipboard and delete the short cut,

Go to a vacant F key and  put RF= then paste the  full path from the clipboard eg RF="X:\xrefs\survey.dgn"

if you add ,,, at the end it does world coincident , unnested  ( look up references and  keyins for more options in the help file

you now can  open each drawing and press  the F key and it will attach the ref file you still need to tell it interactive mode ( you could even set that but I like the flexibility) and you are then able to clip boundary .. if we put this into the batch processor I cant  figure the  clipping  automation so its not really worth the batch mode)


Deselect the power selection set very handy as mine gets stuck and escape doesnt do it... so this is another Favorite  F key..

powerselector deselect


Paste from the  clip board with an F key is quicker and  less mouse movement  and even works with the  Ninja point (see askinga how to do this)  very nicely almost as good as our acad friends use the copy paste by insertion point...sets the active scale to 1, the active angle to 0 and pastes the content of the clipboard hanging off the end of the cursor or relative to the ninja point object...

as=1;aa=0;clipboard paste


Last but not least one of my most used

Place my North point cell at true north no matter what the view rotation happens to be  with out unrotating the view... the following is all on one line when you copy paste it into your F key of choice.

MDL silent LOAD DGNSET;as=1;ac=mynorthpoint;aa=0;accudraw dialog;accudraw setorigin;accudraw rotate top;%d;accudraw rotate view;accudraw quit;reset

Where I have ac=mynorthpoint; you need to replace this with your own northpoint cell and if your cell lib is not pathed by your config file you'll need to path it 

like AC="X:\ourcells\map.cel\mynorthpoint"    I like the quote marks just incase of spaces etc in the paths...

ok now your turn guys...

Parents
  • window bottom
    (Cycle thru overlapping view windows with each press of the function key)

    zoom in 1;m,prEnter data points to pan /Reset to exit
    (Single data point Window Center, enter data point repeatedly to pan view)

    null
    (Deactivate current tool without activating another)

    choose none;choose element
    (Clear current selection and enable power selector)

  • This is my ultimate favourite  printing   F key Add the following to an F key and have 1 stop 1 shot printing

    print; print driver pdf.pltcfg;print PENTABLE ATTACH mypentable.tbl; print papername ISO A3; print maximize;print EXECUTE

    ( if you work from model space and not from sheet models edit your workspace config to include
    MS_PLT_AUTO_FIT_VIEW to value 1, this auto fences to the fit view and  doesnt  interfere with manually placed fences  just removes need to do manual fence..)

    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 

  • dialog pallet 50circles

    and  try  just dialog pallet then in the  expanded keyin browser look at all the others we have...

    here some  great oldies from the  digitiser pallet  days, these can be done with  standard tools and snaps  but f you do any alot  stick it in and  F key favorite... or at least in your note book of tricks for ustn,,,,

    Place  Circle tangent  to element  really cool when both are circles ( but doesnt  have to be)

    P,CTN1EL

    Place Line tangent  to 2 Circles

    P,LTN2EL

    Create a Circle Diameter  tangent to 3 lines or 3 Elements

    P,CTN3EL

     these may not work with ss3 and above 

    but the  equivalents are found under the key in browser under

    Construct Tangent (then you can use)  between (for the  line  tangent to 2 circles)

    Construct Tangent  Circle 3 ( for the between 3 elements )

    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 

  • ROTATE VIEW ELEMENT to rotate a view by selecting an element. I do mostly Civil work and use Station labels as my go to element. While you can use other elements, text is the easiest to know its "up" direction. This can be tricky in a 3D file with non text elements. You can end up with a view that looks correct, but the Z axis is not normal to the screen.

    Also, some of these I've added to my right click menu, so I don't have to take my eyes of the screen.


    Charles (Chuck) Rheault
    CADD Manager

    MDOT State Highway Administration

    • MicroStation user since IGDS, InRoads user since TDP.
    • AutoCAD, Land Desktop and Civil 3D, off and on since 1996
Reply
  • ROTATE VIEW ELEMENT to rotate a view by selecting an element. I do mostly Civil work and use Station labels as my go to element. While you can use other elements, text is the easiest to know its "up" direction. This can be tricky in a 3D file with non text elements. You can end up with a view that looks correct, but the Z axis is not normal to the screen.

    Also, some of these I've added to my right click menu, so I don't have to take my eyes of the screen.


    Charles (Chuck) Rheault
    CADD Manager

    MDOT State Highway Administration

    • MicroStation user since IGDS, InRoads user since TDP.
    • AutoCAD, Land Desktop and Civil 3D, off and on since 1996
Children
No Data