AutoCad 2D :: How To Make Blocks Change Over Certain Height
May 13, 2013
I have a dynamic block of some door hinges. Depending on the height of the door, depends on the type & quantity of hinges used. I was wondering if it is possible to have a block that detects height? If I insert the hinge block onto my drawing, and snap the base point of the block to the bottom left of the desired door, stretch the pick point to the top, I would like it to automatically change from 2x small hinges (for doors under 312mm high), to 2x large hinges (for doors under 1000mm), and finally to 3x large hinges (for doors over 1000mm)?
I have attached a PDF for visual reference to what I'm talking about.
I've got a block that I want to scale in pspace, but I would like the attrib height to remain constant even at different scales. I have used annotative blocks in vports with much success, but I would like to do the same thing only in pspace.
I'm trying to create a dynamic block that stretches between a minimum and maximum height. The block I'm trying to create is an "Acrow Prop" which has a height that ranges between 1050-1830mm. Is there any way to set a function that will stop stretching out side of these figures?
I am creating an upper cabinet which has a fixed height but you can select different widths. What our firm does is also list the size of the cabinet. What I would like to do is make this font some sort of preset attribute and control it with the visibility states. I also want to control the font height by the scale of the drawing. my question is I if its possible and how? I've attached what I have thus far. The attribute is in teh top right corner and is justified as top right. The only way I can get this to work is if I manually adjust the font after its inserted into the drawing.
I am trying to change the height of the points. "pntelev layer" all at one time. The drawing was giving to me by our surveyor, and I am having a hard time finding a command to edit multiple points at the same time.
I can select one point and utilize block editor to change the height, but is there a way to select multiple points and edit all of them at one time?
I am using AutoCad 2012 and I believe that is one of my issues, b/c in the past when using Civil3D I had a points tab, and that is where we went to edit things like this.
I have recently upgraded from LT06 to LT09.Why am I having trouble changing the text height on my dimension? I used to be able to double click on a specific dimension and change the text height to anything I wanted and than using the "match properties" icon change all the others.
how to change the MText Height property in vb.net, i used the below code, Dim mytext As New MText mytext.Contents = txt mytext.height = 130 mytext.Location = Pt mytext.Attachment = AttachmentPoint.MiddleCenter But it is showing an error that Height is an invalid method.
im drawing by using spline and cannot extrude into solid after I change the height along z axis..how can i make it into solid? here my drawing.. i try using loft but also give surface loft
I am having trouble with changing the text height of attributes in a block. I know that I can normally use BATTMAN and ATTSYNC to change the text height, but those are not working in my case.
I am using a point parameter and STRETCH action to enable my attributes to be moved, while the main object stays in place. When the attributes are not tied to the point parameter and I use BATTMAN in the block editor, the block will insert with any changes to attribute text height. When they are tied to the parameter and I use BATTMAN in the block editor, the block will insert with the attributes at the text height that they were created at. The only way I can change the text height is to use BATTMAN in model space.
I can work with this, but it would be easier to use BATTMAN in the block editor since my attributes are aligned vertically and changing the text size ruins the spacing between them. It would be much easier to both change the text size and respace in the block editor.
Is it possible to change the text height of a drawing view label through VBA?
I have tried to change it by creating a new text style manually with the text height I require and then through VBA set the view label to use that style.
The View label takes on the new style but does not change the text height.
I have tried to use 'StyleOverride FontSize=' but I have text that is multi lined and using this command converts all my text onto one line.
Is it possible to change the text height of a drawing view label through VBA?
Below is my code so far,
Sub HoleDetailSheetLabels() ' Declare the Application object Dim oApp As Inventor.Application ' Obtain the Inventor Application object. ' This assumes Inventor is already running. 'Set oApp = GetObject(, "Inventor.Application")
When you make a custom table in VB.net, adding in the Row Height property in the custom table create line only changes the data cell row heights, not the title cells or the header cell. How do yo do set the title/header cell row heights ?
I found this script that makes the selected objects the same width AND height. I am very new to creating scripts. is it possible to modify this to make an object the same width leaving their heights the same?
mySelection = activeDocument.selection; if (mySelection.length>0){ if (mySelection instanceof Array) { goal=mySelection[mySelection.length-1]; for (i=0; i<(mySelection.length-1); i++){
Why there is no infill when there is a hight elevation change? the path is a "building pad", and I'm pretty sure normally it's filled with dirt....Did I do something with the site setting?
I'm trying to make a layout for a site that requires the height in the file name.So I was wondering if paint.net had a function similar to this picture (photoshop) or is there any other way to measure height?
I'm building a PEMB frame family partly to teach myself and because none of the ones I could find online match the ones I'm working with. It's been a bumpy road but I've gotten the family to the point where there are parameters and elements for the flange, web, baseplate & girts.
Where I've run into a problem are the bracing flanges. The flange at the top of the column was simple enough since it's always horizontal but the beam braces are all 90 deg to the top chord. Any refrence plane or reference line drawn from the intersection of the bottom & column chords to the top chord does not move with the other chords when the family types are changed. I applied a 90 deg angular dimension constraint between the top chord and the bracing flange but when I change the pitch of the top chord by increasing the Ridge Height Revit gives me a warning message that the constraint is no longer satisfied instead of rotating the flange!
I have attached my current block that I use for labeling my details on sheets. I'm trying to learn how to make dynamic blocks and I'm not having the best of luck just yet. What I'd like to be able to do is make this block dynamic and make it so that it has a list of scales that you can pick from. When you pick a scale (say 3/4"=1'-0") it will automatically fill out the "scale" attribute.
Another thing I'd like to do is instead of having to use %%U to underline the title, I'd like the little line attached to the circle (delete the underline and you'll see it) to stretch automatically with the length of the title text.
really simple this but I want to change the colour of some blocks. There are already some of this block in the drawing, but I am adding additional ones and want these to show up by changing the colour to red.
The blocks have been created in Layer 0, and inserted on another layer. When I highlight the blocks in question I can change the colour to Red, but even though the ribbon says otherwise they are still appearing in the original colour.
I have about 100 blocks. They are different in many ways, but all have multiple linear distance parameters, and these have the distance max set to lengths (all of them have different lengths).
I'd like to be able to change the distance max without having to open each block and do this manually.
Is it possible to export block info into Excel and then change it in Excel, and reimport into AutoCAD, saving the new information?
Or is there another way, through Lisp or some other part of AutoCAD that I don't know about?
I have a couple of blocks I've drawn in the wrong layer. I manage to get them over into the layer I want, but the color remains the same as the layer I drew them in. Do you have to go in an change it to a set color instead of "color by layer", or is there another way?
I produce windows and doors. and I reproduce the same drawing in the attachment a lot.
Is there a way to make it a dynamic block where I change the three dimensions in the drawing and the whole thing grows or shrinks symmetrically and proportionally?