AutoCAD 2010 :: Creating Dynamic Block With Scale Action
Apr 17, 2013
I am attaching my dynamic block that I am having difficulty finalizing. My goal is to be able to stretch or resize the hvac block, based on the size that is provided to me (ala 24x24, 36x36, 48x72, etc) (Stretch Action), I have that figured out, and I have the symbol in the center that stays centered as the block size changes, (Move Action).
Here is my problem, I want the symbol in the center to stay centered and scale based on a ratio as the overall size gets larger. So for example: if my size is a 24"x24" I want the symbol in the center to be approx 12" dia, but if the size gets up to say 60"x60" I want it to scale accordingly (so it could be like 48" dia), specifically maintaining the size based on the x axis, so if the it gets to a 60x72", I'd like it to still be centered but size according to the 60 width, and not stretch and look awkward. I want the center symbol to scale and stay centered in the rectangle as I scale the size.
View 7 Replies
ADVERTISEMENT
Apr 11, 2013
I have this simple dynamic block that is to change from 4" to 6" to 8" square. I have a linear parameter, 0 grips, and a Lookup function for 4, 6 or 8. It is supposed to scale about the midpoint (insertion point). I have tried both the Midpoint and Startpoint settings for Base Location but it always seems to scale from the far left of the Linear Parameter.
using 2012 LT
View 2 Replies
View Related
Mar 22, 2013
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.
View 2 Replies
View Related
Sep 18, 2013
I'm working on a drawing and I want an action to work on two diffrent dynamic blocks.
In my case, I wish to have two blocks that I can rotate by one rotation grip.
How do I manage to work this out?
View 1 Replies
View Related
Jan 24, 2013
I am in the process of fixing one of our dynamic blocks. It's a fairly simple fix where there was a typo in one of the names of our items in the lookup that needed to be fixed.
I changed the name of the item in the lookup table. I went and did the test block and it seemed to work fine, but when I bring the block into a drawing, it reverts back to the old lookup as if I did nothing at all.
I made sure that the path was correct and I even just dragged and dropped straight from Windows Explorer to no avail.Does AutoCAD keep referring to the old block? Did I forget to change something else?
View 3 Replies
View Related
Nov 23, 2011
My boss gave me a copy of Autocad 2012. I've messed around with architecture 2010 before so the ribbons are no surprise. One thing I have noticed that's really different is the dynamic block constraints & block table actionblock properties table? I looks very similar to the lookup property table
View 0 Replies
View Related
Jul 27, 2011
I am looking to create a dynamic block that changes in scale, ex. If I have two (2) viewports in paper space, one 1/4"=1'-0" the other 1/8"=1'-0" I want my blocks to appear to be the same size in paper space.
Also, I would like my blocks to change attributes/features ex. If I have a "light switch block" I would like to have the option of switching the block from a 3-way switch, 4-way switch etc.
View 4 Replies
View Related
Nov 14, 2011
I have 3 circles, randomly spaced. They will always be the same size. I want to resize them all about there centre points using just one parameter in the properties fly out. I've created individual linear/stretch for each circle, but I can't work out how to combine them.
AutoCAD 2012 Structural Detailing SP1 & Revit Structure 64bit
Win 7 64bit
View 6 Replies
View Related
Dec 12, 2011
Basically, I have a dynamic block with a distance parameter attached to an array command. The array command has a column distance of 30 inches between columns. I need to edit that distance. Is there a way to do it or do I have to start over? I have to start over, I might cry a little bit. There are a lot of other actions compounded on top of this one.
I'll attach the file, but if you edit it for me, how you did it so I'll know? Tech a man to fish and all that nonsense.
Oh, and I'm using 2012 vanilla AC, which has a different block editor than most other versions, so beware. Oh, and I don't use ribbons..
View 6 Replies
View Related
Dec 4, 2013
In my Project I build a static Block by inserting dynamic blocks from a template dwg and then explode them.
Actually I create a new Data Base, insert the blocks from my template, set the according Dynamic Properties, Explode the Block in the temp DB and then wblockclone the resulting Objects in my destination BlockTableRecord.
This works fine, but:
in my source dyn. block there is an associative surface defined by a Polyline(Rectangle) , attached a stretch action to change the size. I can set the Width parameter, after the Explode the polyline itself is updated, but the planar surface is not... so if I explode this block I get a well stretched Polyline and the "base" surface.
Manipulating the dynamic Block works fine... If I have stretched 3D-Meshes, they are ok as well. It seems to be something with the planar surface object.
Dim objs As New DBObjectCollection idsToImport.Clear() If Helpers.Registry.GetValueFromRegistry("ExplodeSubs").ToString = "1" Then ' debug switch bref.Explode(objs) 'the dyn BlockRef in the external (temp) Database bref.Erase(True) For Each [code].......
View 2 Replies
View Related
Sep 17, 2013
I am attaching a rotate parameter and action to a dynamic block.
I get the "Specify base point" bit okay but I can't figure out what "Specify radius of parameter" does.
Do I have to include or exclude other parameters like Flip or Stretch? I get some weird results when I rotate an object with other parameters.
Is it possible to place the Grip in a specific place? It always seems to like to sit on top of another parameter name.
View 9 Replies
View Related
Aug 25, 2011
I use dynamic blocks a lot of the time and most of them have a stretch action in them. What used to happen would be that whenever I clicked on the block I wanted to adjust and then clicked on the stretch action, it would show the distance from the base point and I was able to type in the new length of the object I was stretching. But now whenever I click on the stretch action, it shows that the current length is 0 and it is asking for the distance from the current point, not the base point. How can I change it so that it is always just the distance from the base point?
View 7 Replies
View Related
Sep 30, 2013
How to create dynamic block with array action in both X and Y direction? And I have some conditions there like number in horizontal and number in vertical directions, but on exact distance (like 5 elements on 20 cm).
View 1 Replies
View Related
Feb 14, 2013
I made dynamic block with hatch and strech action and I have a poblem, when I press lookup action 0.5m it strech and i need to text value the same 0.5m. I attached dwg file where i do that.
View 0 Replies
View Related
Apr 18, 2011
On some of my blocks i have started using quiet a few parameters, Although i have noticed on the blocks that have scale and flip, it goes wrong. is there a way i can get the flip parameter to follow the center of the block after scaling?
similar with a block of a door in plan, i have got the rotate working, and the scale to fit the door opening, but if i rotate first the scale parameter don't follow the rotation of the door making it difficult to then scale the block from the using the block parameters!
View 9 Replies
View Related
Jun 3, 2013
I have a new project coming up where I need to write some simple programs to access the dynamic action parameters in some existing dynamic blocks.I have viewed what I could find on AU, but I still ave not found anything relating in-depth to dynamic blocks.
Any good Tutorials, Articles, or White Papers, on working with dynamic blocks with autolisp/ vlisp? The main function is to access a parameter and change it by entering a numeric value, updating the block. say from a linear/polar stretch, or a linear/ polar move.
View 4 Replies
View Related
May 20, 2013
have an imperial graphic scale dynamic block that they wouldn't mind sharing?
View 4 Replies
View Related
Oct 28, 2013
I have created a dynamic block with a stretch, flip and rotate. Everything works great in its file. When I insert it in another file, the grips move but the block does not change.
AutoCAD 2014
View 2 Replies
View Related
Sep 10, 2013
we have a rectangle 0,0 - 200,100 with a triangle inside 0,0 - 100,100 - 200,0
[/] <- for example
A dynamic stretch action is applied to the x of the rectangle, how do you scale/stretch the triangle with the rectangle and only on the x axis, so the triangle remains symmetrical from the middle of the rectangle on the y axis even when the rectangle is stretched?
Looking for a solution that doesn't involve inserting the block and scaling?
View 5 Replies
View Related
Apr 25, 2013
I am currently using Autocad 2014 and I am attempting to insert a dynamic block from a tool palette. I would like to click on a dynamic block in the tool palette and have it prompt for the (uniform) scale. It seems simple enough but either all the dynamic properties are lost or it is inserted at 1"x1" (the scale of my original block). How to get this to work?
View 3 Replies
View Related
Jun 3, 2013
I have a block that I want to show on a vertical exaggeration of 10x. How do I make it so that a block has a Y scale of 10 without the attribute text inside the block being stretched in the Y direction 10x?
I would like to use a Y scale of 10 rather than a block with 10x the length because I have a field that returns a length parameter and I don't want that value to be 10x what it's supposed to be, and it would make things much easier to not have to multiply my values by 10x each time I use the block.
View 1 Replies
View Related
Dec 6, 2011
I am in the process of creating a few really useful dynamic blocks. My problem is I wish to collect them in a library folder so each block is a stand alone dwg file. I know I used to to this in 2011LT, but that was some time ago and I have since changed company and we have 2012LT. I cannot for the life of me remember how to do this.
I have tried to do it the usual w-block way, but when I import them into a new drawing they are actually a block within a block. Is there a better way of doing this?
View 3 Replies
View Related
Mar 28, 2012
I'm having a small problem with creating a flip state for a dynamic block that has 3 visibility states.
The visible/invisible parts of the block won't flip even though I have created 3 flip states (one for each visibility state) and selected all of the parts of the block I want to flip each time.
View 5 Replies
View Related
Jun 10, 2013
I'm having trouble getting my attribute definitions to work with my blocks.
I'm trying to create a tag that can flip around (dynamic) and have a tag number easily entered (attribute).
I notice that I could only get the attribute definition to work during a drawing insertion is when I wblocked out my block and inserted that drawing file. I was not able to insert the drawing file that had the block in it.
I can't seem to make a dynamic block drawing file, and then insert that dynamic block drawing file if I want the attribute to work..
View 4 Replies
View Related
Nov 12, 2012
What I want is to create a block which contains a bit of text displaying the scale (X scale only) of the block. Then, if I change the block's scale it will also update. Is this possible?
View 9 Replies
View Related
Jun 3, 2011
I am creating a dynamic block for our PPart (production parts) callouts on our drawings. It's an arrow with a line, a bubble on top of the line, and text inside that will say P62, P50, etc. etc. This is my first attempt at dynamic blocks.
From the top quadrant of the bubble to the bottom tip of the arrow I've assigned a Polar Stretch parameter so that way when it's inserted you can grab the grip at the top of the bubble and stretch it in any direction it's needed and it rotates around the arrow point.
My question is if there's a way to keep the text inside the bubble to always be horizontal. I guess it would need to rotate in the opposite direction as the bubble when it's being moved around? Or would I have to set it to be perpendicular or parallel to some point.
View 9 Replies
View Related
Dec 16, 2010
How to change the Scale Uniformly property in dynamic blocks accross hundreds of drawings using either/or scripts, lisp, vba or anything else that might do the job.
I just need to open the drawing and select the block (one block per drawing) then edit the scale uniformly property within the block, save then close the drawing and move onto the next drawing.
View 4 Replies
View Related
Sep 27, 2013
Any way to get a scale bar/title block text to reflect plotting at half size?
We use the common (24x36) sheet size for all projects, but when plotting we send out half size (12x18) as well. This means the scale bar reading 1"=40' is no longer correct. It should read 1"=20'. I would like to automate this.
View 6 Replies
View Related
Feb 6, 2013
I'm trying to create a window block with a grille. I've created the block and the horizontal grilles. What I'm having a hard time with is creating the vertical grilles. I would like to set up an array that would take the glass width, divide by 12, round up the value to get the number of vertical sections. Here's the code that I've figured out:
(W/(ceil(GW/12)))
W=Width
GW=Glass width
How do I set up an array with this formula?
View 2 Replies
View Related
Aug 2, 2012
I am using Autocad 2011 and created a dynamic block which turned out fine.
After making a copy of this dynamic block and doing some additions to this new block (added several flip parameters), I found that when I run my mouse over this new block it lags. I have attached the drawing which contains both the blocks. The one on top is the problematic block whereas the bottom one is the one I created first and made a copy of.
View 2 Replies
View Related
Dec 13, 2013
When I use visibility of dynamic block, I found it's a great feature. But when I have more objects involved in it there will be too many states.
If we have 'visibility action' beside 'visibility set' maybe it will make thing better, when use it with lookup table. Each visibility action can has it's own set of objects. Put actions in lookup table to hide and show the set combined with them.
View 5 Replies
View Related