AutoCAD .NET :: Steel Beam - Dynamic Block Tables
Aug 9, 2012
I have a dynamic block of a steel beam, with a block table, by which I can change the size etc.
public static void InsertBlock(Database db, string FileName, Point3d InsertionPoint, double Rotation = 0)
{
ObjectId blkid = ObjectId.Null;
using (Database bdb = new Database(false, true))
{
bdb.ReadDwgFile(FileName, System.IO.FileShare.Read, true, "");
[Code]...
the size will change when I select it. The 150UB18.0 is in the list when you call GetAllowedValues for the Name.
How to successfully set a value? I have looked at
GetAllowedValues().SetValue(object value, int index) but not too sure how this one works.
View 4 Replies
ADVERTISEMENT
Jun 26, 2013
is it possible to define more than one block properties table in a DB?
I have a block definition with several attributes. I would like to pick a (predefined) value for each of the attribute. Making just one block properties table means that I need to fill all the possible combinations of these attributes.
View 5 Replies
View Related
Jun 2, 2008
Dynamic block for circular tube steel/HSS. I have attached a block of rectangular tube steel, and would be looking for a block with similar functionality.
View 5 Replies
View Related
Nov 19, 2012
I am tying to create a Dynamic Block of a steel angle of multiple sizes and thickness. I used Dynamic Blocks before and live the idea of changing sizes on the fly with out having to delete and recreate an object.. I got as far as creating an angle of different sizes, i.e.. 4x4, 5x5, etc. and different thickness but can't get the thickness to work with the radius of the angle.
View 2 Replies
View Related
Mar 30, 2011
I'm trying to create a steel beam schedule, that include the bearing height of the beam, but I need to get the actual height of the beam so that it can be plugged into the formula.
AEC Design Services
View 9 Replies
View Related
Nov 6, 2013
I have recently began working with lisp's and am a little out of my league with a lisp .
I am working at an engineering firm. I have had to basicly redraw all the openings since our clients seem to be using wipepout blocks for their doors and windows. Well I want to make a beam lisp that will ask the user to click an insert point, width, and angle then draw an appropriate wipeoutblock with a dashed line down the center to represent our beam then rotate it into place.
View 4 Replies
View Related
Nov 27, 2012
This is my first dynamic block, and I am trying to make a pipe elbow that is selectable for pipe diameter, arc angle of elbow, AND radius of elbow. I got the diameter and the arc angle just fine, but I can't figure out how to do the radius of the elbow. I used a lookup table for the diameter constraints and I used my visibility state for the angle, seeing as I couldn't find a way to accomodate arc angles with a lookup table. What I'm stuck on is the radius bit.
I need to be able to select the radius or the elbow as either 1.5x, 2x, or 2.5x the diameter of the pipe. So for example, if I have a twenty inch pipe diameter, I need to be able to set the centerline radius of the elbow as either 40, 50, or 30 and then have the outside and inside radii fit proportionally. So in the case of a 20 in diameter, I would need one block with one variation that has radii of 30, 40, and 50, another variation with radii 20, 30 and 40, and yet another variation with radii 40, 50, and 60. I could easily make a reverse lookup table to do this for a single size pipe, but in order to do it for each pipe diameter I would need to be able to cross reference the other lookup table to pull the diameter value, and then have the radii respond to that value.
If this is even possible? And if it is not possible, how I could edit the arc angles with a lookup table instead of a visibility state? Because if I could do that I could use my visibility state to do the radii instead. My other options are to create a second and third dynamic block for each variation, or to add each individual radii variation to my lookup table. The latter of which I won't do because that is far too many options for a lookup table that already spans beyond the extents of my monitor. How I could accomplish all three of these tasks with a dynamic block.
Attached is the block as I have built it so far.
View 4 Replies
View Related
Nov 19, 2012
Is it possible to calculate the deflection a steel block will get, just form it one weight. Just use standard steel material, it is only supported at the end.
View 4 Replies
View Related
Aug 30, 2011
There I have an issue trying to show the text I include on a structure steel members. On model space you can see and print that info. But if I go to paper space and put the drawing on a view port the text disappears? See attached. Just jump from model to work (paper space) and you will see what I am talking about.
View 3 Replies
View Related
Mar 5, 2013
I have created a new title block for my company and i have a revision table on it. I use the tabs to go from different paper spaces and i would like to find a solution to where if i enter information on my first page it will automatically copy exactly what i put to the other tables on the other tabs.
View 4 Replies
View Related
Sep 20, 2013
1. What is the easiest way to find points that are not constrained? I get a notice that the block is not fully constrained and its a nightmare going through all the lines trying to find where I need to apply a constarinet.( I can't wait to get off ACAD and back to Inventor.)
2. When I try to save a dynamic block using the Save Block icon under Open/Save, if the dynamic block is not fully constrained, and I click save, when I reopen the block to edit all of my constraints are gone, this has happened twice. Now I just exit by Xing out and saving changes.
View 2 Replies
View Related
Mar 22, 2013
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.
View 2 Replies
View Related
Jun 13, 2013
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
View 1 Replies
View Related
Jul 25, 2012
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 Related
Feb 28, 2012
I 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)
View 9 Replies
View Related
Nov 21, 2011
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".
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
Nov 7, 2011
I 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...
View 4 Replies
View Related
Mar 26, 2012
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.
View 4 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
Sep 18, 2013
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?
View 1 Replies
View Related
Feb 4, 2011
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.
View 9 Replies
View Related
Mar 1, 2013
I 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?
View 9 Replies
View Related
Jun 27, 2013
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
View 3 Replies
View Related
Nov 15, 2012
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
May 29, 2013
I am creating a dynamic block of a conveyor belt it has a set number of widths and needs to be stretchable in length, which I have managed to do. The motor is placed half way down the length of the conveyor and needs to stay centered
I know I need to use the move command and put in a factor of 0.5 somewhere, but I can't remember how to do it.
View 6 Replies
View Related
Jan 4, 2014
I have a drawing with dimensions. Now, I want create Dynamic Block Controlling Visibility with dimensions in drawing with name dimension.
LT-don-TD LT-Kdoc-TD LT-Kngang-TDLT-don-thay LT-Kdoc-thay LT-Kngang-thayLT-don-moi LT-Kdoc-moi LT-Kngang-moiH-don-TD H-Kdoc-TD H-Kngang-TDH-don-thay H-Kdoc-thay H-Kngang-thayH-don-moi H-Kdoc-moi H-Kngang-moi
Then, I use command DAL; I can select dimension want use.
View 8 Replies
View Related
Jul 4, 2013
How do I stretch a hatch in dynamic block? It does not seem to work if I select the hatch along with other lines of a counter block.
View 2 Replies
View Related
Mar 5, 2012
I have an X centered as my insertion point.
When I stretch the dynamic block for a larger area the X stretches but into the next single box but not centered within the double space.
how to get the X to be centered in the box when it is enlarged to a double or triple size?
View 3 Replies
View Related
Jun 14, 2012
Is it possible to mirror a rotation within a dynamic block?
See the attached drawing. I am trying to have two rotations within a dynamic block, but only one grip. When the grip is rotated one half of the block rotates while the other half rotates in reverse. The resulting action would be much like the wings of a butterfly.
I have tried many different combinations of parameters, actions and constraints with no luck. The block in the attached file was as close as I could get. Have I reached the end of what AutoCAD is capable of?
View 7 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