AutoCAD Dynamic Blocks :: Creating Array Within Block That Is Setup With Constraint Parameters
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
ADVERTISEMENT
Nov 21, 2013
I'm currently creating blocks for our office library. One of these is a grille with some apposed blade dampers on it. I'm trying to set up an array that will duplicate the apposed blades as I change the length of the grille. However, it will only copy the blades in pairs, not singly one after the other. Ie, the blades are 100mm apart, and in a / pattern meaning that each instance of / or 'should' duplicate every 200mm. Except when I lengthen the block by 200mm it won't duplicate until I've gone double the distance (400) when it gives me both / and .
View 8 Replies
View Related
May 5, 2012
I have a block of a roof screen. What i want to do is to stretch it & have the slats on the front & also the supports on the rear array @ different intervals. The slats on the front would array every 6-1/2" (The slats are 5-1/2" wide with a 1" gap). The supports array every 4'-0". I have tried to do this multiple ways with mixed results. How to get my desired outcome. I am enclosing my block.
View 5 Replies
View Related
Dec 4, 2013
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 Related
Feb 28, 2012
I'm attempting to use Excel to take data from a drawing and give me purchase and cut lists.
I have successfully pulled the overall measurement from my dwg, and inserted it into a workbook. What I'd like to do now is to have a count of how many times the array function went into effect. For example, attached is a file containing a block called platform. When stretched, it inserts toggles every 2'. When I export the information from my dwg, I'd like for the program to not only extract the length, but how many toggles were inserted for each platform.
View 1 Replies
View Related
Jul 31, 2012
I need this block to do the following:
1. Move the right piece so it ends at 3', 4', & 5'.
2. the move right hook and 'backing' to stretch/copy (or array) so it adds a hook to the right and fills in the backing.
so this means that a 3' gets 4 hooks, 4' gets 5 hooks and 5' gets 6 hooks.
3. the block as shown is the smallest configuration with 3 hooks.
I could just set up a visibility and draw each one at it's appropriate length but I'm trying to keep this simple block to a min size. If all else fails, that's the route I'll take.
I've tried a couple different configurations and I keep getting duplicates or the end piece doesn't move the correct distance.
View 3 Replies
View Related
Nov 27, 2013
I have a block that when I extend it, a new 10' section is added. It will only add the 10' piece (array). What I am looking to do is find a way so that once I hit a total distance have it switch the part that it adds. So I have like a rail, I keep adding these 10' pieces and then once it hits 40' I want it to add the end piece which is different.
View 1 Replies
View Related
Dec 19, 2013
I've made this block . when i rotate the vertical line I need to add lines every 15° as you see in the image, i've seen that polar array is not possible in the dynamic blocks.
View 8 Replies
View Related
Apr 23, 2013
I am trying to create a dynamic block that allows me to insert a single rack into a drawing and make a single row of racking with all racks staying 9'-0" center of post to center of post. Also would like to be able to turn that one single row into a double row that spacing between rows can be modified. I have attached a cad file showing a single rack and two example, one of a row of double racks and one of a single row of racks. This rack is 48" deep i will also have to create this for a 60' deep rack so how i can create future rack sizes and rows.
View 1 Replies
View Related
Jan 29, 2010
Is it just me or do the actions associated with parameters disappear on occasion from the block editor? Sometimes a regen will make them reappear, other times not. Closing/opening the block editor is one way to make them visible again (worked a few times at least).
View 6 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
Nov 21, 2013
I have created a small dynamic block that manipulated some lines (attached). The properties table allows s1, b1, b2 and c to be modified. The white lines control the cyan and red.
The red-lines have an array within (green lines) which I want to lock to the blue line parametrically. The array may be dragged physically but thats not the point; its need to be automatic (Revit style).
View 3 Replies
View Related
Nov 24, 2013
I have been trying to get my 2D parametric model to work and am having trouble with the array.
I attach the model. When I alter the span in the properties palette, I want the array to follow. I do not want the grip to show as I eventually want to program the dimensions externally.I do not mind using AutoLisp or .net if I need to control the model using code.
View 9 Replies
View Related
Dec 13, 2013
I'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 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
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 12, 2013
I realize that i don't understand how to use constraints (specifically how to "fully constrain" entities) in my dynamic block.
attached is a sample of what i've got. (note the small circle at the insertion point that has 4 lines in it - i used these to base my angle constraints on)
upon inserting the first instance, everything behaves as i'd like. but once i stretch out the bubble, it seems to go back and automatically update the definition so that the next instance i insert is using the first instances dimension as the starting point.
View 2 Replies
View Related
Oct 30, 2013
I have been working on a dynamic block that need to look like the attached jpg. Basically it needs to be able to stretch up to 50'-0" but in ten foot segments (part size limits) +/- an additional but in 1 foot increments.
I've got two blocks that will either array or stretch. But have not been able to get it to match the actual requirements. I have attached my current block attempt. Also as you can see from the jpg, the support posts usually alternate as well and I haven't figured that out yet either .
View 9 Replies
View Related
Apr 3, 2012
Is it possible to modoify an array on the fly?
I've been playing around with an incrementing block, and have figured that you can get an attribute block to report its position relative to its origin inside a block,and have it report that back. If you can do that and do formulas, you could then have that creating an incrementing number. If however you were to want to use such a block for counting stairs or alternatively counting car parking spaces, and want to get the spacing of the array just right, you seem to have no choice in the size of array other than when editing the block?
Attached is what I have simply created. No calculations, just reports the position in X, but shows the possibilities. Stretch the text out and you get more numbers.
Time consuming to create alternative is to have to define each number object individually and do a move action, based on something like an object being stretched (length of stretched object becomes part of a multiplication factor for a move action). See Numbers increasing block attached. More precise but takes a while to create, and is limited to the numbers shown.
View 7 Replies
View Related
Dec 14, 2012
I'm using a 2-2D recangles that are 5'x16" and 10'x16" and I am trying to figure out how to array this in one direction, to the left, but have the array on 5' increments. Also, within each rectangle I am needing text to show which size it is.
e.g. If I drag the array to the left more than 10' but less than 15' it will apply 15'.
View 7 Replies
View Related
Jan 22, 2012
I have been trying unsuccessfully for several days to achieve a stable setup for the attached. This is the closest I have been able to get so far but as you can see if you change the width then the rotation parameter, the stability of the block very quickly breaks down.
The problem seems to be associated with the move action which determines the center point of the angle parameter. It seems to only work properly when you change the width parameter and the rotate handle is in the 180deg. Any other position of the angle parameter results in incorrect alignment of the geometry.
View 2 Replies
View Related
Jun 3, 2013
I have been looking for about three days on how to do the array with-in the dynamic blocks, but have been very unsuccessful. What I am trying to do is make a TJI joist that you can have a look up table that is classified as 'offset' so that you can eventually strech the joists to standard spacing, and use the array to work. So that I dont have to have a ton / zero visibiliy states.
View 1 Replies
View Related
May 22, 2013
i work at a small structural firm and am about the most experienced cad user here, which isn't saying much. I have never wrote any LISP's or anything, but have created many dynamic blocks and have edited some programing my boss got from a previous employee for adding dropdown menus with blocks/layers/etc. Just so you know my level of knowledge when it comes to answering my question. Also I am limited to using 2009 but other co-workers have up to 2013 so i would like this to work for all users. And i have done a bit of research but based on everyone elses level of knowledge am finding a lot of conflicting info and solutions that, to me, are in another language.
So I have a table that is created using polylines and text. It's a funky shape and AutoCAD's tables are a pain for it. i have created a dynamic block where i can array the rows down and the columns left. The issue is, i would like the test to come with each row, but still be editable once the block is done. I have figured out if row one is composed of 5 columns of text put into a single attribute, it is fine. But once you use the array action, to say 3 rows (including now 3 sets of attributes) they are not editable. So what is the work around, if there is indeed a work around?
the two option i see are to only array the rows and columns and left the text outside that block and manually copy it done to how ever many rows the user needs.... Or to have 2 blocks come in together, one as described before, and the other which just arrays the text and then i explode it to edit each line.. but then if you later choose to addd another line you would be left with doing that manually anyway..
View 2 Replies
View Related
Nov 6, 2007
i made a simple little chair block , that can be dynamically pulled into theatre seating.
I am trying to get the "Count of Objects" revealed as mtext or an attribute in the block.
It seems that doing area mathematics on the total array size divided by the individual column/row sizes will give me the correct count.
Any recommendations on the "Field" that will work with this?
View 6 Replies
View Related
Jun 22, 2012
I have a series of logos that we use. I would like to have them setup in a dynamic type block that would allow us to select the block and choose from a pull down that logo to use.
I have see it done before just don't know how to replicate it.
As you scrolled through the choices as each one was highlighted it would display that one on the screen.
View 5 Replies
View Related
Nov 22, 2012
In the attached block, how can I contraints the red line to follow the end of the attribute text?
View 3 Replies
View Related
Mar 12, 2012
I have a dynamic block that I am trying to add some pretty basic functionality to (at least it seems like it should be simple!). Since I’m still relatively new to DB’s, I figured I’d give some background on what I’m trying to do, cause maybe it could be done with a much easier approach than I have come up with. So if you don’t feel like reading the details, see the fourth paragraph for my actual question.
The block is a sheet reference annotation (that shows: SheetNum/TotalNumOfSheets) that we typical put in the notes section of our construction drawings. It looks nice when the text (which are attributes), lines up with the text in the note (usually Mtext, but sometimes a Mleader). So I constantly find myself completing the tedious task of placing the block at the insert point of the Mtext (which is always justified LEFT TOP), and then calculating the distance down to line that I want the block to line up with.
So what I want the block to be able to do is to be able to have the user grab the block by its basepoint, place it at the insert point of the Mtext object, and just enter the text height of the Mtext note, the line space factor, and the target line of the note that the sheet reference block should line up (the input would all be done via custom block properties in the Properties Palette). And since we almost always use a text height of 0.125 and Line Space factor of 1, those will be the defaults, and really the only thing that would need to be entered would be the line number of the Mtext that the annontation should line up with.
I already figured out most of the constraint parameters necessary and calculated the offset equation using custom parameters. I have all the linework moving correctly using the vertical constraint parameters, however, I cannot figure out how to get the Attributes to move along with the linework. I know how to move text and attributes using Action Parameters, but I can’t do it with Constraint Parameters. So I figured that maybe I could chain an Action Parameter to the Constraint Parameter, but I couldn’t figure out how to do this either. Also, I am using visibity states and would like the visibility grip to move along with everything else as well.
My block is attached. I used some lines for the Constraint Parameters to be associated with, but they are only there for the block to operate correctly, therefore they are invisible in both of the visiblity states. Probably not the best way, but it works.
View 5 Replies
View Related
Aug 12, 2013
I'm trying to create a block for angled handicapped parking stalls.
I used an array chained to a stretch in order to increase the number of stalls. It worked but for some reason it does not work in all of my visibility states. In some visibility states the array and stretch do not stretch together. The block should end with a stall but some end with a line and no stalls above it.
I attached a drawing with the blocks. The block named "STALLS-60-HANDI" it works correctly except in visibility state 9' and in "STALLS-60-4space Handi" it only works in visibility state 10'.
rename to dwg . fire wall would let dwg posting
View 4 Replies
View Related
Mar 16, 2012
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
View 6 Replies
View Related
Sep 25, 2009
I've been trying to create a stair block that will automatically adjust the riser height to to suit the total vertical rise of the flight, but am having issues.
I drew two 'tread/riser' Plines, and constrained the daylights out of them. By stretching the grip for the 'Total Rise' constraint, the risers adjust nicely, while the treads remain at their desired 11" depth.
My problem is that when I try to create an array of the tread/riser, (using a linear parameter aligned with the slope of the stair) I can't get the 'column' width to change as the risers change height. Instead the value remains constant, and the arrayed copies don't connect with each other.
Any way either to fix this so that that the copies connect 'head-to-tail'?
View 9 Replies
View Related
Nov 29, 2012
I have created an elevation of a railing with stretch and array actions, however I have not been able to figure out how to center the array'd picket on the top rail. I've added a move action to the main picket in order to manually center after the railing has been stretched between the two posts...however I'd love to have this automatically centered.
(I originally thought I could have the main picket stretch at 0.5 (so it would be centered), then array in two directions, however there is no angle option on an array paramater).
View 8 Replies
View Related