Results 1 to 2 of 2

Thread: Global dimension override

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2012-09
    Posts
    1
    Login to Give a bone
    0

    Default Global dimension override

    Hello everybody, this is my first post.

    I am just starting my adventure with lisp so please forgive me if sometimes I will ask about obvious basics.

    At work we often have a problem with overriden dimensions. Drawings that we receive are in 2d but are created from a 3d model. Because of that all the dimensions are overriden even if they are not changed.
    I would like to write a lisp that would be able to:

    1. Globally take all the overriden dimension text (for all dimensions in the drawing), check if they are matching with actual measurement and if not than overline them ( I guess the easiest way to do this would be by using " %%o " before the overriden text)
    2. Choose (mulitiple) dimensions, take the actual measurement and override it again with overline - this one could be used in case I am planning to stretch some shapes

    These could actually be two different lisps.
    Important to me is to understand the code in your propositions, so all the comments on side would be appreciated
    One more thing. I have seen some lisp codes before but I have no idea about the Visual Lisp.

    Thank You for all responses

    forgive me my english :P

  2. #2
    Active Member
    Join Date
    2013-03
    Location
    Permian Basin
    Posts
    76
    Login to Give a bone
    0

    Default Re: Global dimension override

    I don't know if a lisp routine is necessary unless you are planning to automate this through multiple drawings. Try the dimreassoc command in express tools. You could use qselect, filter, or select similar to select all your dimensions first. If a lisp is required try the code below:


    Code:
    (defun C:test ()
    (setq sel1 (ssget "X" '((0 . "DIM*"))))
    (command "._PSelect" "_single" sel1)
    (c:dimreassoc)
    (princ)
    )
    Last edited by jayhay35365091; 2014-02-11 at 04:54 PM.

Similar Threads

  1. 2013: Global Text Override Within Dimensions
    By dannyk346068 in forum AutoCAD General
    Replies: 1
    Last Post: 2013-05-27, 04:08 AM
  2. Dimension override
    By bob.parker in forum Revit Architecture - General
    Replies: 39
    Last Post: 2008-04-19, 09:13 PM
  3. Dimension global text style change
    By Don Sutherland in forum Revit Architecture - General
    Replies: 1
    Last Post: 2006-02-24, 06:41 PM
  4. Dimension Override
    By bmccabe.65836 in forum Revit Architecture - General
    Replies: 1
    Last Post: 2005-03-08, 07:43 PM
  5. Dimension Override
    By bmccabe.65836 in forum Revit Architecture - Tips & Tricks
    Replies: 1
    Last Post: 2005-03-08, 07:43 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
  •