AutoCAD Dynamic Blocks :: Changing The Anchor Point
Sep 10, 2013
I have a interesting problem with Dynamic blocks that have been created in AutoCAD 2007. The issue that I have is with the anchor point that is set by AutoCAD when creating the block, and whether or not I can assign a different anchor point.
The block that has been created is a dynamic block to designate parcels, and contains the APN (Assessor's Parcel Number, which is hidden), Acreage, a circle, and a digit that displays within the circle. When the block is imported to a drawing, the anchor point itself is NW of the block itself (the distance varies by the scale being used), and I would like to have the anchor point at the south quadrant grip of the circle.
The anchor point poses no problems when being used in AutoCAD, but when the blocks are imported to GIS, the anchor point causes the blocks to snap to the anchor point, rather than where they are placed physically within the AutoCAD drawing. This is a fairly simple fix in GIS, which simply entails moving the highlighted points in to the proper position, but it is a step that I would like to eliminate.
I wish to create a dynamic block containing some attributes. These attributes are inside rectangles that can't be modified in length using linear parameters ; but the attribute has to be always in the middle of the rectangle. So, I draw a line inside the rectangle (in a hidden layer) and insert the attribute with center justification (not sure for the translation) that I place in the middle of this line ; then I put a coincidence constraint (not sure for the translation, but it's the first one) linking the middle of the line with the middle of the attribute.
But here's the problem : when stretching my rectangle, the insertion point of the attribute suddenly changes from "center" to "bottom left".
I have a dynamic block with several actions and parameters. There are three grip points. Two are visible. One appears when you move one of the other grips. If i insert or paste this block near my template, the X/Y basepoint stays near the template when i drag the block on the template with one of the other two grips.. When i print the drawing the basepoint stays visible and the scale on my printed drawing is not correct (smaller).
I created a dynamic block with a polar stretch. I insert the block, then have to select the grip to rotate/stretch it. Can it be inserted and then rotated/stretched all in one action? The insertion point is at one of the line and the polar stretch grip is at the other end.
I was wondering if it is possible to use dynamic blocks to stretch a rectangle evenly, using only 1 point? I have attached a PDF of a rectangle with 2 lines coming out of each side (before & after picture). I want to use dynamic blocks to pick a point at the top right of the block, so that when I pull it out, the lines will extend, but stay attached to the rectangle. I also what the rectangle to stay in the center at all times.
The top view is the standard block with the base point as shown. This "Base Point" is the center of the rotating axis.
Issue: After rotating the "1st Point" then rotating the "2nd Point", the Center axis of the "1st Point" moves. Is it possible to perminetly have the "1st Point" rotating axis stay in its original location?
I have a dynamic block symbol. It is a circle with two separate attribute elements at its side, with a line horizontally between them. No, this line is not a text underline; it is a separate line element that in one visibility state of the block must disappear.
My best results for blocks come when the element color of a block's geometry is set to "ByBlock" (attributes I leave as "ByLayer" color), and all of my elements, no matter what, I place on Layer 0. But in the case of this line, it always ends up matching the symbology of the block geometry. This I do not like.
When I insert a block, I use Attribute Editor to change the attributes' layer to the project's appropriate text layer. That way, in case I have to freeze a text layer, the attributes disappear also. What I want is for that line to be able to do the same.
Can an element's layer somehow be dynamically changed to automatically match the layer of another element, without having to Block Editor the block every time this is used from project to project?
I have a block that has a portion that needs to rotate up to 90 degrees. The problem is that it has parallel lines that create a bowtie when rotating. I've tried everything with constraints to get this block to work, but I just can't keep it from creating a bowtie when rotating.
In "test" mode, this block works well except for the point of the arrow. If you stretch the line under the title, then move the arrow point to somewhere else, then flip it, the arrow point and its associated grip needs to stay put.
It actually does, the first time. BUT then if you move the arrow point again and flip it again, it does not.
Then, when I inserted it into another drawing, either with "insert" or via SSM, the flip doesn't stick to the point even the first time.
So I guess my question is how to flip it but keep the point where it happens to be when the flip occurs. Like a multileader, because what I am actually trying to create here is a multileader that has an annotative block with attribute fields, to be used with SSM.
I have created a bunch of templates (title block type drawings) for my company. In these templates there is a dynamic block used for a particular note. Based on customer number, this note will be changed.
We have a program that will insert the correct template based on the drawing type. It will know the customer number and change the dynamic block visibility state to reflect the correct text in the note.
Here's the problem; I don't know why, but sometimes the visibility state does not change. It's not the code as it works just fine in some drawings.
I've gone in and just changed the visibility state name, then changed it back, then saved the drawing and it worked. In some cases, I've also just gone into the template and deleted the dynamic block and re-inserted it, and it began to work again.
Having trouble with dynamic block visibility states not working when using an automated process?
I want to create a dynamic block with multiple visibility states. Each of these states will have it's own attribute for users to enter in information. Is there a way to have the attribute automatically prompt for entering information upon changing the visibility state? That is without hashing too much into the API and code?
Then maybe even go a step further and clear out existing attribute information if the visibility is changed?
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.
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.
Having a lot of issues manipulating points on paths in Illustrator CC - this is a fundamental feature of creating vector graphics and it's very annoying I'm paying for this and it's just not working. Eating up a lot of my time simply because I can't select or convert or add the anchor.
I have a shape in illustrator CS6 that I'm trying to edit. When I try to click on a point with the Delete Anchor Point Tool nothing happens however I am able to select the point using the Direct Selection Tool and then remove it using the "Remove selected anchor points" option in the Control palette. Same issue with trying to use the Convert Anchor Point Tool.
So I've done a reasonable amount of work with dynamic blocks. I have a block with a rotation action and grip to arbitrarily align it. However I realized when trying to combine it with an alignment grip (which actions on the basic or fundamental block rotation angle) that there didn't seem to be a way to some how link a dynamic block rotation action or one of the custom angle properties to a the fundamental block rotation angle. Thus there are two additive rotations at work; the dynamic block one with its grip and the fundamental rotation property.
This can cause some confusion when one person aligns with the grip and another via rotating the block's fundamental property and would also be problematic in the generalized sense if one was trying to select or programmatically read back the net angle alignment.
new to dynamic blocks but looking to streamline my wiring diagrams here and have created a block that shows the typical wire styles we use in a simple easy way. I now want to add an overall flip to the entire block and have not been able to find set this. I would prefer to use the same label and go from there. I have included the block to show what I mean. It is only working on the single visible item at the one time. I know this has to be possible just let me know what I am doing wrong. I am running AutoCad LT 2013
I need to create a dynamic block for a "Glass Panel" in a balustrade. I need to be able to insert it, in one corner and stretch it in another corner, to suit the staircase angle.
I've created the block, but it isn't working correctly. I've attached a drawing, with the left hand drawing a sketch of how it needs to be. The right hand drawing is my dynamic block attempt. As can be seen, when the block is stretched between the 2 points, it doesn't follow the angle of the staircase correctly (Very slight run off)
I am looking for a way to use the ATTIN/ATTOUT workflow to bring in data from an excel spreadsheet to drive the size of each of my block's instances. The block will be simple, a rectangle, with width and length parameters. For each entity in my excel/csv file these parameter values are spelled out. I know how to display these parameters in my attributes, but I don't know how, if I were to feed in these values, to drive the geometry. If there's a better way to take a list of width and length values to generate a series of blocks each with a rectangle containing its respective size.
usage of dynamic title blocks with visiblity states and defining page setup override templates which use same for quick plotting using sheet sets.
I have attached a simple dynamic block that I built which is the outter frame of our company title block, it is designed to allow users to quickly switch between Landscape and Portrait orientations.
The problem I am having is when I go to define page setups for my Sheet Set Page Setup Override Template I am unable to use the "Extents" option with auto-center because the "Extents", as defined by the page setup, includes ALL objects in the paper space regardless of visibility, so my title block ends up being centered in a stupid way if that printing configuration is used.
The only solution I have found is to use the "Layout" option when defining page setups, but this option produces other issues in other ways when printing. I don't want to use the "Window" option either for the potential for users to be using the page setup overrides to print drawings using different paper sizes or drawings that were not originally created using the current template the override is designed to accomodate.
Is there perhaps a system variable that defines whether invisible objects are included in the "Extents" setting in the page setup? I'm sure you'll all agree that Extents is the way to go in this situation, but it is not performing exactly as required.
I'm trying to make a dynamic block of a column radiator.
It should be very simple. It's a 46mm wide module that comes in a range of heights (300, 500, 600, & 750mm) and a range of assembly widths (9, 13, 18, 22 & 27 modules wide - more commonly given as mm widths of 414, 598, 828, 1012 & 1242 respectively).
My attempt at constructing it has gone quite well, but when 'stretching' the block a ghost of the core 414 (w) x 300 (h) unit remains. I attach the block to give you a better idea of what I mean.
I have a drawing ("SURUBURI.dwg") with several dynamic blocks ("M12", "M16", "M18" ... an so on...). I want to insert in my current drawing, one of the blocks from SURUBURI.dwg, for instance the block named "M12".
For that i tried creating a new command "INSERT_M12" that has the following script :