Results 1 to 4 of 4

Thread: Link a field to an area of a drawing

  1. #1
    Active Member
    Join Date
    2008-10
    Location
    Coggeshall, UK
    Posts
    84

    Default Link a field to an area of a drawing

    Hi all

    Quick question, is it possible to assign an area of a drawing a code, say C001 for example. Then if any block is placed within this area a field within the block displays or is linked to this code?

    Cheers

    Jonathan.
    ──────────────────────────────────────────

    AutoCAD 2012

  2. #2
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,519

    Default Re: Link a field to an area of a drawing

    Quote Originally Posted by pittuf View Post
    Hi all

    Quick question, is it possible to assign an area of a drawing a code, say C001
    Yes. Create a named view.

    Quote Originally Posted by pittuf
    Then if any block is placed within this area a field within the block displays or is linked to this code?
    Not that I know of, at least not without a 3rd party routine.

  3. #3
    Geospatial Moderator Jmurphy's Avatar
    Join Date
    2000-11
    Location
    South Eastern US, exact location unknown
    Posts
    1,369

    Default Re: Link a field to an area of a drawing

    Quote Originally Posted by rkmcswain View Post

    Not that I know of, at least not without a 3rd party routine.
    BTDT got the headache from coding it.

    It's not that hard to do really you just break the dwg area down into smaller areas then as an object is inserted you trigger another routine to get the IP and do the math. Example if the X is between 100 -200 you return A if Y is between 100 and 200 return 1 and so on. Once you got the A&1 you string it together and populate the attribute or in my case it was an MAP Object Data Table. My head ache came from not having nice round numbers to work with in the small area and the original dwgs were based off the 7.5 quad maps that were not square.
    J. Murphy
    AKA
    Murph
    The former AutoCAD MAP3D Power User

  4. #4
    Active Member
    Join Date
    2008-10
    Location
    Coggeshall, UK
    Posts
    84

    Default Re: Link a field to an area of a drawing

    Hmm, ok, cheers guys.

    I'm working on ship layouts so the areas are a bit like yours Murph, a large quantity of various shapes and sizes.

    At the moment I have a room identification block, so any new block can be linked to that for information, just trying to think of ways that can reduce my time and possible errors.
    ──────────────────────────────────────────

    AutoCAD 2012

Similar Threads

  1. Replies: 7
    Last Post: 2012-10-17, 08:47 PM
  2. data link/ database field help
    By nina.linden in forum AutoCAD Fields
    Replies: 4
    Last Post: 2009-11-17, 04:51 AM
  3. Link Tab Name To Field in TitleBlock?
    By Marv Muston in forum ACA General
    Replies: 2
    Last Post: 2009-06-29, 01:55 PM
  4. attribute field link
    By brandenz in forum AutoCAD General
    Replies: 2
    Last Post: 2009-04-23, 03:05 PM
  5. Field Justification - Fit a field into an area
    By dillarm in forum AutoCAD Fields
    Replies: 10
    Last Post: 2006-11-07, 04:49 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
  •