AutoCAD Dynamic Blocks :: How To Get Divide Command
Mar 11, 2013How to get a divide command with in a dynamic block?
View 3 RepliesHow to get a divide command with in a dynamic block?
View 3 RepliesMy work requires me to create programs for our CNC router. It is done in AutoCAD 2008. To making programs faster I've created series of dynamic blocks. I am attaching a file with one of those blocks.
The file is actually illustrating what I need to do number of times a day. I would like to make the process even faster and more fool-proof. The "old way" in file shows what my current way of creating programs. The "new way" is my attempt to make it faster.
My problem is automatically dividing a line in dynamic block into a variable number of segments that are always equal. Naturally I use divide command after I stretch and explode my dynamic block. It would be much faster if the block would be able to do it all by itself.
My attempt of solving this was to use Visibility Parameter. However, if you look closely at it, you'll notice that if I want to do it for all the possible combinations it will be extremely complicated and easy to mess up.
If only there was a way to have two visibility parameters. Then I'd make one for horizontal holes and another for vertical. Unfortunately I can't.
How to accomplish this? LISP, maybe? Unfortunately, I don't know LISP.
I use wipeout command in creating Dynamic block it shows some problems. When I try to print the drawing the Dynamic objects which is I add wipeout command goes to black color. The problem only with printing, the PDF and plot previews are look fine. I tried so many times..I have attached my drawing file. check out the dynamic blocks and wipeout.
View 4 Replies View RelatedAlmost all of our blocks have dynamic properties and I've made a number of lisp commands that use this info.
How do I stop someone from using refedit command on dynamic blocks? I have a problem with one guy. I've explained to him many times to use bedit command or come see me and I'll modify the block. He continues to use the command
I do not want to use lisp to ruin his day... but I will if this continues. Any setting I can use to stop this and keep me from going to a dark place
Started to play with dynamic blocks now got my head around stretch and tables but I'm looking to use the array command
this is what I want to try to achive
I have a dynamic block which has a array command in it so by simply pulling on the arrow the block will array horizontally giving me multiple items side by side
what I want to do is count the array example if I insert the block and and array to say 12 items side by side then I want to get the value 12 placed into a block attribute which is part of the dynamic block
I can then pull this data out of the drawing into spreadsheet so I can then create a purchase list of items
My immediate thought was to divide the the total length by the width of the item to get me a count but I don't know yet how to get this to work in the dynamic block
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.
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.
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?
i want to divide a helix into number of segments...for this i used divide command..but its not working..what shall i do to divide the helix..no of segments or length of segment is not important.
View 9 Replies View Relatedi want to divide a helix into number of segments...for this i used divide command..but its not working..what shall i do to divide the helix..no of segments or length of segment is not important..
View 2 Replies View Relatedis 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)
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 RelatedI need a function that will allow me to do a "divide" with blocks but I need the single attribute to remain intact.
I need the blocks to align with object and keep the attribute. I did get it to work with constants but the function that I need to run next failed because of the constant. My variable is preset and locked.
How to use the divide and measure command , and also I knew how to change the point style. But after I used the divide command to split my object into 5 parties. I can not click the point I created.
For a instance I have a 10 meters line and I used the divide command to divide it into 5 parties, and so I have 4 points. But if i want to draw some thing on the new point my mouse could not click it.
[URL].......
I cant do what the guy did in the video. when I move my mouse on those points I created I could not connect a line on the point like the guy did.
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.
I have a dynamic block, that represents a stirrup.
I inserted in the block a Block Propreties Table, that have some preset dimensions for the stirrups. The grip of this table I decided to put in the top right corner.
The problem is that I can't make this grip moveable )
See the attachement with the block
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
View 3 Replies View RelatedI 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 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 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.
View 1 Replies View RelatedI need to do some repetitive task on a lot of dynamic blocks, unfortunately, when I open each file, AutoCAD keeps asking if I want to open it with the block editor.
Is there a way to disable that dialog and open the files as normal dwgs?
A hint: BLOCKEDITLOCK doesn't make it, it shows another dialog...
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 :
^C^C-INSERT; "I:/Ionut Mihaila/Goodies/SURUBURI.dwg/M12"
Now obvious that doesn't work, but i think it shows clearly what i want to accomplish. So is there an other way to do this?
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?
I have successfully created a dynamic block. I can insert it into AutoCAD, and it behaves like I want, except for one thing.
I can select the block and change it by taking a grippoint and place it at another position. So my block is e.q. stretched, just like I wanted.
But then. When I want to use the ordinary STRETCH command of AutoCAD, I can only stretch the insertion point of the block, but not the grippoints. Is there a way to set a grippoint to be select edable by commands like STRETCH.
What is the variable to change the dynamic grip parameter size and color.
View 3 Replies View RelatedI'm working on a dynamic door, that has specific parameters to change its size and orientation. Everything works pretty good, only the arc for the door won't react the way I want it.
View 8 Replies View RelatedI would like to create a "wave" dynamic block, see below...
It is made from wipeout.
Is it chance to make a similar?
If I make a list for the length (from 125 to 350), after can I make a table /list /summary where these size are shown?
Why the drawing title in my dynamic block will not scale up or down. The rest of the objects scale properly but just this the drawing title text attribute will not follow suit.
I tried adding position point and link, etc....I run out options and don't know how to fix this.
LT 2012 user
AutoCAD LT 2012
Windows 7 - 64 bit
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).
View 9 Replies View Related