+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Full Member
    Computer Details
    KoTa04's Computer Details
    Operating System:
    Windows XP
    Discipline
    Construction
    KoTa04's Discipline Details
    Discipline
    Construction
    Details
    BSc. Civil and Mechanical Engineering
    Using
    AutoCAD LT 2011
    Join Date
    Jun 2012
    Location
    Chatham, Ontario
    Posts
    27

    Default Set DIMSTYLE by layer?

    Registered forum members do not see this ad.

    Hello everyone,

    The only way to change dimensions that I know of is DIMSTYLE. I know how to make new dimensions styles and such, but I am having trouble setting the dimension styles by LAYER.

    I currently have a pretty good solution but it would be better if it was automatically set by layer. I just qselect a layer, go to the properties, and change it all at the same time in the end.

    Is this possible? Might there be a better way?
    If you are wondering why I am mixing dimensions, it's because I send my drawings to several different people and companies, and they only need to work with certain aspects of my drawings.

    Thanks to any who help!

  2. #2
    Super Member JPlanera's Avatar
    Computer Details
    JPlanera's Computer Details
    Operating System:
    Win7 x64
    Computer:
    Dell T7400
    CPU:
    (4) Intel Xeon CPU X5272 @ 3.4GHz
    RAM:
    8G
    Graphics:
    NVIDIA Quadro FX 570 & RADEON X6000
    Primary Storage:
    80G main
    Secondary Storage:
    1TB ext
    Monitor:
    (3) DELL 21" wide
    Using
    Mechanical 2012
    Join Date
    Sep 2010
    Location
    Chicago
    Posts
    526

    Default

    Are you just trying to put all your dimensions on the same layer?
    You might be an engineer, if you tell people that time travel does not exist..... and then 5 minutes later explain how you would build a time machine

    Engineers aren't boring people, we just get excited over boring things.

  3. #3
    Full Member
    Computer Details
    KoTa04's Computer Details
    Operating System:
    Windows XP
    Discipline
    Construction
    KoTa04's Discipline Details
    Discipline
    Construction
    Details
    BSc. Civil and Mechanical Engineering
    Using
    AutoCAD LT 2011
    Join Date
    Jun 2012
    Location
    Chatham, Ontario
    Posts
    27

    Default

    I like to put certain dimensions on different layers so I can hide those certain dimensions when I want to. So, I would like to be able to have dimensions on different layers, and have different dimension styles to match those layers..
    If that makes sense

    So in reply to your question: No. I want dimensions on different layers with different dimension styles for each layer.

  4. #4
    Super Member JPlanera's Avatar
    Computer Details
    JPlanera's Computer Details
    Operating System:
    Win7 x64
    Computer:
    Dell T7400
    CPU:
    (4) Intel Xeon CPU X5272 @ 3.4GHz
    RAM:
    8G
    Graphics:
    NVIDIA Quadro FX 570 & RADEON X6000
    Primary Storage:
    80G main
    Secondary Storage:
    1TB ext
    Monitor:
    (3) DELL 21" wide
    Using
    Mechanical 2012
    Join Date
    Sep 2010
    Location
    Chicago
    Posts
    526

    Default

    Ive got good news and bad news... The good news is this can be done easily using a LISP routine. The bad news is, the version of AutoCAD you use does not allow LISP. There are available extenders\third party addons that will get past that but i have not used or have knowledge of them.. Your solution to use QSELECT is your best option i think..
    You might be an engineer, if you tell people that time travel does not exist..... and then 5 minutes later explain how you would build a time machine

    Engineers aren't boring people, we just get excited over boring things.

  5. #5
    Full Member
    Computer Details
    KoTa04's Computer Details
    Operating System:
    Windows XP
    Discipline
    Construction
    KoTa04's Discipline Details
    Discipline
    Construction
    Details
    BSc. Civil and Mechanical Engineering
    Using
    AutoCAD LT 2011
    Join Date
    Jun 2012
    Location
    Chatham, Ontario
    Posts
    27

    Default

    I was afraid of that.. Thank you very much for your input though.

  6. #6
    Super Member JPlanera's Avatar
    Computer Details
    JPlanera's Computer Details
    Operating System:
    Win7 x64
    Computer:
    Dell T7400
    CPU:
    (4) Intel Xeon CPU X5272 @ 3.4GHz
    RAM:
    8G
    Graphics:
    NVIDIA Quadro FX 570 & RADEON X6000
    Primary Storage:
    80G main
    Secondary Storage:
    1TB ext
    Monitor:
    (3) DELL 21" wide
    Using
    Mechanical 2012
    Join Date
    Sep 2010
    Location
    Chicago
    Posts
    526

    Default

    Good luck. Hopefully someone else here will have a better answer for you.
    You might be an engineer, if you tell people that time travel does not exist..... and then 5 minutes later explain how you would build a time machine

    Engineers aren't boring people, we just get excited over boring things.

  7. #7
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,932

    Default

    To the best of my knowledge, your best bet is to create a macro for each layer, that would basically both set the desired dimstyle and layer current, then initiate the applicable dimension command.

    Depending on the number of different dimension types you use, and on how many different layers, it may simply be easier to have the macro only set the desired dimstyle and layer, then it's up to you to specify which dimension command. Just my $0.02
    "Potential has a shelf life." - Margaret Atwood

  8. #8
    Forum Deity rkent's Avatar
    Computer Details
    rkent's Computer Details
    Operating System:
    WIN7 PRO 64bit
    Computer:
    Dell Precision T7500
    CPU:
    Xeon Dual Core E5503 2.0Ghz
    RAM:
    6GB DDR3 ECC SDRAM, 1333MHz, 6x1GB
    Graphics:
    nVidia Quadro 3800
    Primary Storage:
    300Gb, 10K rpm
    Monitor:
    Dell 24" FS (2x)
    Discipline
    Mechanical
    rkent's Discipline Details
    Occupation
    Facilities Design - Semi-conductor manufacturing
    Discipline
    Mechanical
    Details
    Designer: Process Piping, P&ID's, Machine Part Design, Planning / General Arrangement. Facilities Management. Drafting: Electrical, Controls, Architectural.
    Using
    Mechanical 2014
    Join Date
    Nov 2007
    Location
    Lat:35, Long:-106, Elev: 5164'
    Posts
    3,371

    Default

    Once you have a dim created on the layer you want, drag and drop that onto a tool palette. Do that for the various styles, layers, etc. Change the name on the palette for each one. Now just pick the dim name you need, pick the type of dim, place dim.
    "You are entitled to your own opinion but you are not entitled to your own facts." Daniel Patrick Moynihan

  9. #9
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,932

    Default

    I always forget about tool palettes (because of the difficulty in distributing updates); thanks for the reminder, rkent.
    "Potential has a shelf life." - Margaret Atwood

  10. #10
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,131

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by rkent View Post
    Once you have a dim created on the layer you want, drag and drop that onto a tool palette. Do that for the various styles, layers, etc. Change the name on the palette for each one. Now just pick the dim name you need, pick the type of dim, place dim.
    Absolutely the way to go, low tech solution, cutting right to the chase!
    Volume and repetition do not validate opinions forged in the absence of thought.

Similar Threads

  1. match to Dimstyle AND layer
    By adamsnez in forum AutoLISP, Visual LISP & DCL
    Replies: 41
    Last Post: 30th Apr 2010, 02:32 pm
  2. Dimstyle
    By Tankman in forum AutoCAD Beginners' Area
    Replies: 11
    Last Post: 12th Mar 2010, 02:06 pm
  3. missing LAYER, Dimstyle, Style etc, , dialog boxes, ,
    By cp6070 in forum AutoCAD Beginners' Area
    Replies: 9
    Last Post: 29th Jan 2009, 10:43 am
  4. DimStyle
    By musyas in forum AutoCAD Beginners' Area
    Replies: 2
    Last Post: 9th Jan 2009, 04:17 am
  5. about dimstyle
    By lulumara in forum AutoCAD Drawing Management & Output
    Replies: 8
    Last Post: 11th Dec 2007, 09:04 pm

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