AutoCAD Dynamic Blocks :: Constraint Red Line To Follow The End Of Attribute Text

Nov 22, 2012

In the attached block, how can I contraints the red line to follow the end of the attribute text?

View 3 Replies


ADVERTISEMENT

AutoCAD Dynamic Blocks :: Line Length Follow Content Length Of Attribute

Mar 16, 2012

I was wondering if there is a way with DB's to have a line "follow" or "grow" with the content/value length of an attribute. Maybe some method of linking the attribute width to length of the line? Essentially, it would work just like turning on the underline setting when typing in mtext editor (or any program with an underline option for that matter), expect that the line could be placed anywhere, and would not have to reside directly below the text.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: How To Move A Line In Relation To Bottom Center Of Attribute

Apr 26, 2012

We have a title block wherein the Location attribute is normally a single line, but occasionally is two or more lines. Within the title block this attribute is surrounded by lines, left, right, top, bottom.

We would like the bottom line to move down when the user adds additional lines to the attribute.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: With Attribute Text - Set Constraints?

Aug 27, 2013

I am trying to set constraints to this block and having some issues. I want to constrain the attribute text so when I stretch the block from the grips the text centers itself automatically within itself. The constraints will not let me pick the grip on the attribute text as a point.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Stretching Multiline Attribute Text Box

Aug 24, 2011

Attached is a block that I use a lot. Originally I had two separate single line text attributes for the "title". I modified it to have a single multiline text attribute instead. I want this attributes text box width to stretch along with the line below it, so that long text strings will automatically adjust to single or multiple lines as necessary and not run off the end of the line. As it stands now I have to stretch the line and then adjust the width of the text box to match.

Also it would be nice if the bulk of the text would stay on the bottom line and only the "overflow" would move up to the next line.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Alignment Flip - Backwards Attribute Text

Feb 6, 2009

I have been trying to convert my offices blocks to dynamic blocks and this one is giving me a hassle.

Essentially we have a line with an arrow at the end of it to show drainage pathways. I added a multiline attribute so we can add the percentage along the line with a mask. The line, arrow and attribute all need to be able to be aligned perpendicular or tangent to a given line. Everything looks great until the arrow flips sides to work from the other direction and then the text is mirrored backwards.

Mirrtext is set to 0 and I even tried it while in the Beditor to see if there was independent. Multiline or Regular attribute have the same effect as well as if they are locked position or not.

I tried adding a flip, but then the mirrortext settings work just fine and the text won't flip back.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Scale A Block Vertically But Not Attribute Text?

Jun 3, 2013

I have a block that I want to show on a vertical exaggeration of 10x. How do I make it so that a block has a Y scale of 10 without the attribute text inside the block being stretched in the Y direction 10x? 

I would like to use a Y scale of 10 rather than a block with 10x the length because I have a field that returns a length parameter and I don't want that value to be 10x what it's supposed to be, and it would make things much easier to not have to multiply my values by 10x each time I use the block. 

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Change Length Of Line Based On Length Of Attribute

Jan 8, 2013

Is it possible to change the length of a line based on the length of an attribute?

