Results 1 to 3 of 3

Thread: Rotated Attributed Blocks extract wrong coordinates

  1. #1
    100 Club
    Join Date
    2000-11
    Posts
    140
    Login to Give a bone
    0

    Default Rotated Attributed Blocks extract wrong coordinates

    I have a drawing that I need to rotate the whole model 90 degrees so the attribute X & Y values are positive numbers. When I do such part of the X & Y insertion points are positive and some are negative values yet they ALL are in the positive quadrant. This makes absolutely no sense why I am getting negative values. I am also wondering if there is a variable that would allow me to extract attribute values that are tied into a UCS rather than the world UCS. Using EATTEXT whenever I extract attributes they are tied to the WCS. I have attached the BAD drawing along with a small XLS file of what I get when I use the EATTEXT command. Thank you for any and all help.
    Attached Files Attached Files

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Rotated Attributed Blocks extract wrong coordinates

    Hi

    Taking drawing file BadAttributeExtraction.dwg I am unable to reproduce the problem you have described above.

    Using command _.EAttExt

    If I export X,Y information from all the Blocks located in the top left corner, all X values are positive, all Y values are negative ( apart from two Blocks that have 0,0 as their insertion point - 69-WHR1-VSM and 70-WHR2-VSM ).

    If I export X,Y information from all the Blocks located in the bottom right corner, all X and Y values are positive ( apart from one Block that has 0,0 as its insertion point -70-WHR2-VSM ).

    As far as I know X,Y,Z values extracted via _.EAttExt are tied to WCS.

    Have a good one, Mike

  3. #3
    100 Club
    Join Date
    2000-11
    Posts
    140
    Login to Give a bone
    0

    Default Re: Rotated Attributed Blocks extract wrong coordinates

    Thanks for looking Mike. I tried this on my 2007 at home and it appears to work okay sort of. Using 2005 at my day job I get the erroneous values which is scary. The real problem turns out to be they decided to rotate the whole site plan 90 degrees after we had a large amount of work done. It now appears to make the coordinates come out exactly as I need them to I have to take the drawing, save temp, bind all xref's and then explode down to but stopping short of the blocks with the attributes in them. I then have to insert this block into a new drawing with -90 degrees. Now when I extract my attributes I get true positive and minus values. What a bunch of extra work this is. Thanks again, Jack.

Similar Threads

  1. Extract 'x,y' coordinates to a table.
    By hydrotechdesign421558 in forum AutoCAD Tables
    Replies: 1
    Last Post: 2014-05-31, 12:59 PM
  2. Extract Coordinates from Named or Current UCS
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2013-11-24, 10:48 PM
  3. 2013: Attributed Blocks
    By christopher.phillips394475 in forum AutoCAD General
    Replies: 8
    Last Post: 2013-06-26, 07:35 PM
  4. VBA to Extract 3D coordinates
    By wayne.orton714858 in forum AutoCAD Customization
    Replies: 1
    Last Post: 2011-03-29, 05:33 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
  •