kpizzolatto Posted March 8, 2010 Share Posted March 8, 2010 I have a couple hundred drawings with an assortment among 30 blocks that need an attribute updated. GATTE fails when there is an underscore. GATTE reports the full complement of attributes are recognized. BUT, when I specify the attribute I want, GATTE reports it's invalid. The interesting thing is that the list of "expected" attributes is truncated one character before the first underscore character. Has anybody seen this behaviour before? Is there another way to get GATTE to recognize the attribute specified from the command line? Specifying a point on the drawing (as if I "clicked" the attribute) for the script has its own complications, which I would very much like to avoid. Thanks to anyone who has a solution for this! Details are below and blocks are attached. Using GATTE, I can execute the following from command line or script, and it works just fine... Command: gatte Initializing... Select block or attribute [block name]: block Enter block name: EX600-DXPD-MODULE Known tag names for block: UNIT NODE TYPE PLC DNO10 RUNG PAGE CODE DNO7 DNO6 Select attribute or type attribute name: none node Block: EX600-DXPD-MODULE Attribute tag: NODE Enter new text: [newnodenumber] Number of inserts in drawing = 1 Process all of them? [Yes/No] <Yes>: Please wait... 1 attribute changed. But when I try the same thing with a block that has underscores in the attribute names, GATTE fails: Command: gatte Initializing... Select block or attribute [block name]: block Enter block name: Digital_Input_EX600 Known tag names for block: RUNG PAGE TEXT4 TEXT3 TEXT2 TEXT1 TERM_24V TERM_COM TERM ADDRESS UNIT NODE TYPE PLC DNO10 RUNG PAGE CODE DNO7 DNO6 Select attribute or type attribute name: none node *Invalid selection* Expects a point or RUNG/PAGE/TEXT4/TEXT3/TEXT2/TEXT1/TER Select attribute or type attribute name: *Cancel* Digital_Input_EX600.dwg EX600-DXPB-MODULE.dwg Quote Link to comment Share on other sites More sharing options...
AQucsaiJr Posted March 29, 2010 Share Posted March 29, 2010 I am coming up with this same problem: Command: GATTE Select block or attribute [block name]: BLOCK Enter block name: BORDER Known tag names for block: REVDESCRIPTION1 REVDESCRIPTION2 REVDESCRIPTION3 REVDESCRIPTION4 REVDATE1 REVDATE2 REVDATE3 REVDATE4 REVDWNBY1 REVDWNBY2 REVDWNBY3 REVDWNBY4 REVAPPBY1 REVAPPBY2 REVAPPBY3 REVAPPBY4 REVDESCRIPTION5 REVDESCRIPTION6 REVDESCRIPTION7 REVDESCRIPTION8 REVDATE5 REVDATE6 REVDATE7 REVDATE8 REVDWNBY5 REVDWNBY6 REVDWNBY7 REVDWNBY8 REVAPPBY8 REVAPPBY7 REVAPPBY6 REVAPPBY5 DRAWN DSGN CK'D APPD DATE DWGDESCRIPTION1 DWGDESCRIPTION2 SCALE DWG_NO REV Select attribute or type attribute name: REVDESCRIPTION1 Invalid attribute name. Known tag names for block: REVDESCRIPTION1 REVDESCRIPTION2 REVDESCRIPTION3 REVDESCRIPTION4 REVDATE1 REVDATE2 REVDATE3 REVDATE4 REVDWNBY1 REVDWNBY2 REVDWNBY3 REVDWNBY4 REVAPPBY1 REVAPPBY2 REVAPPBY3 REVAPPBY4 REVDESCRIPTION5 REVDESCRIPTION6 REVDESCRIPTION7 REVDESCRIPTION8 REVDATE5 REVDATE6 REVDATE7 REVDATE8 REVDWNBY5 REVDWNBY6 REVDWNBY7 REVDWNBY8 REVAPPBY8 REVAPPBY7 REVAPPBY6 REVAPPBY5 DRAWN DSGN CK'D APPD DATE DWGDESCRIPTION1 DWGDESCRIPTION2 SCALE DWG_NO REV Select attribute or type attribute name: DRAWN Invalid attribute name. Known tag names for block: REVDESCRIPTION1 REVDESCRIPTION2 REVDESCRIPTION3 REVDESCRIPTION4 REVDATE1 REVDATE2 REVDATE3 REVDATE4 REVDWNBY1 REVDWNBY2 REVDWNBY3 REVDWNBY4 REVAPPBY1 REVAPPBY2 REVAPPBY3 REVAPPBY4 REVDESCRIPTION5 REVDESCRIPTION6 REVDESCRIPTION7 REVDESCRIPTION8 REVDATE5 REVDATE6 REVDATE7 REVDATE8 REVDWNBY5 REVDWNBY6 REVDWNBY7 REVDWNBY8 REVAPPBY8 REVAPPBY7 REVAPPBY6 REVAPPBY5 DRAWN DSGN CK'D APPD DATE DWGDESCRIPTION1 DWGDESCRIPTION2 SCALE DWG_NO REV Select attribute or type attribute name: APPD Invalid attribute name. Known tag names for block: REVDESCRIPTION1 REVDESCRIPTION2 REVDESCRIPTION3 REVDESCRIPTION4 REVDATE1 REVDATE2 REVDATE3 REVDATE4 REVDWNBY1 REVDWNBY2 REVDWNBY3 REVDWNBY4 REVAPPBY1 REVAPPBY2 REVAPPBY3 REVAPPBY4 REVDESCRIPTION5 REVDESCRIPTION6 REVDESCRIPTION7 REVDESCRIPTION8 REVDATE5 REVDATE6 REVDATE7 REVDATE8 REVDWNBY5 REVDWNBY6 REVDWNBY7 REVDWNBY8 REVAPPBY8 REVAPPBY7 REVAPPBY6 REVAPPBY5 DRAWN DSGN CK'D APPD DATE DWGDESCRIPTION1 DWGDESCRIPTION2 SCALE DWG_NO REV Select attribute or type attribute name: SCALE Invalid attribute name. Known tag names for block: REVDESCRIPTION1 REVDESCRIPTION2 REVDESCRIPTION3 REVDESCRIPTION4 REVDATE1 REVDATE2 REVDATE3 REVDATE4 REVDWNBY1 REVDWNBY2 REVDWNBY3 REVDWNBY4 REVAPPBY1 REVAPPBY2 REVAPPBY3 REVAPPBY4 REVDESCRIPTION5 REVDESCRIPTION6 REVDESCRIPTION7 REVDESCRIPTION8 REVDATE5 REVDATE6 REVDATE7 REVDATE8 REVDWNBY5 REVDWNBY6 REVDWNBY7 REVDWNBY8 REVAPPBY8 REVAPPBY7 REVAPPBY6 REVAPPBY5 DRAWN DSGN CK'D APPD DATE DWGDESCRIPTION1 DWGDESCRIPTION2 SCALE DWG_NO REV Anyone have a clue on how to fix this??? I want to run this command in a script through a little over 100 drawings. Quote Link to comment Share on other sites More sharing options...
SteveK Posted June 21, 2010 Share Posted June 21, 2010 Delayed response: A similar (perhaps the same) problem was talked about here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.