AutoCad :: Dynamic Block With Attribute Rotation

Nov 21, 2013

I can not for the life of me get my attributes to rotate with my block. I've attached the block to better understand what I'm talking about. I'd like the attributed text to rotate with the brown line. I don't care if the text ends up upside-down, I just want it to rotate with the block.

View 1 Replies


ADVERTISEMENT

AutoCad :: Dynamic Rotation Of Block With Attribute

Aug 29, 2011

when trying to create dynamic rotation for a block with attributes. If I constrain the attribute to a line in the block it damaged the behavior of the block when using the dynamic rotation.

I tried both multiline and non- multiline attributes. I tried to fiddle with the "constraint settings" and leave only the Parallel constraint running with no effect.

When I open a new clean acad drawing and paste the block there, no problem.

View 2 Replies View Related

AutoCad :: Attribute Rotation In Dynamic Block?

Jan 11, 2008

We use this light switch block for work. For the life of me, I can't figure out how to make the attribute to stay (LOCKED) at rotation 0 when inserting no matter which angle the swtich is inserted. The only way the text stays at rotation 0 is if I insert the block as is (pointing right), then align the switch to a wall. The block is created with alignment grip. So if I add the switch to a wall at an angle (eg:45 degrees), the text will be rotated and stay rotated. If I insert the switch on the left side of the wall, the attributes will be upside down. I can manually rotate the attributes back to 0 degrees and it will stay locked to 0 degrees. But what I want it to do is to be inserted at 0 degrees to begin with.

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Link Dynamic Block Custom Rotation Action

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

AutoCAD Dynamic Blocks :: Mirrored Rotation Dynamic Block

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

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 :: Text In Dynamic Block (rotation)

Nov 25, 2013

I'm just trying my hand at learning to create some dynamic blocks, but need a solution to keep the text unrotated. I have attached a file of my troublesome file for you experts to look at, if possible.

PileTest.dwg

The file is basically a plan view of 4x foundation columns for overhead line towers (pylons). These towers can be different sizes and at different orientations, hence the dynamic options I have applied. However, when I rotate the block I want the text to rotate with it (to keep aligned with each column A, B, C, D), but I don't want rotation to be applied to the text, if that makes sense?

I have a feeling that constraints might work, although I know nothing about them, but these usually lag my PC. At present I am having to explode the block and apply a 0 rotation to all the text.

View 8 Replies View Related

AutoCAD 2010 :: Dynamic Block Rotation Changes

Dec 28, 2012

We have a dynamic section marker block. You can flip it, rotate it and stretch it. Some of our drawings have a lot of them. For some instances of the block that are rotated, opening the drawing or inserting another copy of the block causes the fill in the arrow to move back to its original orientation (see images). The darn things even plot incorrectly.

Flipping the broken ones back and forth fixes them, but it is silly that a drafter would have to do that with each one.

View 4 Replies View Related

AutoCad 2D :: Dynamic Block - Keep Text At Same Rotation

Jul 11, 2011

I have a section symbol that I want to rotate and keep the text at 0degress relative to UCS. The text is not in the middle so I can't rotate about the cetner of the text. I'll attach the block so it's more clear.

Right now the only fix is to assign a seperate rotation grip to both attribute text items.

View 4 Replies View Related

AutoCad :: Dynamic Block Rotation Parameter

Sep 30, 2013

I am making a simple continuation block (attached) and I am trying to get it to have a rotation parameter along the polyline. I am able to do that, but the only issue is the flip parameter goes all weird when I do so (the text starts distancing itself from the polyline when stretched, rotated and flipped).

View 4 Replies View Related

AutoCAD 2010 :: Dynamic Block Rotation Parameter

Jan 7, 2013

I have a block that I'm trying to convert for dynamic use.

In the first image, you'll see the items that I want to have rotatable in blue.  The items in red should NOT rotate.  That part seems to work fine.  But the items that do rotate don't behave as expected.

I created the rotate parameter selecting the center of the red circle as the base point.  Shouldn't that cause ALL the items to rotate about that center point?

As you'll see from the second image, the blue line rotates about some other point.

EDIT:  Well I guess it only does it if I have the blue horizontal line defined with a length constraint.  I also need to have that line dynamic--I need to make it longer/shorter.

I've attached a dwg file with the block in it--it's at the top of the block list (___SectMark2).

View 9 Replies View Related

AutoCad :: Dynamic Block - Rotation Parameter And Text

May 25, 2010

