+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Full Member Huibert's Avatar
    Using
    AutoCAD 2009
    Join Date
    Jul 2008
    Location
    NL
    Posts
    26

    Default Eattedit template

    Registered forum members do not see this ad.

    I want to create a VBA program that will number all selected blocks in a drawing. (from a starting number till.... n = n+1). All these blocks will have a empty "number" attribute that can be used for this numbering.
    It should work somewhat like the automatic text Numbering in the express tools of autocad.

    My idea is to extract data (x, y position, block name, att tag, promt, value) off all the blocks with respective attributes with -eattext. order this list w.r.t. increasing values of x (and y).
    and start numbering with -attedit.

    I have a few problems:
    - I don't know how to make an template that works on the eattext command. can anyone give me advise on how to create such a template?
    - I have to "select attribute" when i use -attedit. and how can i select an attribute whitout clicking?

    Or is there a smarter way to do this?

  2. #2
    Senior Member
    Using
    AutoCAD 2007
    Join Date
    Nov 2007
    Posts
    136

    Default

    Registered forum members do not see this ad.

    When first running the command, in the end of the command you will be able to save settings in a template file.

Similar Threads

  1. scaling up an A1 template to an A0 template
    By treeman in forum AutoCAD Beginners' Area
    Replies: 21
    Last Post: 12th Mar 2008, 04:34 pm
  2. template
    By joewaianae in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 28th Sep 2007, 03:43 pm
  3. Template
    By Starkey in forum AutoCAD Drawing Management & Output
    Replies: 5
    Last Post: 26th Feb 2007, 11:47 pm
  4. A4 Template
    By gw4100 in forum AutoCAD General
    Replies: 4
    Last Post: 26th Oct 2006, 10:17 am
  5. Drawing Template vs. Settings Template?
    By umop-3p!sdn in forum AutoCAD Beginners' Area
    Replies: 5
    Last Post: 20th May 2006, 01:09 am

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