AutoCad 2D :: Replace Dynamic Blocks With Normal Blocks Based On Parameters
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
ADVERTISEMENT
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
Jun 20, 2012
I was trying to alter the standard blocks on the tool palette. How I messed everything up but I basically have two huge problems now.
1. I am missing the necessary default blocks that should be under my edit block directory.....all the Aecb files.
2. Now when I try and put in a receptacle or any other standard block a triangle with an exclamation point shows up upon insertion.
I attached a picture of the "edit block definition" and the troubled symbols.
View 1 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
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
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
Nov 12, 2008
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.
View 9 Replies
View Related
Dec 4, 2013
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.
View 5 Replies
View Related
Sep 1, 2011
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.
View 7 Replies
View Related
Jun 4, 2011
I design all of the architectural metal used on most project homes being built in Sydney at the moment.
I draw up balustrade and screening etc.
Basically what I have is a huge collection of complex dynamic blocks that I insert into my drawings, I then change all the variables to suit.
These drawings are then dimensioned, and a parts list manually written out based on the lengths etc of each type of material.
All of these drawings are exact reproductions of what is produced on the factory floor, so it is quite easy to identify the parts, but rather painfull to manually write out a cutting list.
I'd like to add attributes and/or fields for material type and length to each of these dynamic blocks, which update as the blocks are manipulated to the required sizes.
where I get stuck is that there are multiple drawing methods used to create these blocks, and I cannot seem to figure out exactly what I should be naming, and assigning length fields too, or even how to extract or what to extract!
When I extract the data, I get a mess of conflicting and confusing information that is impossible to sort correctly, as I can use the dynamic parameter field for some, but not others, and on others it is a simple line, but on others again they are polylines and the length is useless to me.
I have tried to creat a block with an attribute for each and every individual part, but when I combine these into a complex part and try to assign dynamic parameters as a single dynamic block, the previously blocked and named parts wont behave correctly.
Im not sure if im making much sense here, but in my mind it all seems simple enough, I just cant get it to actually work with my exsiting blocks...
All im really after is a simple BOM, for example, I have a dynamic block with the Style code A0-1, when this is inserted I change 3 different lengths depending on the job. This style code is made up of several components such as a 40 mm square post (coded 40SQ), an 80 sq baseplate (coded PF2) and a 50 x 25 mm handrail (coded HR5025).
I need to extract a length for the 40 sq post, a length for the 50 X 25 handrail and an item count for the baseplate.
There may be 25 of these in a drawing, all at different sizes.
The dynamic block works perfectly for drafting, but not so well for data extraction.
There are over 1100 of these dynamic blocks, created over the last 2 years, and the only missing piece in the drafting puzzle is the extracted cut-list to save a large amount of time, and I just cant get it working.
Is there a methodology I need to learn here? will I need to re-create these blocks to allow for extraction?
I have explained to my boss the theory behind all of this and he is keen for some working examples that the monkeys on the shop floor can read and understand, and Im stuck creating an extraction template that can work, even if just for proof of concept that I can refine over the next few months.
I know ACAD can do this, I know my brain has all the data, I'm just not getting the ACAD>BRAIN interface working here.
View 4 Replies
View Related
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.
View 1 Replies
View Related
Apr 2, 2007
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?
View 9 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
Aug 22, 2007
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.
View 2 Replies
View Related
Oct 18, 2012
See the dwg attached.
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!
View 8 Replies
View Related
Sep 22, 2013
We are looking for a solution to manage the inventory of a very extensive network with mainly linear assets. Instead of a standard database/inventory solution, we would like to manage the inventory from a plan, from autocad DWG. Meaning that all the objects and relations between objects are defined in the DWG, then uploaded to a relational database and used by various maintenance and operational utilities.
how we would define the relations between objects. For example, how would we say that one object is attached to another object? Can you make a reference from one object to another in the attributes of a block? (but it has to be a strong reference, to an ID).
View 3 Replies
View Related
Jan 4, 2012
in order to streamline some of my duties i wonder if theres a way to have a dynamic block not only that can change it's length and the dimension for that length (easy) but will also add features to the part. For example can one be made that when stretching its length that once it reaches a certain length automatically split into two sections and keep those 2 sections equal? Also can it be made to contain a tag that keeps track of the lengths as well as number of joints between sections multiplied by a constant?
View 1 Replies
View Related
Apr 29, 2013
The standard AutoCAD Find & Replace dialog doesn't seem to work on a dynamic block's visibility states. I have quite a few blocks with 8-10 visibilities in each one that I need to change.
View 3 Replies
View Related
Jul 11, 2013
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?
View 3 Replies
View Related
Feb 20, 2012
I'm using the attached lisp to change the parameters of a dynamic block. In particular, I use the function chgdynprop
(defun c: test () (setq oggfreccia (car (entsel))) (chgdynprop (Vlax-ename-> vla-object oggfreccia) "Distanze1"300.0))
The lisp function works properly, because if I select the block from the bar I can see that property Distanze1 = 300.0
View 1 Replies
View Related
Jul 29, 2013
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.
View 2 Replies
View Related
May 29, 2013
I'm trying to create a pline in a dynamic block where the length is determined by two values I would input into properties or as attributes.
The first value 'A' will be a ground surface elevation
The second value 'B' will be a ground water elevation
I would like to the pline to have a length of A minus B.
I would then also like to have mtext (or any other method of display text) to display the values of A and B.
For example, if I have a ground surface of 102 and a ground water of 91, my line length will be 11, and I can display a label of '102' at the top of the line and '91' at the bottom of the line.
I've created dynamic blocks before, but none that have used an expression of two values or having to display inputted values. I'm not really sure where to start with this, or if it's even possible.
View 7 Replies
View Related
Jan 19, 2012
I recently updated our CAD Library to dynamic blocks. In the process of updating our drawings, we realized that we could not use BLOCKREPLACE to replace dynamic blocks with another dynamic block (with new name) once the dynamic element has been changed. I realize that this changes the state of the block and anonymous block names are created.
I need a simple solution so that members of my group can easily replace dynamic blocks with new dynamic blocks.
View 7 Replies
View Related
Nov 20, 2013
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.
View 4 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
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
Oct 18, 2011
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..
View 2 Replies
View Related
Oct 6, 2012
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.
View 2 Replies
View Related
Mar 15, 2012
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.
View 7 Replies
View Related
Apr 23, 2013
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?
View 2 Replies
View Related
Aug 22, 2013
We have a new title block which now contains various fields to automatically populate the drawing number, number of sheets, issue etc. The problem we have is when we go to zoom all or extents on a layout tab it moves the layout to the right each time. If we only have one layout or we use a plain title block i.e. with no fields, the zoom works fine (layout stays put in the center). This is also true if we directly insert a field onto the layout - again no problems.
The cause of the problem only happens when a block containing a field is inserted onto the paper space of a layout and,there are multiple layouts containing blocks with fields.
View 6 Replies
View Related