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


ADVERTISEMENT

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 :: Attribute Not Rotating And Stretch Parameter

Jul 21, 2011

I am very new to dynamic blocks. I am starting off learning the small stuff before I get to the larger more complex blocks to convert to dynamic.

I have a reference block I am trying to "master" all the functions we would like to see.

I have two major concerns.

1) Why can't I rotate this block (via rotate action) and have the attributes stay at angle zero? I thought I built the parameters and actions correct.

2) I haven't ran across anything that explains how to stretch 2 linear parameters at the same time with the same distance (ex: stretch both at .25, .5, .75)

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Passing A Value From The Action Parameter To A User Parameter

Dec 1, 2013

I need to use the dimension created by an action-parameter as a variable in a user defined function but AutoCAD will not allow me (see attached).

How may I access the action-parameter's dimension ?

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Variable To Change Dynamic Grip Parameter Size And Color

Oct 11, 2012

What is the variable to change the dynamic grip parameter size and color.

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Stretching Same Parameter In All Blocks In Drawing From One Field?

Jul 15, 2011

How do I manipulate a height parameter all of the dynamic blocks in the drawing from one single field? Say a field located in the drawing properties or on the drawing itself.

For example:  Multiple blocks of different walls of same height with other blocks of things on located on those walls, dependant on the wall height, all linked to and changed by a single field. Possibly a Wall Height field located in the custom tab of the drawing properties.

I can pickout each of the blocks and change them at the same time in properites menu because they all share the same parameter name.  I would just like to have that height parameter of every block in the drawing, that has that specific parameter controled by a single field.  Which I could enter a new height at anytime that would change every block in the drawing to that height.

View 1 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 :: Rotate Attribute In Dynamic Block With Alignment Parameter?

Jan 23, 2014

Is it possible to make a dynamical block where the attribute is horizontal in combination of the alignment parameter (not rotate)? If I align to an arc the attribute need to stay at an horizontal position.

View 4 Replies View Related

AutoCAD 2013 :: Adjust Circle Diameter From Attribute And Parameter In Dynamic Block?

Oct 17, 2013

I'm trying to create a dynamic block that uses a parameter and an attribute definition to determine the diameter of a circle in that block. I plan to export GIS points with diameter in the attribute table into a CAD file with the block definition. I'm having trouble figuring out how to set up the parameters to read to attribute definition and adjust the circle diameter. Using AutoCAD 2013

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Rotation Parameter

Aug 24, 2011

I've got a block that has a couple of rotation parameters. The main one works OK. But the secondary one that is incremental and only 180 doesn't. Everything looks OK but the objects don't rotate according to the parameter but 90 degrees from what I think it should.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Label Set To Parameter

Aug 11, 2011

is it possible to have a label set to a parmeter so that after inserting a block I can see what each parameter is.

the label could just be there or show when the cursor is over the parameter symbol?

autocad 2007
windows 7

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Link Parameter Value To A Function

Aug 14, 2011

Is it possible to link a parameter value  to a function? I want text or attributes to never be "upside down".

If it is rotated with a rotation parameter the text would need to be automatically flipped or rotated if the angle is less than say >3*PI / 4 and  < 7*PI/8.

View 9 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 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 Dynamic Blocks :: Parameter Listing In Properties Windows

Jun 17, 2011

Any way to change the order that the parameter properties appear in the property manager. Currently I think they are appearing in the order in which I placed them, but I would likr to re-arrange them.

View 3 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 :: Block Properties Table Not Corresponding With Parameter?

Nov 8, 2013

The "Main Stretch" parameter does not correspond with the Block Properties Table. What does this parameter need to be attached to?The paramter will adjust with the pull down options of the Block Properties Table. 

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Rotate Array Parameter Individually?

Aug 25, 2011

I am trying to create a block that has a stretch and array command, but I would also like to rotate each arrayed item indvidually. However I cannot select the rotate parameter as part of the array function, so the block end up only containing one rotate grip.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Scale 3 Circles With One Parameter / Action

Nov 14, 2011

I have 3 circles, randomly spaced. They will always be the same size. I want to resize them all about there centre points using just one parameter in the properties fly out. I've created individual linear/stretch for each circle, but I can't work out how to combine them.

AutoCAD 2012 Structural Detailing SP1 & Revit Structure 64bit
Win 7 64bit

View 6 Replies View Related

AutoCAD Dynamic Blocks :: Rotate Line With Parameter Constraints?

May 29, 2012

I've only got LT2008 at the moment, but this is a pet project that if my office upgrades me I want to finish.

Is it possible to rotate a line by using the length of a separate line? But the degrees of rotation need to be worked out by the length of the line

as in the following sum

angle of rotated line = (fixed number/360) * length of linear line
Left handed and PROUD

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Linear Parameter Stretch With Polar

May 6, 2013

I am trying to be able to have my outreach arm stretch horizontally and on angles of 5 / 10 / 15 degrees from the pole. I have been able to make the polar stretch for this and it works fine though what i am trying to do is have the luminaire height also stretch and move when the size of the outreach changes (i can make the linear dimension work the way i want though not the luminaire parameter) as when you add the paremter into the stretch action is only moves the top and leaves the bottom at the same location which is not giving me the correct height. 

The block itself is alot more complicated then this I have stripped most of the parameters out to make it less confusing but the end result would allow the user to input the outreach angle, outreach length and luminaire height. I have attached drawing for your reference.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Setting Parameter Values At Block Insertion?

Jun 16, 2011

how (if) I can set up my dynamic blocks so that I can set the parameter values as I insert the block, rather than with the grips afterwards?

To take a simple example; I have a block consisting of a rectangle, with 2 linear stretch parameters - length, width. Can I set it up so that when I insert the block, it asks for the length and breadth,just as it would for attributes.

View 4 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 :: Link Move Action To Visibility Parameter

Sep 12, 2012

I've got a block with 2 lines of text, the second line being optional.  If the second line is omitted, the first line should be moved down, so it's centered.

I can handle the second line being omitted with a visibility parameter.  And I can handle the first line being moved down with a move parameter.  But how can I link the two?

Ideally, I'd be able to re-use the line 1 attribute and display it in whichever place was correct, but that doesn't seem to be possible.  

View 9 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 :: 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 :: 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







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