AutoCAD Dynamic Blocks :: Parameters Moving On Insert
Sep 1, 2011
I have a block containing a visibility parameter but the problem is when it is inserted, that visibility parameter is in a different place to where I put it in the block editor.
My geometry is around the 0,0 origin (which is also the base) and the visibility parameter was placed at 0,-25 in the block editor however once it is inserted in a drawing it shows up at 270,130.
No matter where I move it back to, it always reverts back to another position. Every time I try to change and reinsert, I purge the drawing so I know it is not picking up on something else.
But I was wondering if it is possible to contol the insertion of dynamic blocks and it user definerable parameters from a excel-text file.
I am surveying a section of pipework and I need to display the brackets that are supporting the pipes. As there are numerous pipes on top of each other I have decided to show the brackets in plan and isometric view.
I think I have made the dynamic block ok and have numerous stretch/move and scale parameters working correctly.
But the only way that I can see of chaging these parameters at the momment is by manually typing them in the properties tool pallete for each individual block.
So I was thinking that if I can store the correct values that I need for each parameter in the dynamic block on our data logger along with the correct E,N,Z insertion point is it possible for this file to change the parameters in the dynamic block for example, If I have the correct insertion point stored and then have 10 parameters stored with that point for simplicity I store as A=5.00,B=8.00,C=0.100 etc and these correspond with the parameters in the dynamic block will this file be able to alter the dynamic block as the values in the excel/Text file are displayed.
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 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.
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.
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)
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?
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 :
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 )
Creating a dynamic block that contained more than one visibility parameter. I have tried and it wouldn't let me do more than one. I was thinking of using multiple visibility to work through some text or attribute option all contained in one block instead of having 5 seperate blocks. Wanted to combine all 5 into one, just cannot get the multiple visibility to work.
Can we set some rules between parameters in Dynamic blocks?
see the attached file. I want to move the point "A" according to a ratio of the applied stretch. To make it simple, try to keep the the point "A" always in the middle after applying stretch on the dynamic block.
I have two stretch parameters on a dynamic block. How can I link them together? For example if the user stretch one them the other automatically stretches accordingly. I assume 'Parameter Manager' is the key.
I have created a block with 3 different elements (A B C). This 3 elements are totally independents and they can be visible or invisible. Whit only one visibility parameters, there are 7 different visibility states:
xxC, xBx, xBC, Axx, AxC, ABx, ABC
If there are 4 or more elements there are too much possibilities.
I've tried to create 3 visibility parameters, but it's not possible.
¿How can i create independent visibility states for each different object in a block?
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.
Is it possible for a dynamic block to have one attribute which is set to different visibility parameters; eg. i have a block made for a Setting Out Point. I wish to have 4 different locations that the user can place the attribute after insertion of the block ie top, bottom, left, right, of the SOP.
I'd like to modify a dynamic door block I've created so that I can stretch by door leaf size OR structural opening size, but I'm not sure how to do this.
Incidentally, I think the block has some flaws:
- I think the 'center/flip point' is not exactly in the center! - The frame size should be 40mm, not 32mm - The packing zone should be 30mm, not 6.38mm!
I have a dblock I built that has quit of few User Parameters. I know I can put the order I want them to display but is there a way to break them up by a blank line, or maybe subtitle a group of user parameters?
When I create blocks and give them dynamic elements, I often define user parameters in the block table. I have noticed that on some drawings when I open them and go to the block editor to edit them, the user parameters have no name, value, or expression and my dynamic will not work.
I have tried renaming them and putting the expression back in from the parameters manager, but it gives me an error message saying invalid parameter name.
I am drawing a block that containes a number of other blocks which I want to control parametrically. For example. In one block, I have set the diameters of a circle restricted to 10 and 12-mm. I have a second block that also contains the circles which have similar restrictions. I now want to control the diameters of the circles from a single source - similar to shared parameters in Revit. Am I able to share a global parameter between blocks?
Eventually, I want to control a 2D drawing from a table only. Should I be using .Net or AutoLisp for this.
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).
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:
how to insert TAGS in existing dynamic blocks. Is there a way to then make the tag move around so that I can move it anywhere. If too many blocks have to placed next to each other the tags might make the drawing too busy so I want to be able to move the tag around after the block has been placed.
I am trying to insert a block into a drawing that uses dynamic blocks. I want the block to be associated to the dynamic block, so that when I alter a linear stretch parameter on the dynamic block it moves the other block.
I am probably missing something obvious, but have now googled my mind into a numb state and can't make any more progress.
I have a block which I want 2 visibility states. VS1 and VS2 share some objects and not others. I have a linear parameter in each which I want to do a stretch action on. The stretch action in each visibility state acts upon entities both shared and unshared between VS1 and VS2. This doesn't seem to work..
I have a DB with 2 visibility's. I want to put add to tool palette and have 2 tools....one to insert showing visibility number 1 and the other tool to insert showing visibility number 2.
I just have a quick question (hopefully) about an activity I want a Dynamic block to perform.
I have a simple electric switch block (a line with an S over it), that in some cases is enclosed by a simple rectangle. When the switch is enclosed, I'd like the attribute to move further, to keep the spacing the same.
Is there a way to make the attribute move automatically with the display of the rectangle, maybe through some combination of Linear Move parameters, Visibility parameters, and a formula?
My company just upgraded to 2013 from 2012, and we are having problems copying and moving dynamic blocks. As we try to re-insert the object(s) after using the copy or move command, they disappear from the screen. If we save the drawing and restart AutoCAD, the objects are there where we inserted them, but we cannot figure out how to make the objects reappear without restarting the program (Undo does not work).
The objects in question are dynamic blocks created with AutoCAD Civil3D 2012. We suspect this might have something to do with conflicts between the two different versions of AutoCAD but we're not sure. There are 5 or 6 of us who have this problem.
The linear stretch works fine but changing the length affects the position of the tick marks of the polar stretch. If I change the degrees to 0-360 then it's not a problem but I want to restrict to 285-345 deg.
I can't figure out how to move the base angle of the polar stretch with the linear stretch.