See the top rated post in this thread. Click here

Results 1 to 8 of 8

Thread: AutoCAD 2014: What locks Line Space in Dimensions?

  1. #1
    Member JohnnyCicc's Avatar
    Join Date
    2011-03
    Location
    East Hampton, NY
    Posts
    32
    Login to Give a bone
    0

    Default AutoCAD 2014: What locks Line Space in Dimensions?

    Hi All,

    With the attached file, I can't modify the line space within the text block. If I make the text larger or smaller nothing...

    Please advise.

    - j

    Line Spacing.dwg

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,659
    Login to Give a bone
    1

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    You can't change the line spacing in a dimension. The text size specified for the dim is 0.8 and the line spacing is based upon that. You've overridden the text size to 0.2, but the line spacing remains the same. Start by setting up your text style and then your dim style. Your text style was set to a fixed text height. Setting it to 0 allows you to specify a text height later and it can vary for individual text items. Then in your dim style, you can specify a text height. Avoid making changes by overriding the dim style. Once you create the dim object, the line spacing is set for that dim object. It is based on the text height at the time of creation. Unfortunately, you will have to recreate the dim based on the new changes you made to the dim style.
    C:> ED WORKING....

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

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    This will toggle the Line Space Factor between 1.0 and 0.8
    Code:
    (defun c:DimLnSpcX ( / ss i ent el)
      (if (setq ss (ssget '((0 . "Dimension"))))
        (repeat (setq i (sslength ss))
          (setq ent (ssname ss (setq i (1- i)))
    	        el	(entget ent '("ACAD"))
          )
          (if(= 1(cdr(assoc 41 el)))
    		(entmod (subst (cons 41 0.8)(assoc 41 el)el))
    		(entmod (subst (cons 41 1.0)(assoc 41 el)el))
          );; if
        );; repeat
      );; if
      (princ)
    );; DimLnSpcX
    Display Name: Toggle Line Space Factor
    Name: DimLnSpcX
    Macro:
    Code:
    ^P(or C:DimLnSpcX (load "DimLnSpcX.lsp"));DimLnSpc
    X
    Command line: (load "DimLnSpcX.lsp") DimLnSpcX

    I've added to the Dimension Object Menu in Shortcut Menus in the CUI, just right-click a dimension and pick 'Toggle Line Space Factor'.
    Also add it to Dimension Objects Menu and it will work for multiple selected dimensions as well.
    Tom Beauford P.S.M. - Civil 2019 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

  4. #4
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,659
    Login to Give a bone
    0

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    @Tom, that's helpful as there is no other way to edit line spacing via the acad UI.

    @ -j, Tom's routine may not get you what you want with the existing dim in your sample dwg because you've overridden the text height. The factor of .8 will be based upon the text height for the dim, which is also, 0.8 and you have overridden the text height to 0.2.
    C:> ED WORKING....

  5. #5
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,261
    Login to Give a bone
    0

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    Quote Originally Posted by Ed Jobe View Post
    @Tom, that's helpful as there is no other way to edit line spacing via the acad UI.
    I use it often to conserve drawing space, with Mtext I just use the Properties Palette. As it's actually Mtext all the properties are there just not accessible with the UI. It would be a good wish list item since it should be an easy fix.
    Tom Beauford P.S.M. - Civil 2019 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

  6. #6
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,659
    Login to Give a bone
    0

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    Quote Originally Posted by Tom Beauford View Post
    It would be a good wish list item since it should be an easy fix.
    Yeah, go for it!
    C:> ED WORKING....

  7. #7
    Member JohnnyCicc's Avatar
    Join Date
    2011-03
    Location
    East Hampton, NY
    Posts
    32
    Login to Give a bone
    0

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    Thanks to both of you. That has cleared up everything. It works now if I start from the beginning.

    I use AutoCAD more as an "illustrator" program and less as a CAD. But it helps to know what I'm doing.

    Cheers.

    @ Tom, It will take me a little longer to figure out how to use the code.....but thanks.

    - j

  8. #8
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,659
    Login to Give a bone
    0

    Default Re: AutoCAD 2014: What locks Line Space in Dimensions?

    Open Notepad, paste the text in and saveas a *.lsp file. Make sure you have the file type list box set to "All files" or notepad will add a txt extension. Then you load the file into AutoCAD and type the command at the command line. To load, you can use the second line of code Tom posted or drag the file from explorer to acad.
    C:> ED WORKING....

Similar Threads

  1. 2014: Revit 2014 to NWC to Naviworks manage 2014
    By Bimerworld in forum NavisWorks - General
    Replies: 3
    Last Post: 2014-11-13, 04:12 AM
  2. Replies: 5
    Last Post: 2014-05-05, 02:33 PM
  3. 2014: revit 2014 to navisworks 2014
    By vinnygolfer in forum NavisWorks - General
    Replies: 2
    Last Post: 2013-08-19, 08:02 PM
  4. Replies: 2
    Last Post: 2013-04-30, 12:44 PM
  5. Autocad locks up when restarting autocad.
    By GreyHippo in forum AutoCAD General
    Replies: 3
    Last Post: 2004-11-11, 06:50 PM

Tags for this Thread

Posting Permissions

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