Script Problems

Discussion in 'AutoCAD' started by Nvntr, Jan 30, 2004.

  1. Nvntr

    Nvntr Guest

    Greetings All,

    I wrote a simple batch script program to change the attributes in my drawing borders. There are times when an attribute tag is blank, so when I run my script, obviously I get the message "0 attributes found".
    Is there a script command or a way to add text to the blank attribute tag?
     
    Nvntr, Jan 30, 2004
    #1
  2. Nvntr

    mataeux Guest

    qtext on
    regen


    drawing borders. There are times when an attribute tag is blank, so when I
    run my script, obviously I get the message "0 attributes found".
     
    mataeux, Feb 2, 2004
    #2
  3. Nvntr

    ECCAD Guest

    Mataeux,
    I may be missing something, but when I set an attribute value to "", and turned qtext 'on', regen, I see no (box) around the
    'blank' attrib, no 'tag', nothing. I cannot select it either, using attedit. I think you still need to dig into the block, get the attrib entity, by 'tag' or nth attribute, then entmod, entupd to store a string into it.
    Bob
     
    ECCAD, Feb 2, 2004
    #3
  4. Nvntr

    mataeux Guest

    isnt there a teeny selectable spec there when qtext is on?

    on my machine, attributes or text with a value "" at least show up as dots
    when qtext is on

    is your script a .lsp file? or do you use the script commad?


    turned qtext 'on', regen, I see no (box) around the
    attedit. I think you still need to dig into the block, get the attrib
    entity, by 'tag' or nth attribute, then entmod, entupd to store a string
    into it.
     
    mataeux, Feb 2, 2004
    #4
  5. Nvntr

    ECCAD Guest

    Win98, R2k2, not even a spec.
    (ssget "_c" pause pause ""); gets nada
    Bob
     
    ECCAD, Feb 3, 2004
    #5
  6. Nvntr

    ECCAD Guest

    Not mine. I use Lisp. (Nvntr) is most likely pure script.
    Bob
     
    ECCAD, Feb 3, 2004
    #6
  7. Nvntr

    dean_bourke Guest

    Hey Bob, what happened to that "How many ppl in this NG" topic you were running yesterday?

    Dean
     
    dean_bourke, Feb 3, 2004
    #7
  8. Nvntr

    ECCAD Guest

    Dean,
    When I dialed on it was gone.
    I guess it was a no-no.
    Also noticed that 'Guest' posted a similiar, it was
    there for a few minutes and disappeared.
    Have a G'Day !
     
    ECCAD, Feb 3, 2004
    #8
  9. Nvntr

    dean_bourke Guest

    Oh well....
    Maybe could set up a group on yahoo or similar.
    Just a thought.
     
    dean_bourke, Feb 3, 2004
    #9
  10. Nvntr

    Anne Brown Guest

    That topic had no relation to Lisp issues and was removed.
     
    Anne Brown, Feb 3, 2004
    #10
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.