View Full Version : Gatte command not working with Dynamic Blocks
Mlabell
2007-02-20, 03:48 PM
I am trying to edit the same block across multiple layouts. The gatte command says that there is 0 inserts of the block. Now I think I have a reason for this even though there are several instances of the block in the drawing.
We start our drawings from a .dwg with a layout predefined with a sheet in it. Then as layouts are added to the drawing the original layout is copied , and the attributes are changed as necessary.
Is there a way around this "0 inserts of block issue"? I even tried using the vba that is on the exchange EX001424. It makes the same statement of "0 inserts of the block".
I am trying to edit the same block across multiple layouts. The gatte command says that there is 0 inserts of the block. Now I think I have a reason for this even though there are several instances of the block in the drawing.
We start our drawings from a .dwg with a layout predefined with a sheet in it. Then as layouts are added to the drawing then the layout is copied, and the attributes are changed as neccesary. Is there a way around this issue? I even tried using the vba that is on the exchange EX001424. It makes the same statements of 0 inserts of the block.
Hi Mark,
Just an idea: Are the blocks nested within another block? If they are, and ssget is used, it won't find them.
Mlabell
2007-02-20, 05:29 PM
The block I am having a problem with is a dynamic block. But there aren't any nested blocks inside of it.
The block I am having a problem with is a dynamic block. But there aren't any nested blocks inside of it.
Sorry. What I meant was: is the dblock nested inside another block. Does it show the correct block name when you list it? Can you post it so we can see what's going on?
Mlabell
2007-02-20, 07:31 PM
Sorry. What I meant was: is the dblock nested inside another block. Does it show the correct block name when you list it? Can you post it so we can see what's going on?
Listing the block shows . . .
Block Name: "SHEET BASE"
Anonymous Name: "*U45", any ideas? I get that acad is referring to the block it as an acad number, but why is it doing that? Here is the drawing stripped down to its bare bones, since there is info I wish not to share.
Chris.N
2007-02-20, 08:28 PM
Listing the block shows . . .
Block Name: "SHEET BASE"
Anonymous Name: "*U45", any ideas? I get that acad is referring to the block it as an acad number, but why is it doing that? Here is the drawing stripped down to its bare bones, since there is info I wish not to share.gatte won't recognize "effective" block names of dynamically modified DB's with attributes... does QSELECT work for you? maybe modify what you need thru the properties palette?
Mlabell
2007-02-20, 09:37 PM
s... does QSELECT work for you? maybe modify what you need thru the properties palette?
I tried Qselect as well, and it will only select the block that is in the current layout not all of the block is the drawing for some reason... I feel like I am taking crazy pills. :screwy:
I tried Qselect as well, and it will only select the block that is in the current layout not all of the block is the drawing for some reason... I feel like I am taking crazy pills. :screwy:GATTE is another example of commands that have not been modified to include Dynamic Blocks (BCOUNT is another example). There's nothing wrong with CAD or your block per se, it's just that CAD doesn't seem to associate that command with DBs. It's more to do with the programmers than the users, IMHO.
It's being snooty. ;)
I have a list of other commands that won't work with DBs somewhere ....
Mlabell
2007-02-21, 01:13 PM
GATTE is another example of commands that have not been modified to include Dynamic Blocks (BCOUNT is another example). There's nothing wrong with CAD or your block per se, it's just that CAD doesn't seem to associate that command with DBs. It's more to do with the programmers than the users, IMHO.
It's being snooty. ;)
I have a list of other commands that won't work with DBs somewhere ....
But here is the strange part of the block, get ready for this... If you use the insert command, gatte will find only the inserted blocks, not the ones which were part of the drawing...
Lets say I start off with the block on layout Wetland, then copy the layout and rename it Tree plan. Use gatte command. 0 inserts of the sheet block. Then I insert the block to prove autocad is in fact insane. Use the gatte command, and presto there is 1 insert to update. Which is the one I just inserted. ~ahhhhhhhhhhhh~ :banghead: :banghead: :banghead:
Is there any way to use the eatext to make a table, and then link the table back to the blocks? I just tried doing it preliminarily, and have yeilded nothing, but I think there could be a way...
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.