AutoCAD Dynamic Blocks :: Insert And Change User Defined Parameters From Excel-text File
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
ADVERTISEMENT
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
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
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
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
Jul 16, 2010
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?
View 9 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
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
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
Dec 19, 2011
I am trying to insert a Dynamic Block and change it's Visibility State. I can insert the block, and the visibility state changes, however, if I manually try to change it after, it does not change, even though the value has changed. My code executes and returns no errors, so I am assuming that I have done something wrong, or missed something out.
public class MyCommands { [CommandMethod("MyGroup", "Bolts", "MyCommandLocal", CommandFlags.Modal)] public void MyCommand() // This method can have any name {
[Code].....
If I insert my block manually, I can change the states and it works fine, but the code seems to break the block.
View 3 Replies
View Related
Jan 11, 2013
I need to prepare a linked chain araound a defined path. (Please have a look at the attached drawing) My idea is to have one element of the chain defined as a dynamic block and to manually "rotate" one side of the chain element. After that inserting the next element (previously aligning the user coordinate system) and "rotating" the right part again to the next position...
After doing the rotation, the block definition will change and the next block will be "disformed". So far no big problem, but the grip of the rotation parameter will stay there and I am not able to "rotate" the right part back into the old position (0 degree).
View 4 Replies
View Related
Mar 6, 2013
I got a new work and get it done in the next 2 days, but first I need to do this... from a text file (or excel file, I got both) I got 3 columns, 1 one for node number, and 2 other for X and Y coordinates for each node.
So from that file I need to insert into autocad the node numbers as text (using the current style and height) at the point specified by the other two columns, that are the X,Y coordinates which will be the insertion point of text..
View 5 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
Aug 17, 2011
I am trying to make an iPart of a fitting where I can change the "Body type" and it will change all the parameters associated with that body type through iLogic. Really I am just playing around in iLogic to see if this is something worth learning. Back to the point, I would like to change a multi-value user text parameter through the iPart table but I cannot find the paramter in the parameters tab.
Since it is a user parameter I thought it would be in the "Other" folder but it isn't. I do however have the other multi-value user number parameter in that folder, which makes me think that maybe I can't use the paramter in the iParts table?
INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM
View 9 Replies
View Related
Apr 10, 2012
I've some user-defined iProperties in my idw-file. As soon as I set the file to "read-only" (via explorer RMB->properties) these iProperties are not shown on the drawing sheet when i open the drawing. ow to abandon this effect?
View 3 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
Jul 19, 2011
I have found a few things on here, but not exactly what I want. We have a excel spreadsheet with borehole references and coordinates. I need to be able to insert a block according to these coordinates and the borehole reference as the attribute.
View 5 Replies
View Related
Aug 4, 2009
I made what seems to be a very simple dynamic block with text attributes and a few grips attached to stretch and polar stretch actions, but the file size is about 2mb! This is huge... roughly the size of one of our firm's full floor plans. There seems to be nothing purgeable in the file, so I am wondering if this is just the size necessary for the functionality or if I am bloating this somehow.
View 5 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
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
Jul 19, 2013
I made an assembly that adjusted to sized based on some key parameters. These key parameters are controlled by a form in the main assembly. The keys parameters actually adjust the skeleton file, which then drives the frame, then all the parts are adjusted.
after changing these parameters all necessary parts would adjust to size and keep the location constraints. Worked quite well.
The issue now is that, we adopted a new naming convention and this assembly requires all the part files to be renamed. I meticulously saved each part as their new name and then replaced each component in the main assembly. This worked to an extent. The problem that I am facing is that when I saved each part as there new name, the new part retained the linked parameters to the old part. Is there a way to change this link to the newly name skeleton file?
I looked into design assistant for this process as well, but the only changes I think available were to add a prefix or suffix. If worse comes to worse, I can remodel this project but, I am sure there has to be a way to alter this.
attached is a single part with those parameters in the image above.
View 2 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
Jul 18, 2005
Is there a way to create user parameter as TEXT Paramters does not accept the text paramaters . we always have tor create parameters as numbers.
View 9 Replies
View Related
Jun 5, 2013
What I would like to do is find a way to use a dynamic block, which has already been created, and once I put in the proper length, speed, type of conveyor, etc., it will automatically update an excel spreadsheet, for example a power estimate, or cost estimate sheet. Is this possible, if so, what is the quickest, and easiest way to do this?
Also, what formula would I use in excel to link back to the DWG?
View 9 Replies
View Related