AutoCAD Dynamic Blocks :: Zoom All & Extents With Blocks Containing Fields On Layout Tabs
Aug 22, 2013
We have a new title block which now contains various fields to automatically populate the drawing number, number of sheets, issue etc. The problem we have is when we go to zoom all or extents on a layout tab it moves the layout to the right each time. If we only have one layout or we use a plain title block i.e. with no fields, the zoom works fine (layout stays put in the center). This is also true if we directly insert a field onto the layout - again no problems.
The cause of the problem only happens when a block containing a field is inserted onto the paper space of a layout and,there are multiple layouts containing blocks with fields.
View 6 Replies
ADVERTISEMENT
Jun 21, 2011
Once you have multiple layout tabs its very easy to zoom in on a tab make some changes jump to another tab zoom in make some more changes, then save the dwg.
You then open the drawing to say plot and have to zoom e the layout as a glance to see if its correct, etc.
So I wrote this tiny lisp that will very quickly zoom extents on all layout tabs and then I would normally save.
; goes through all layout tabs and zooms all
(vl-load-com)
(command "_.pspace")
(setq curtab (getvar "Ctab"))
(setq this_dwg (vlax-get-acad-object))
(foreach d (layoutlist)
(setvar "CTAB" d)
(vla-ZoomExtents this_dwg)
)
(setvar "ctab" curtab)
(princ)
View 6 Replies
View Related
Aug 29, 2012
Is there a way that i can put a Field in a block that does not have a locked down specific item to look for? What i'm trying to do is have a block that contains a field linked to an object (Polyline) and read its length. My problem is that when you put a field in a block you have to define what it is looking for so if i select "Object" in the field its asking for that object while i'm in the block editor, is there any way to have it pause for user input so that i can select the object after the block has been inserted?
View 5 Replies
View Related
Aug 31, 2012
I have a couple of attributes suing fields within a block. But they don't update on opening. I need to do a manual field update to get them updated to the latest values.Tried various combinations of "fieldeval", but this was no good.
View 5 Replies
View Related
May 2, 2013
I'm working in AutoCAD 2010 and I would like to make the process of creating 2D documentation easier and faster for myself and my collegues, but during the process I've hit a dead end.
I would like to use fiedds (or something simillar) to partly automate the creation of 2D documentation. We have sheets organized in a specific way and I would like to create a custom field for each of the categories (eg. drawing number, number of parts, designer...) that could be edited easily like the parameters or object properties can. Basically what I would like to do is create custom fields or some other object that can be edited from a list in AutoCAD and then automatically refreshed in text boxes. Is there a possibility to do something like that using fields or perhaps a different solution?
View 5 Replies
View Related
Apr 21, 2013
Attached drawing file. What I am after is the ability to be able to stretch the length and/or width and update the two feilds depending on the new distance. At the moment each time I specify the distance parameter as the object it works then when you close and test the block it just shows #### as if that object no longer exsits.
The second problem is i am trying to be able to stretch the comms rack width and to update the door to the rack (the dashed part of the block) to the same length as the width of the rack. Ie atm the rack and door is 600mm and 600mm if the width was updated to 800mm the door will also scale to the same. I attached example in white just below the block.
View 6 Replies
View Related
Dec 4, 2013
I am trying to update blocks for a client. Each block has a line of text with the block name in it. I would like to automate these with a field so that if the block name changes or a new block is created from that one, then the field would update as well. I am running AutoCAD LT 2012 currently.
View 8 Replies
View Related
May 5, 2010
I've made annotative blocks and I've made dynamic blocks... My intent is to integrate both but I can't find a way to move dynamic block parameters separately at different annotative scales.
In other words, if I insert an annotative dimension and add multiple scales I can move the dimension grips independently at each scale. If I insert a dynamic block I want to be able to use the dynamic block's action "grips" to do the same. However, with a dynamic block, if I move a stretch action at one annotation scale it moves the action at all annotation scales.
The attached file shows a simple example.
View 2 Replies
View Related
Mar 10, 2009
I'm currently working in a drawing that has 148 layout tabs and I frequently work in drawings with more tabs than that. when I switch tabs, I like to see everything in the tab. Is there a lisp that will do a zoom extents in every tab so I don't have to manually do it all the time?
View 9 Replies
View Related
Mar 31, 2013
I have AutoCAD 2013 and usially use in my work dynamic blocks with wipeout, e.g. valves, pumps and others.
So, few days ago I found that I cannot export my drawing from layout to model space. Everything is exported except wipeouts.
Is it something about new Autodesk politics or what? AutoCAD 2010 still works fine with the same drawing.
Examle.dwg is attached.
View 1 Replies
View Related
Apr 17, 2013
Is it possible to have a dynamic block with text which, when inserted into a drawing, will show the text orientation matched to the layout? I have a non-dynamic block which is simply a donut and a piece of text. When I insert it into a drawing, the text orientation will change to suit the orientation of the layout. I created another block with the same entities but I also added a couple of lines extending out from the center of the donut. I added stretch and rotation actions in order to rotate and stretch the lines.
I also gave the block visibility states so that either one or two lines would appear (the block is a utility pole,by the way, with the lines representing guy wires). When I insert the dynamic block into a drawing, I cannot get the text to match the orientation of the viewport. I've tried changing different combinations of settings but the text won't appear horizontal.
The two blocks I mentioned above are inserted into one file with a number of other blocks. When I check the properties of the non-dynamic block, the "match orientation" is set to YES. I cannot, however, change the "match to orientation" setting to YES on the dynamic block. Is this simply because it is a dynamic block or am I missing something? I don't create a lot of dynamic blocks and therefore I am not a wizard at it so I am assuming I am doing something wrong.
View 6 Replies
View Related
Mar 15, 2012
I have created a dynamic block with several visiblility states. The block works great for what I need it for. however, I am trying to add one more action to the block but am having issues.
This block is essentially a 24" retail cabinet with the visibility states showing the different drawer and shelf configurations. I want to be able to lengthen the cabinet in 24" increments and have the visibility show for each 24" section.....e.g. I want a 10' cabinet so I bring in the 24" starter block. Then stretch the cabinet to the 10' mark, then I can chose any drawer/shelve config for each 24" section (they are all different).
I can get the block to stretch in 24" sections....no problem.....i just want the visibility state to be duplicated as well for each section. Now as it stretches, there is only one Vis state and it only populates the first cabinet.
I could do this by copying the block over and over 5 times.....but I am hoping there is a way to make this dynamic.
View 7 Replies
View Related
Apr 23, 2013
I have a block I am making into a Dynamic Block. I will be adding in different visibility states. Depending on the visibility state the block would need to be inserted from a different point.
My question is, is it possible to add multiple insertion points to a dynamic block so depending on the visibility state it defaults to the correct insertion point?
View 2 Replies
View Related
Aug 8, 2013
How to find no of times specific blocks used in a drawing?
View 9 Replies
View Related
Jul 15, 2011
How do I manipulate a height parameter all of the dynamic blocks in the drawing from one single field? Say a field located in the drawing properties or on the drawing itself.
For example: Multiple blocks of different walls of same height with other blocks of things on located on those walls, dependant on the wall height, all linked to and changed by a single field. Possibly a Wall Height field located in the custom tab of the drawing properties.
I can pickout each of the blocks and change them at the same time in properites menu because they all share the same parameter name. I would just like to have that height parameter of every block in the drawing, that has that specific parameter controled by a single field. Which I could enter a new height at anytime that would change every block in the drawing to that height.
View 1 Replies
View Related
Aug 2, 2012
We used a bespoke program to convert our drawings to Java applets for web usage. This does not cope with dynamic blocks at present and we have started to receive drawings from our clients using them.
I need to replace this with standard static blocks based on one of two criteria. Either:
1) Replace based on visibility state (have generic chair block with multiple different chair types set by visibility type, need to replace depending on which type it is set as)
2) Replace based on parameter (have table with size set by dimensions, need to replace with static block for each dimension)
View 0 Replies
View Related
Jan 7, 2014
I have over 100 blocks that I need to add the exact same objects and visibility state to. Is there a way to globally make this change, or even to copy the visibility states from one block to the next without having to recreate the states in each block? I thought I had previously run across a routine on here that would make changes to multiple blocks at once, but I can't seem to find it now.
View 1 Replies
View Related
May 18, 2012
The AttSync command does what it advertises fairly well. My problem is that I have thousands of small blocks in a single drawing. (My current drawing has 2100 block references with four attributes in each one.) I may change the attribute values in a few of them and need to re-sync the attribute locations. When I run AttSync it updates every single block insertion. One of two things are desired:
1)Flag each block insertion as having been sync'ed, reducing the number of objects requiring synchronization when AttSync is called again. Provide a way to force all to be sync'ed.
2)Allow a selection set in the AttSync command after selecting the block to sync.
Either or both of these would a great time-saver for those of us with large numbers of blocks with attributes.
View 1 Replies
View Related
Apr 24, 2013
I built a building foundation for a grading plan and I have another building that is the exact mirror of it. I have tried to mirror it. Didn't work. I created a block of the feature lines and inserted it with a -1 x value but I can't explode it. I tried the regular explode and xplode. Neither worked. I can use the the block to draw feature lines over but it just seems so much easier if I could figure out how to explode the block.
C3D 2013
View 2 Replies
View Related
Jan 24, 2012
I have the same block repeated multiple times in a drawing, and I want to delete the last attribute in all of the specific blocks. When I edit the block in block editor, the attributes do not show up. After I explode the block, there is no text. The attached image shows the properties of the block.
View 9 Replies
View Related
Apr 29, 2013
I am using AutoCAD 2013 on Windows 7 platform
95% of the blocks on the palettes have the images associated, and named, per the block name.
I have 48 blocks that the images are named like this "Block tool_F2149212-4649-41F5-95E6-4A978EC376F5_2".
I have tried resaving the blocks and recreating the blocks to no avail.
How to get these few blocks to have images that are associated with the actual block name and not the generic "block_too" name?
View 4 Replies
View Related
Jul 21, 2010
I am currently creating a series of dynamic blocks in order to create tabletop conveyors fro plat layout. I am using AutoCAD 2009 and am currently having issues making the turning sections. I know this is very simple using AutoCAD 2010 as there are geometric constrains available.
The curved sections must be able to have the inside thickness adaptable, the wall thickness must remain 1/2" thick, and the corner sections must have a 30, 45, 60 and 90 degree radii on them (although allowing any angle would be ideal). I was going to use visibility states to achieve the different angles as this seemed the easiest way to do this.
Attached is the basic 90 degree corner with an inside width of 4.5" with leaders labeling the areas that must be adaptive.
View 5 Replies
View Related
Nov 20, 2013
I wish to have a single dimension alter the dimensions in a set of nested blocks, similar to shared parameters in Revit. For example, I have a circle that has a fixed diameter that I wish to control in all blocks. I have set the diameter to barDia so now I wish to manipulate the dimension from outside the block.
Am I able to share the parameter across all the blocks?
View 1 Replies
View Related
Jun 20, 2012
I was trying to alter the standard blocks on the tool palette. How I messed everything up but I basically have two huge problems now.
1. I am missing the necessary default blocks that should be under my edit block directory.....all the Aecb files.
2. Now when I try and put in a receptacle or any other standard block a triangle with an exclamation point shows up upon insertion.
I attached a picture of the "edit block definition" and the troubled symbols.
View 1 Replies
View Related
Oct 1, 2011
I have been working on a drawing with 3 different dynamic blocks for several weeks and everything has been working perfectly. However, all of a sudden this afternoon, the text in all 3 dynamic blocks disappeared and will not display on the screen in paper or model space, and does not print.
As best I recall, I was creating a polyline viewport when this text disappeared.
I cannot turn the text on in these dynamic blocks. The text in on layer 0 which is on, and is unlocked and unfrozen. Additionally I have turned on, unlocked and unfroze all layers in the dwg and this does not work. I have also checked the text layer in the block editor and it is on layer 0.
When I click on any of the blocks, all the information appears to be correct, ie: door numbers, text style, etc. The text, however, just does not appear. Also I have never set any invisible text parameters and when I open the block editor, nothing in the invisible text area is selected or select-able.
Previous versions of this drawing, which I saved yesterday, display all block text perfectly. Perhaps there is a setting I accidentally hit which caused this problem?
I have tried repeatedly turning on all the layers, unfreezing, unlocking, changing parameters in the Style menu. I closed Autocad and turned the computer completely off and back on again.
View 1 Replies
View Related
Dec 12, 2013
how can i separate same type of blocks in dynamic blocks? all layers are same..
View 9 Replies
View Related
Sep 7, 2012
is there a way to make dynamic blocks stretchable similar to a mleader,
the blocks i create are only stretchable by grips, and not by crossing
(i am using linear or point parameter stretches)
View 2 Replies
View Related
Jun 1, 2006
Is there anyway to link standard AutoCAD Grips and there commands to Dynamic Block Actions? I want to stretch an arc by its midpoint grip. This accomplishes something that no other commands do.
View 4 Replies
View Related
Oct 4, 2012
I want to create some symbols which includes text. For example, I have a square with an "F" centered within the square. The problem I am having is when I insert the block into a drawing and rotate it, the "F" also rotates. Is there any way to make it so the "F" is always horizontal no matter how I rotate the block?
View 2 Replies
View Related
Aug 17, 2012
I've just started to learn how to use Annotative Blocks and i'm running into what is probably a very simple problem. I'm creating a block and want to assign annotative scales to it. Once created, I insert the block into the drawing I need to use it in, and the only scale that shows up is the scale that is active when inserted.
All the other scales I added when creating the block are gone and I then have to assign the scales to the block again. I would prefer not to have to manually assign the scales every time the block in inserted into a drawing.
View 4 Replies
View Related
Aug 8, 2012
when I modify a dynamic block, that change persists to all other dynamic block that I have in the drawing. For instance, when I stretch the tail of a section callout, every other section callout stretches as well, which is quite inconvenient as you can imagine. I need each individual blocks changes to be independent of the others.
View 8 Replies
View Related