Wondering if there was a way to have text maintain a rotation angle of 0 while being included in a rotation parameter. I am wanting the "N" for my North Arrow to follow the direction of the symbol of my viewport tag without the "N" character rotation angle changing with it.

View 9 Replies View Related

AutoCad :: Dynamic Block With Rotation Parameter Not Working With Attributes?

Mar 6, 2013

I have an interior elevation callout block with four arrows, noting the N, S, E, W interior wall elevations. I trick I use to rotate Text while keeping the Text oriented in the upright position is to place a Point Parameter at the center of the text then set the "Chain Actions" to Yes. Then I use the Move Action to tie the text to the Point Parameter. Next step is to use a Rotation Action to select only the Point Parameter, which rotates the Point Parameter and brings the text along with it, keeping the text oriented in the upright reading position always. As an example, think about a viewport tag with a North arrow, and the letter "N" at the arrow tip. When you rotate the arrow, the "N" position rotates with the arrow's point but always is oriented upright.

View 3 Replies View Related

AutoCAD .NET :: Dynamic Block Attribute Move

Nov 16, 2008

I have a problem with using .Net to insert a dynamic block and set the size property. The attribute text does not move correctly on insert, but will if manually stretched after the fact. From my research the recommendation is to make sure the attribute definition is marked as "Locked".

I have an attribute definition inside a circle (classic door/window number), both the circle and attribute are included in the Action Selection Set, however only the circle moves correctly. It all works correctly if manually inserted/stretched.

View 9 Replies View Related

AutoCad 2D :: Attribute Changes Length Of Dynamic Block

Sep 18, 2011

I have a rectangle, it has an attribute called "WIDTH". Also it has a parameter for width of the rectangle. When I change the attribute (insert a block and define it) the width of the rectangle changes.

View 0 Replies View Related

AutoCAD VB :: Detecting Dynamic Block Attribute Visibility With VBA?

Dec 8, 2011

I have created a Dynamic Block with various visibility states.The block has attributes in that are not displayed depending on which visibility state that is selected.

Is there a way for VBA to look at attributes in my dynamic block and tell which attributes are visible?

View 1 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 .NET :: Adding Xdata To Dynamic Block With Attribute

Aug 31, 2011

My code add xdata to any object properly except for a dynamic block with attribute. After code excutes it disappears from screen . Even undo make strange thing. I guess I screw the database somehow. But even audit doesn't show any fix applied.

Attach is a sample drawing. And below is my code.

<CommandMethod("pppp")> _ Shared Sub test1()
Dim Mydwg As Document = Application.DocumentManager.MdiActiveDocument
Dim Mydb As Database = Mydwg.Database Dim Myed As Editor = Mydwg.Editor
Dim MyRegisterApplication As String = "My_R_Cad"
[code].....

View 4 Replies View Related

AutoCad :: Creating Dynamic Block With Attribute Definition

Jun 10, 2013

I'm having trouble getting my attribute definitions to work with my blocks.

I'm trying to create a tag that can flip around (dynamic) and have a tag number easily entered (attribute).

I notice that I could only get the attribute definition to work during a drawing insertion is when I wblocked out my block and inserted that drawing file. I was not able to insert the drawing file that had the block in it.

I can't seem to make a dynamic block drawing file, and then insert that dynamic block drawing file if I want the attribute to work..

View 4 Replies View Related

AutoCad :: Global Edit / Block Attributes Rotation BACK To Match Block Rotation

Dec 13, 2012

using AutoCAD 2009 (vanilla)

I got too smart for myself today in bringing an old drawing up to current standards...Everyone seems to want their block attributes to be zero - I have blocks where the attributes are best when they match the rotations of each blocks.

I have an old drawing that was rotated (as it should be) at approx 2deg.

I used a lisp routine to global edit all the blocks that needed to be at zero. BUT for some reason (and after hundreds of blocks were corrected), I noticed I now have two blocks that should NOT have been in the set have had their attributes rotated to zero....and the attributes should be at the same rotation as their block's rotation.

Because those two blocks have a fixed tic mark, I can click on the mark to see what the block rotation is, then rotate its attribute to that rotation, but I have hundreds of blocks! One-at-a-time sucks....

Any chance there is a GLOBAL way to edit an attribute rotation to match its own block's rotation?

View 2 Replies View Related

AutoCAD 2010 :: Automatic Stretch In Dynamic Block For Attribute Value?

Jun 7, 2012

