See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Dimension style Viewport rotation

  1. #1
    All AUGI, all the time
    Join Date
    2009-11
    Location
    Raleigh, NC
    Posts
    937
    Login to Give a bone
    0

    Default Dimension style Viewport rotation

    How can I make a dimension style rotate to orientation of the viewport?
    Attached Images Attached Images

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    1

    Default Re: Dimension style Viewport rotation

    1. Label it in Paper Space
    2. I use a macro to Toggle between UCS View & UCS World for adding Multileaders that should work, just don't forget to toggle it back.
    Code:
    ^C^C(if(zerop (getvar 'worlducs))(command-s "UCS" "World")(command-s "UCS" "View"))
    The modemacro set in my acaddoc.lsp displays UCS in the Status Bar as a warning when UCS isn't set to WCS.
    Code:
    (setvar 'MODEMACRO
        (strcat
             "$(If,$(Eq,$(Getvar,dbmod),0),,* )" 	;The asterisk indicates the drawing has been modified.
             "$(getvar,textstyle) "
             "$(rtos, $(*, $(getvar,cannoscalevalue), $(getvar,textsize)), 2, 2) "
             "$(if,$(getvar,worlducs),,$(if,$(getvar,viewdir),$(getvar,ucsname) ,Plan ))" ;Thanks Kent Cooper
             "$(if,$(and,1,$(getvar,pickstyle)),,<Group off> )"
             "$(if,$(and,2,$(getvar,groupdisplaymode)),[Group] )"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,1,$(getvar,osmode)),E))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,2,$(getvar,osmode)),M))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,4,$(getvar,osmode)),C))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,8,$(getvar,osmode)),Nod))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,16,$(getvar,osmode)),Q))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,32,$(getvar,osmode)),Int))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,4096,$(getvar,osmode)),Ex))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,64,$(getvar,osmode)),Ins))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,128,$(getvar,osmode)),Per))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,256,$(getvar,osmode)),T))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,512,$(getvar,osmode)),Nea))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,2048,$(getvar,osmode)),A))"
             "$(if,$(and,16384,$(getvar,osmode)),,$(if,$(and,8192,$(getvar,osmode)),Par))"
             "$(if, $(!=, $(getvar,viewtwist), 0), Viewtwist: $(angtos, $(getvar,viewtwist) [, 0, 2]) , )"	;Thanks alanjt
    ;         "$(if, $(!=, $(getvar,viewtwist), 0), Viewtwist: $(angtos, $(-,6.28318,$(getvar,viewtwist)) [, 0, 2]) , )"	;Thanks alanjt
             "$(if, $(!=, $(strlen,$(getvar,refeditname)), 0), Xref = $(getvar,refeditname))"
             "$(If,$(Eq,$(Getvar,PStyleMode),0),STB,CTB )"
             "$(if,$(>, $(getvar,dynmode), 0),$(if,$(=,$(getvar,dynpicoords),0),@,#),#)"	;Dynamic coordinate entry.
             " $(getvar, cmdnames)"
        )
    )

  3. #3
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    1

    Default Re: Dimension style Viewport rotation

    This TextHoriz.lsp works for block inserts, mtext, text & dimension text and should work on that dimension shown on your drawing.
    https://forums.augi.com/showthread.p...=1#post1332928

    I've added the command to Object & Object Shortcut menus for Dimension, Mtext, Text & Block.
    90% of my editing is done from right-click Shortcut menus quick & easy.

Similar Threads

  1. Replies: 1
    Last Post: 2018-01-31, 02:45 PM
  2. Replies: 2
    Last Post: 2017-08-09, 01:04 PM
  3. Problem When Changing Dimension Style From Viewport
    By miket.203279 in forum AutoCAD General
    Replies: 9
    Last Post: 2009-02-19, 09:23 PM
  4. Rotation of Viewport & Viewport Title
    By iankids in forum Revit Architecture - General
    Replies: 2
    Last Post: 2007-12-19, 01:24 AM
  5. AutoCAD - DWF output rotation doesn't match sheet rotation
    By ttaylor.62786 in forum AutoCAD Plotting
    Replies: 3
    Last Post: 2007-02-16, 12:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •