+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    JosMulder
    Guest

    Default keep the same distance of dimension line to object

    Registered forum members do not see this ad.

    Hello,

    My question is: how can I keep the same distance between the dimension line to an object. So that when I draw a dimension line it will be drawn exactly the distance from an object. I looked in the menu dimstyle, but I couldn't find this option. I know that there is an option that when you draw one dimension line, you can continu with this one (dimcontinue). But I think it would be usefull that you can draw a line and it's placed directly on the right position. I hope I explained my question properly and that anyone can help me finding the answer! Thanks anyway..

    Kind regards,

    Jos Mulder

  2. #2
    Senior Member
    Using
    not specified
    Join Date
    Apr 2004
    Location
    Newfoundland, Canada
    Posts
    135

    Default

    you can do it manually and accurately

    select dim
    enter first point
    enter second point
    enter exact offset.. ie...2'-0"
    dim is offset exactly 2'

    Code:
    Command: _dimlinear
    Specify first extension line origin or <select object>&#58;
    Specify second extension line origin&#58;
    Specify dimension line location or
    &#91;Mtext/Text/Angle/Horizontal/Vertical/Rotated&#93;&#58; 2'

    hth......
    UNDO...UNDO...UNDO...UNDO...UNDO...UNDO...
    TOM...

  3. #3
    JosMulder
    Guest

    Default manually...

    I understand that I can do it manually...but wouldn't it be so much easier and quicker, when at the moment you use dimlinear and you click on two points (and give the position where to put the line) that the dimension line is putted on a given distance from those points automatically....probably I want too much...but I really there would be an answer...cause I think it would make easier to work with dimension lines...or am I wrong in that?

  4. #4
    Senior Member
    Using
    not specified
    Join Date
    Apr 2004
    Location
    Newfoundland, Canada
    Posts
    135

    Default

    It would be cool, but I don't think it is possible without using a lisp... FUUUCCAARRROOO HEEEELLLPPP!!!...

    If you look at the code below... none of the variables can be edited for automatic placement "offset"

    Code:
    Command&#58; -dimstyle
    
    Current dimension style&#58;  ISO-25
    Enter a dimension style option
    &#91;Save/Restore/STatus/Variables/Apply/?&#93; <Restore>&#58; v
    
    Enter a dimension style name, &#91;?&#93; or <select dimension>&#58; ?
    
    Enter dimension style&#40;s&#41; to list <*>&#58; *
    
    Named dimension styles&#58;
    
      ISO-25
    
    Enter a dimension style name, &#91;?&#93; or <select dimension>&#58; ISO-25
    DIMADEC     0                    Angular decimal places
    DIMALT      Off                  Alternate units selected
    DIMALTD     3                    Alternate unit decimal places
    DIMALTF     0.0394               Alternate unit scale factor
    DIMALTRND   0.0000               Alternate units rounding value
    DIMALTTD    3                    Alternate tolerance decimal places
    DIMALTTZ    0                    Alternate tolerance zero suppression
    DIMALTU     2                    Alternate units
    DIMALTZ     0                    Alternate unit zero suppression
    DIMAPOST                         Prefix and suffix for alternate text
    DIMASZ      2.5000               Arrow size
    DIMATFIT    3                    Arrow and text fit
    DIMAUNIT    0                    Angular unit format
    DIMAZIN     0                    Angular zero supression
    DIMBLK      ClosedFilled         Arrow block name
    DIMBLK1     ClosedFilled         First arrow block name
    DIMBLK2     ClosedFilled         Second arrow block name
    DIMCEN      2.5000               Center mark size
    DIMCLRD     BYBLOCK              Dimension line and leader color
    DIMCLRE     BYBLOCK              Extension line color
    DIMCLRT     BYBLOCK              Dimension text color
    DIMDEC      2                    Decimal places
    DIMDLE      0.0000               Dimension line extension
    DIMDLI      3.7500               Dimension line spacing
    DIMDSEP     ,                    Decimal separator
    DIMEXE      1.2500               Extension above dimension line
    DIMEXO      0.6250               Extension line origin offset
    DIMFRAC     0                    Fraction format
    DIMGAP      0.6250               Gap from dimension line to text
    DIMJUST     0                    Justification of text on dimension line
    DIMLDRBLK   ClosedFilled         Leader block name
    DIMLFAC     1.0000               Linear unit scale factor
    DIMLIM      Off                  Generate dimension limits
    DIMLUNIT    2                    Linear unit format
    DIMLWD      -2                   Dimension line and leader lineweight
    DIMLWE      -2                   Extension line lineweight
    DIMPOST                          Prefix and suffix for dimension text
    DIMRND      0.0000               Rounding value
    DIMSAH      Off                  Separate arrow blocks
    DIMSCALE    1.0000               Overall scale factor
    DIMSD1      Off                  Suppress the first dimension line
    DIMSD2      Off                  Suppress the second dimension line
    DIMSE1      Off                  Suppress the first extension line
    DIMSE2      Off                  Suppress the second extension line
    DIMSOXD     Off                  Suppress outside dimension lines
    DIMTAD      1                    Place text above the dimension line
    DIMTDEC     2                    Tolerance decimal places
    DIMTFAC     1.0000               Tolerance text height scaling factor
    DIMTIH      Off                  Text inside extensions is horizontal
    DIMTIX      Off                  Place text inside extensions
    DIMTM       0.0000               Minus tolerance
    DIMTMOVE    0                    Text movement
    DIMTOFL     On                   Force line inside extension lines
    DIMTOH      Off                  Text outside horizontal
    DIMTOL      Off                  Tolerance dimensioning
    DIMTOLJ     0                    Tolerance vertical justification
    DIMTP       0.0000               Plus tolerance
    DIMTSZ      0.0000               Tick size
    DIMTVP      0.0000               Text vertical position
    DIMTXSTY    Standard             Text style
    DIMTXT      2.5000               Text height
    DIMTZIN     8                    Tolerance zero suppression
    DIMUPT      Off                  User positioned text
    DIMZIN      8                    Zero suppression
    I really don't need it, I do it do much manually, that I don't even realize it is happening.

    Wish you the best of luck in your quest!
    UNDO...UNDO...UNDO...UNDO...UNDO...UNDO...
    TOM...

  5. #5
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,175

    Default

    Let me be skeptic: I am not sure that is the best way for dimensioning

    Well, here is a small Lisp but please don't quote on me
    Code:
    &#40;defun c&#58;test&#40;&#41;
      &#40;setq dist 10.0
    	p1 &#40;getpoint "first point"&#41;
    	p2 &#40;getpoint "2nd point"&#41;
    	d &#40;distance p1 p2&#41;
    	p3 &#40;polar p1
    		  &#40;+ &#40;angle p1 p2&#41; &#40;atan dist &#40;/ d 2.0&#41;&#41;&#41;
    		  &#40;sqrt &#40;+ &#40;expt &#40;/ d 2.0&#41; 2&#41; &#40;* dist dist&#41;&#41;&#41;&#41;
    	&#41;
      &#40;setq osmode &#40;getvar "osmode"&#41;&#41;
      &#40;setvar "osmode" 0&#41;
      &#40;command "._dimaligned" p1 p2 p3&#41;
      &#40;setvar "osmode" osmode&#41;
      &#41;
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  6. #6
    JosMulder
    Guest

    Default

    Thanks for the answer....I think I'm happy now...pfff this is too complicated for me...but hey this shows again that everything is possible if you really want it...although this is very difficult..thanks again!

Bookmarks

Posting Permissions

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