See the top rated post in this thread. Click here

Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Using fields in a block to display x,y coords

  1. #21
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    We forwarded our drawings to Autodesk and they have been able to recreate the problem and it looks to be a bug. So now we are in the limbo of how much or a priority they make it.

    Quote Originally Posted by Yancka View Post
    Don't know. I just made a block displaying X,Y coordinates, XATTACHed the file with several blocks to another file and everything was fine. I did this on AutoCAD (vanilla) 2007.

    What version are using you? And is the result same if you take 2 clean files, into 1 of them insert few blocks and then reference that file into another one? Could you share your "wrong" files here?

  2. #22
    Woo! Hoo! my 1st post
    Join Date
    2008-07
    Posts
    1
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    Hi everyone.

    Replying to an old post I know but it's about exactly the topic I'm working on. I'm trying to create a similar block to the pile cap but I also need to be able to rotate the block and have the points correctly report WCS coordinates. Does anyone know if this is possible? I haven't played around with trying to add trigonometric formulas to fields yet. I guess that may be a solution but it's somewhat complicated. Any easy work around?

    Cheers,

    Phil

  3. #23
    Member
    Join Date
    2016-07
    Location
    Portugal
    Posts
    5
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    Is it possible to have such a field in the paperspace (in a layout...) but referencing an object in the modelspace?
    (my idea is to have a field in a layout that gathers the X coordinate of a point on modelspace ...)

  4. #24
    I could stop if I wanted to
    Join Date
    2015-10
    Location
    Central New Jersey
    Posts
    439
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    I've done this with a field in paper space to the area of a polyline in model space so I don't see why it wouldn't work for the X a point as well.

    I made the field while in model space so I could select the object target for the field and then used CHspace to move it to paperspace thru a viewport

  5. #25
    Member
    Join Date
    2011-07
    Posts
    22
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    Hi,

    I have created a block to have the coordinates using formulas in fields. In addition to this, i would like to have the third digit after decimal rounded to nearest integer.

    Ex: In X = -317.038 and in Y= -2.928, i want those values to be rounded to X=-317.040 & Y= -2.930.

    As of now this is the formula i have used as of now. rxof(w2u(20552.8421, 404985.7164, 0.0000)/1000).

    Request your help to solve this.

    Thank you.
    Attached Images Attached Images
    Attached Files Attached Files

  6. #26
    All AUGI, all the time Avatart's Avatar
    Join Date
    2004-06
    Location
    Upsidedown in dreamtown
    Posts
    928
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    Quote Originally Posted by rajesh2910 View Post
    Hi,

    I have created a block to have the coordinates using formulas in fields. In addition to this, i would like to have the third digit after decimal rounded to nearest integer.

    Ex: In X = -317.038 and in Y= -2.928, i want those values to be rounded to X=-317.040 & Y= -2.930.

    As of now this is the formula i have used as of now. rxof(w2u(20552.8421, 404985.7164, 0.0000)/1000).

    Request your help to solve this.

    Thank you.
    There is a post on this blog: http://blog.jtbworld.com/2005/04/aut...in-fields.html that should help you out.

    Other than that, if you want rounding to two decimal places, you can set that in the precision field. If you need to show a trailing zero, then that could be suffixed text. Bit of a hack, but it should look right.

  7. #27
    Member
    Join Date
    2011-07
    Posts
    22
    Login to Give a bone
    0

    Default Re: Using fields in a block to display x,y coords

    Hi, thank you. I tried that blog, couldnt understand it, so i tried your second suggestion and it did

    Thanks, Rajesh

Page 3 of 3 FirstFirst 123

Similar Threads

  1. display relative coords???
    By Forsh in forum AutoCAD General
    Replies: 10
    Last Post: 2009-05-25, 02:51 PM
  2. x,y coords and fields
    By Maverick91 in forum AutoCAD Fields
    Replies: 3
    Last Post: 2008-10-28, 07:44 AM
  3. Won't display cursor coords
    By wdyoung158645 in forum AutoCAD General
    Replies: 3
    Last Post: 2008-03-03, 11:41 AM
  4. Title Block Fields
    By dmayer74 in forum ACA General
    Replies: 1
    Last Post: 2007-02-14, 02:52 AM
  5. Replies: 8
    Last Post: 2005-12-28, 09:15 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
  •