Results 1 to 2 of 2

Thread: zero length dimension

  1. #1
    Active Member
    Join Date
    2005-12
    Posts
    58

    Default zero length dimension

    Hi,
    I'm using (vl-cmdf "dimlinear" pt1 pt2 pt3) command to create dimensions in a looped subroutine.
    and some cases in automation pt1 and pt2 can be the same point or so close that a zero length dimension is created. Its not convenient to compare two points so I wonder if there is a setting or a system variable that prevents zero length dimension objects to be created. thanks

  2. #2
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Hartford, Michigan
    Posts
    3,086

    Default Re: zero length dimension

    Quote Originally Posted by blasto View Post
    Hi,
    I'm using (vl-cmdf "dimlinear" pt1 pt2 pt3) command to create dimensions in a looped subroutine.
    and some cases in automation pt1 and pt2 can be the same point or so close that a zero length dimension is created. Its not convenient to compare two points so I wonder if there is a setting or a system variable that prevents zero length dimension objects to be created. thanks
    why is it not convenient to compare the 2 points, it's 5 lines of code
    Code:
    (if (equal pt1 pt2 .001)
    ();dont do anything if they are "equal" or display a message, or whatever you want.
    (progn ;do this if they are not equal
    ); _end progn
    ); _end if
    Christopher T. Cowgill, P.E.
    WIGHTMAN & ASSOCIATES, INC.
    ENGINEERING <> SURVEYING <> ARCHITECTURE
    AutoDesk Infrastructure Design Suite Premium 2013 x64
    Windows 7 Pro x64

Similar Threads

  1. labeling arc length dimension
    By spramanik in forum Revit - Platform
    Replies: 3
    Last Post: 2010-03-19, 03:23 PM
  2. Dimension Radius Length
    By matt.bauer in forum AutoCAD LT - General
    Replies: 9
    Last Post: 2004-12-21, 01:28 PM

Posting Permissions

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