+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Senior Member
    Computer Details
    numberOCD's Computer Details
    Operating System:
    Windows 7
    Computer:
    HP EliteBook 8730w
    RAM:
    4Gb
    Using
    MEP 2013
    Join Date
    Apr 2010
    Location
    Chicago/New York USA
    Posts
    149

    Default Insert Block into Text/Attribute

    Registered forum members do not see this ad.

    I'm trying to insert symbols (such as an "EIT" inside a hexagon) into the attribute of my block. Anybody know of a way to insert a block as text in an attribute so that symbol will follow the attribute through rotations, movements, etc.?

  2. #2
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,934

    Default

    You cannot insert a block (A) into an attribute of another block (B).

    You can write a custom LISP routine which inserts A into the drawing, and programmatically extracts needed value from A, and modifies B attribute with said value, then deletes A... But that is just cumbersome, and more complicated then it needs to be.

    If you know the possible values, then hard-code those values as options into a custom routine which allows you to select B, and select an option (A value?) to apply to B's attribute. Does that make sense?
    "Potential has a shelf life." - Margaret Atwood

  3. #3
    Full Member
    Using
    AutoCAD 2010
    Join Date
    Oct 2010
    Posts
    37

    Default

    Registered forum members do not see this ad.

    You can make the attribute move and rotate together inside a block with dynamic blocks. Does that help?

Similar Threads

  1. Insert block attribute into text field
    By ordengate in forum AutoLISP, Visual LISP & DCL
    Replies: 10
    Last Post: 1st Oct 2010, 09:39 pm
  2. Block attribute in insert command
    By monkey7 in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 22nd Jul 2010, 12:53 pm
  3. Insert An Attribute Block Then Fill In w/Field
    By rustysilo in forum AutoLISP, Visual LISP & DCL
    Replies: 14
    Last Post: 12th May 2010, 11:56 am
  4. Macro does not work in Autocad 2009. Won't insert attribute block
    By Robert Sheffield in forum AutoCAD General
    Replies: 5
    Last Post: 18th Aug 2008, 02:15 pm
  5. Duplicate Attribute Value in Block on Insert
    By bjhuffin in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 11th Jun 2008, 05:56 pm

Bookmarks

Posting Permissions

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