We have specialized electrical schematic drawings on what is termed roll-drawings.  These roll-drawings are simply 12" tall and variable width type drawings.  We've had some as short as 24 inches and as long as 900 inches.  As a result we use these section dimensions to distinguish circuit boundaries.  It's not a real dimension, just a way to distinguish what circuit is located where.  I've tried to recreate it using a block for improved automation as currently we just use a lisp routine that draws an arrow and lines.  It looks like the screen capture of my block below.   Is it possible to have the inside endpoints of the lines automatically stretch outwardly toward the arrows as the attribute Value changs?

View 3 Replies View Related

AutoCad :: Mtext Field Within Dynamic Block Won't Show Attribute Value?

Jul 16, 2013

I have a dynamic block.

It has length and width stretch actions activated by grips. (Works fine).

It has an attribute for the user to type in a height value. (attribute insert box appears on block insert and when double clicking block).

It has Mtext "worktop [field] High" the [field] is looking at the attribute value so in theory should return the value the user types. But no only ---- shows. regen/regenall/battman fieldeval 31

Am I missing something i have pointed the field to tag/prompt as test and they show up in the mtext.

View 5 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 :: Dynamic Block With Attribute And Annotation Text Style

Apr 8, 2013

Got a problem with the attached drawing. (The drawing will eventually be used as an xref).

I have created a dynamic block that has a (multi-line) attribute applied. This attribute is linked to an annotative text style. The drawing contains annotation scales. I have applied some of these annotation scales to the attribute so that it shows at 4.5 in paper space.

The annotation scales (metric) contained in the drawing are "1:500, 1:1000, 1:1250, 1:2000, 1:2500, 1:5000, 1:10000, 1:20000 and 1:25000". All these annotation scales are applied to the attribute.

The block contains a look-up table of properties that when applied, size the block to be used as a boundary to the following scales "1:500, 1:1000, 1:1250, 1:2000 and 1:2500".

Now, for example, i wish to set the blocks to be shown at 1:2500 in the drawing. I select the blocks and make them 1:2500 in the 'look-up' table. However, if i wish to set the annotation scale to 1:20000 (because this will xrefed into a drawing plan of a scale of 1:20000) it incorrectly shows the size of the attribute. The attribute has a 1:20000 annotation scale set to it but its size is not correct. This happens for other scales but for other scales (1:25000 for example) its fine. Also, the attribute could move when switching annotation scales and appear near the 0,0 WCS.

The layout tab shows the annotation scale and viewport scale set to 1:20000 but as you can see, the text is not set to 4.5.

I would prefer to have the attribute linked to the block though. I have tried ATTSYNC and RESETBLOCK but the bug keeps coming back.

Using AutoCAD 2011.

View 2 Replies View Related

AutoCad 2D :: Dynamic Block Field In Attribute To Return Look Up Description

Oct 3, 2013

I have a dynamic flat screen tv block. Its length flexes to match the lookup table chosen size...32" 42" (the length parameter being a defined mm length) etc i want to display the 32" 42" etc items from the lookup properties table, but i'm at a loss as to how to go about it.
currently i am using an attribute with a field pointing to lookup parameter/object/lookup description string but it's returning hashes.

block.png

View 2 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 LT :: Changing Attribute And Lost Imperial Door Dynamic Block?

Jul 30, 2013

I was trying to change an attribute and lost the "imperial door" dynamic block.  I do not know where to find the original and replace it in the tool palette.

View 3 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 Visual LISP / AutoLISP :: Diesel Expression For Attribute And Dynamic Block

Mar 15, 2013

I have a task where I need to automatically insert the drawing number (no path), plus two additional items, one an attribute, the other is within a dynamic block. I can achieve this using fields but now I havce to truncate some of the text.

It seems like I can't edit if I am using fields and attributes/blocks can't be used in Diesel (correct me if I'm wrong)

This is the information I have:

Filename: 123456-AS-WE.dwg
Attribute: Q2
Dynamic Block: X1 - Additional Information

This is what I require: 123456-AS-WE [Q2] [X1]

This is what I have so far: 123456-AS-WE [Q2] [X1 - Additional Information]

In other words, I need to restrict the dynamic block field to the first two characters.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Invisible Attribute Constant Dynamic Block Visibility State?

Jan 24, 2013

I have a dynamic block with several visibility states, and each visibility state has one invisible-constant attribute. I can't seem to wrap my head around dynamic blocks well enough to get the value from the active visibility state invisible constant attribute. I know how to get the visibility state like this:

(setq ss (ssget "_x" (list '(0 . "INSERT") '(2 . "`*U*,<DynBlockName>") (cons 410 (getvar 'ctab)))))

 but what next?

View 9 Replies View Related







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