I'd like to make the line a MINIMUM length of X" (I haven't decided how long yet--but know I'll need a minimum).  But then after the user fills in the attribute, I'd like the length of the line to change to the length of the attribute plus a small amount (again, I haven't decided yet how much extra).

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Insertion Point Of Attribute Changing Within Dynamic Block

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

AutoCAD Dynamic Blocks :: Pass Attribute Values To Dynamic Block Parameters?

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

AutoCAD Dynamic Blocks :: Delete Last Attribute In All Of Specific Blocks

Jan 24, 2012

I have the same block repeated multiple times in a drawing, and I want to delete the last attribute in all of the specific blocks.  When I edit the block in block editor, the attributes do not show up.  After I explode the block, there is no text.  The attached image shows the properties of the block.

View 9 Replies View Related

AutoCAD Dynamic Blocks :: How To Fully Constraint Entities

Jun 12, 2013

I realize that i don't understand how to use constraints (specifically how to "fully constrain" entities) in my dynamic block.

attached is a sample of what i've got.  (note the small circle at the insertion point that has 4 lines in it - i used these to base my angle constraints on)

upon inserting the first instance, everything behaves as i'd like.  but once i stretch out the bubble, it seems to go back and automatically update the definition so that the next instance i insert is using the first instances dimension as the starting point.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Fixing Annotative Text To A Line

Aug 26, 2011

I have a line and would like one line of text above and MTEXT below. 

Problem is the annotation scaling part where I can't seem to position the text so it scales to the line correctly.

It's ok at 1:100. I can't work out a way of doing it so that the line is central between the first two lines of text and the three lines have equal spacing.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Constraint Stability - Rotation Parameter

Jan 22, 2012

I have been trying unsuccessfully for several days to achieve a stable setup for the attached. This is the closest I have been able to get so far but as you can see if you change the width then the rotation parameter, the stability of the block very quickly breaks down.

The problem seems to be associated with the move action which determines the center point of the angle parameter. It seems to only work properly when you change the width parameter and the rotate handle is in the 180deg. Any other position of the angle parameter results in incorrect alignment of the geometry.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Multiple Attributes Mixed With Text In A Single Line

Jun 25, 2013

What do I need: In the example I will mark attributes with underlined text, and simple text with bold text

(Position)numberDiamdiam

Diam= diameter symbol

In the model space, I enter values:

Position = 3
number = 15
diam = 12

I need to get:

(3)15Diam12

instead of

(3       )15      Diam12

Is it possible to make an Attribute, take as a "Position X" value, the "Text alignment X" from a text ?

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Move Attributes In Constraint Parameter Environment

Mar 12, 2012

I have a dynamic block that I am trying to add some pretty basic functionality to (at least it seems like it should be simple!). Since I’m still relatively new to DB’s, I figured I’d give some background on what I’m trying to do, cause maybe it could be done with a much easier approach than I have come up with. So if you don’t feel like reading the details, see the fourth paragraph for my actual question.

The block is a sheet reference annotation (that shows:  SheetNum/TotalNumOfSheets)  that we typical put in the notes section of our construction drawings.  It looks nice when the text (which are attributes), lines up with the text in the note (usually Mtext, but sometimes a Mleader). So I constantly find myself completing the tedious task of placing the block at the insert point of the Mtext (which is always justified LEFT TOP), and then calculating the distance down to line that I want the block to line up with.

So what I want the block to be able to do is to be able to have the user grab the block by its basepoint, place it at the insert point of the Mtext object, and just enter the text height of the Mtext note, the line space factor, and the target line of the note that the sheet reference block should line up (the input would all be done via custom block properties in the Properties Palette).  And since we almost always use a text height of 0.125 and Line Space factor of 1, those will be the defaults, and really the only thing that would need to be entered would be the line number of the Mtext that the annontation should line up with.

I already figured out most of the constraint parameters necessary and calculated the offset equation using custom parameters. I have all the linework moving correctly using the vertical constraint parameters, however, I cannot figure out how to get the Attributes to move along with the linework. I know how to move text and attributes using Action Parameters, but I can’t do it with Constraint Parameters. So I figured that maybe I could chain an Action Parameter to the Constraint Parameter, but I couldn’t figure out how to do this either. Also, I am using visibity states and would like the visibility grip to move along with everything else as well.

My block is attached. I used some lines for the Constraint Parameters to be associated with, but they are only there for the block to operate correctly, therefore they are invisible in both of the visiblity states. Probably not the best way, but it works.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Creating Array Within Block That Is Setup With Constraint Parameters

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

AutoCAD VB :: 2011 Batch Convert Field Attribute To Text Attribute In Blocks Using VBA

Jun 3, 2011

I've got hundreds of files to convert. 

In VBA, how can I batch convert field attributes in blocks to text attributes while retaining the blocks?  Is there a simple way to univerally convert them all at onceusing VBA?  The plotted values for the fields must be retained, too.

Explode will not retain the value of the field.

Burst will not work as it explodes the blocks as well.

You can right-click on the field and slelct "Convert to text" from the RCM.  So I know that the process exists within CAD, just need to batch the process for a quantity of DWGs at a time - in VBA.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Add Attribute Value To Mtext

May 25, 2011

I have an attribute definition and I need to add its value to an mtext. I added it in mtext insert field it is ok, every thinks work fine it is only needs a regen but it is not a problem.

The problem is when my mtext and att in a block regen does not work in model space, I had to enter block and regen. Is there any way to do it without entrance in block editor?

I attached a simple example.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Rename Attribute Tag

Nov 4, 2011

How do you edit attribute tags (only) and retain the values of the attributes? When I try to redefine a block the attribute values change with ATTSYNC.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Getting Parameter Value From Attribute

Nov 10, 2011

I need a rectangle block which on insertion prompts me for some data (name/tag/item number) and then displays it (this I can do). This is al pretty straightforward. But I also want to be able to fill in width and height and then have the block stretch to the correct size. So basically what I think I need is to have the value of a parameter refer to the value of an attribute. I've gotten it to work the other way around, where the attribute displays the size of one side of the rectangle (after stretching and regenerating), but I'd really like to have it working the other way.

View 4 Replies View Related

AutoCad :: Dynamic Blocks And Attribute Definitions

Mar 6, 2007

I've created a dynamic block with two visibility states. The second state is a copy of the first state, but some of the attribute definitions have been moved, along with some of the geometry.

When I insert the block, then toggle between the two visibility states, the geometry changes as I would expect, but the attributes stay in the position dictated on the first state.

How can I make sure that the attributes move for the second state, as I need them to.

View 9 Replies View Related

AutoCad :: Editing Attribute In Dynamic Blocks?

Sep 24, 2012

making dynamics blocks and more over utilizing the attribute feature but I have discovered some chnages tat i need to make.

My question right now is, once an attribute is created and put into the block editor is that it? Ifi need to edit it can i edit it? I don't really see an option or command right off that would allow me to do this ?

View 1 Replies View Related

AutoCAD 2010 :: Constraint Based On Attribute (text Box) Width?

Apr 17, 2012

Is there a way to constrain a few objects to an attribute text box width?  I want the background box and line to stretch, based on what is typed in that attribute box.

I know that if I make the attribute, a multi-line attribute, I can add a backgroud mask.  I don't want to take this route, because the mask boundary varies, depending on what character is typed.  Also, there is a gap between the mask and line I would like to maintain.

I tried some constraint stuff, but all I seem to be able to constrain is the insertion point of the text box, and not the width grip...

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Flip Attribute Justification?

Jan 27, 2009

I've built this nifty block for holdowns, but the attributes get all goofy on me when I use the flip command. The problem is that the justification of the attributes does not change when they are flipped - so if I modify the text in the attribute while the block is in the FLIPPED state, how to modify the justification?Check out the attached file to see what I'm talking about. The block instances are numbered so you can follow along:

1. block is inserted
2. attribute text is modified in NOT FLIPPED state - everything is dandy
3. block is flipped
4. attribute text is modified in FLIPPED state - text justification is jacked up
5. block is flipped again, in order to demonstrate the continued jacked-uppedness of the attribute

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Attribute In Visibility Parameter

Dec 17, 2012

What I'm trying to do is have a graphic scale with a set list of scales the user can pick from. This was easy using the Visibility Parameter.

However, I want to add a "custom" vis state where, once they select this option, the attributed definition box will pop up and give them the option to input whatever scale they are using.Check out the attached .dwg to see what I've done so far (I just have the attributes on the "custom" vis state).

View 7 Replies View Related

AutoCAD Dynamic Blocks :: Not Updating With Value Of Attribute Within Same Block

Jul 2, 2013

Fairly versed with Dynamic blocks here, so the first thing I checked was to make sure that my FIELDEVAL was set to 31 to ensure updates but this one isn't working for me and may be a limitation of the software?

I'm making a dynamic block for my users who aren't familiar with electrical wiring so I am developing a series of blocks for our typical wiring configurations.  In this instance, I've setup a pair of attributes to allow the changing of wire color codes and I want to use that single attribute entry to used in multiple other locations that are also connected to that conductor in certain situations.  I have setup a field within this block to be the "VALUE" of the object (the attribute) in order to accomplish this.  Unfortunately it is only displaying the default value I have for the attribute and will not update either upon insertion of the block or after an edit.   Is this beyond the capabilities of Dynamic blocks or do I need to take a different approach?

Find file attached.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Using Data Link As Attribute

Nov 19, 2013

I need to create a small table to ID the User, Computer name, Door Key, etc for a floor plan drawing of our office.  I'd like to get this done in Excel and link it all so the bldg manager can make changes to the drawing without me.  I have created the excel file and created a "name set" in excel for each room.  In Autocad 2013 I have inserted a table from a data link and pointed that link to the named range of the room (the named range in excel is an 8 cel block with al the info I need repeated and uniquely named for each room.

This works great...so my next step is to create a block out of the table and make the DATA LINK a variable attribute...that's where I'm stuck.  i cannot figure out how to do this.  I would love to be able to INSERT BLOCK and have one attribute question...ROOM NUMBER?.  That should look to the excel NAMED SET the corresponds and populate the table.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Field Value Not Updating Attribute Value

Jan 29, 2013

I have created a rectangle whose length changes.The value of the paameter "Dist1" is this length field that I associate to the attribute value. Basically, echo length from Dist1 into the attrib value.

The problem is when I insert the block into the drawing the value is shown as "DIST1", even after regen. 

Once I pull the grip point to a new length and regen it still shows "DIST1".

If I go into the ddedit and select the edit box (for multiline data field) the shown value will correct itself, but only one time.

If I change the length again, the dimension does not update. 

It worked fine when I tested the block but is having issues days later.

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Visibility Names Are Not Reflected On Attribute

May 17, 2013

I have two visibility states. STATE1 and STATE2 used at attribute .

I only see the first (STATE1) or the default. 

Changing  the state works fine with objects ( a simple box and circle) but not with the attribute.

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Rotate Attribute 180 Degrees About Its Center?

Jul 11, 2011

Attached is a dynamic block for a civil grid tick.  It's my first time creating a dynamic block so it's probably not the most efficent use of the dynamic parameters etc.

I have it setup with 4 visibility states to allow the northing and easting attributes to "rotate" about the center of the grid tick, to give options for readablity and/or text overlap.

What I wanted to add was figure out how to make the individual attributes flip 180 degrees about a point (roughly the center of the attribute).  Again this would be for readability.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved