Block attribute editing.

Discussion in 'AutoCAD' started by Pierre Desmarais, May 11, 2004.

  1. Hi!

    I am trying to figure this out for 4 weeks now. I quit. Can anyone
    help me?

    I have a BOM on a layout. The layout is named "ORDER". Each line of my
    BOM is a block called "field4". First attribute is called "ITEM" and
    has a value of 1 (for the first line, 2 for the second ...). Second
    attribute is called "QTY" and the third is "DESCRIPTION".

    I have 20 lines on my layout.

    I need to:
    1: Find the "ORDER" layout.
    2: Find the block called "field4".
    3: If the "ITEM" = "1" then replace "QTY" with my variable QtyToOrder
    and the "DESCRIPTION" with my last variable PartDescription.

    I got an answer from A.Seidel but it was changing "field4" on every
    layout while I only want to update the "ORDER" layout.

    Thx again to anyone that can help.
     
    Pierre Desmarais, May 11, 2004
    #1
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.