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
ADVERTISEMENT
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
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
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
Aug 28, 2011
I have this Dynamic Block which has a few distance parameters on it and an attribute at beginning of each parameter which are attached to a stretch action. If manually bring the block in. And set a value to attribute and then stretch the it , attribute move along with action. But when I do it pragmatically it doesn't . Basically attribute stays at original location of original block before stretch. What is wrong with my code. Or Shall I do something to Attributes when I change the distance parameters in Program? I don't know .
I have a function which bring the block in and set attribute first and then another call which change the distance . So I don't show the first function which to me works fine . The problem is this part.
For Each myBRP As DynamicBlockReferenceProperty In myBRC
For I = 1 To NumbderOfDistanceParamsinDynBlk
If myBRP.PropertyName = "Distance" & Trim(i.ToString) Then
myBRP.Value = DynDistancevalue(i)
End If
Next
Next
View 7 Replies
View Related
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
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
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
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 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
Jan 9, 2013
Just exactly what does "Angle" represent when placing a "Rotation Parameter" in a DBlock?
I've tried a bunch of diff angles and haven't noticed a difference. I'm trying to figure out just what effect diff values would have. I thought that maybe when rotating the block instance, I'd only be able rotate it "so far" (270 degrees in the example I've shown). But it still went well beyond that.
View 2 Replies
View Related
Jul 28, 2011
I have some blocks with lines and some attributes.
I want to be able to rotate the block freely but I want to always have the rotation of the attributes at 0 deg.
Is there any way to lock the value of the attributes rotation to 0?
View 3 Replies
View Related
Apr 4, 2011
Title Block.dwg
I am trying to create a custom Title block and want items such as Title, sub title and location to be locked in place but editable when inserted. The next requirement I have is to have these attributes rotated 90 degrees.
What I am getting is a block that in the editor looks exactly the way I want it to. However when I import the block into Paper Space and enter the information, those attributes that were defined as 90 degrees are presenting without any rotation at all.
View 5 Replies
View Related
Dec 19, 2011
I made a dynamic block with attributes. The block was to be moved using Linear parameter + move action, and then a lookup parameter and action.
The block moves as it is suppose to but the attributes are left behind. How can I get the attributes to move with the dynamic block?
The attribute properties are:
Verify = Yes.
Lock position: Yes or No don't seem to make a difference.
Is this a bug in AutoCAD or is there a solution to this?
View 3 Replies
View Related
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
Mar 28, 2011
My drawing- block is a little bit complicated, it contains few actions and parameters and everytime i open block editor to add, or to modify some action I can't see my drawing because actions grips and parameters grips obscure my drawing. I tried to refresh layout but it doesn't work.
please take a look on attached jpg.
View 1 Replies
View Related
Oct 31, 2013
I would like to change sub block from a visibility after setting it. Here an example of code to get the right visibility, I don't really know how to update a sub block by name or by handle(seems to change inside dynamic block).
Dim Block As AcadBlock
Dim BlockRef As AcadBlockReference
Dim DynEntBlock As AcadEntity
Dim DynObjRefH As IAcadBlockReference
[Code]........
View 9 Replies
View Related
Apr 26, 2007
I have dynamic block with visibility states and Lookups. I tried to add attribute (field with block reference property) which suppose to be updated according to Lookup. But it didn't happen Attribute still the same as first lookup props, but if I insert the block(pic1) and select another properties from the list (pic2-3), when open and close the block editor(4) - everything is ok. Is it possible to solve this problem?
View 9 Replies
View Related
Apr 11, 2013
I have a block that has been already established. i added another line of attribute. how do i make the new attribute associate with the 'move' parameter that has been set with the old attributes?
All this is created in block editor.
View 2 Replies
View Related
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
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
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
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
View Related
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
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
Jul 2, 2013
I need to know where to look to find if a point parameter is visible the the current visibility state of the dynamic block reference.
View 2 Replies
View Related
Oct 8, 2013
Getting into Dynamic Blocks in a big way. As the blocks we use are variants of each other, if the parameters that are created in one block can be copied into another block to save having to re-do the entire parameter sets again.
View 1 Replies
View Related
May 10, 2011
I have 3 attribute in one block , i made 3 options for visibilty1
so i need in visibilty (1) i can show only the text 11
and i need in visibilty (2) i can show only the text 22
and i need in visibilty (3) i can show only the text 33
View 8 Replies
View Related
Mar 2, 2013
Is there a way to use more then one visibility parameter in a dynamic block in autocad 2013
View 1 Replies
View Related
Feb 13, 2012
We have some dnyamic block share set of parameters, if we change a parameter's value, all block that reference this parameter should be change.we can do it by program.
but create user parameters for a dynamic block must be by hand, can we create a user parameter by code? another way is user global parameter. does AutoCAD Parametric function's user value can be share with dynamic block?
View 8 Replies
View Related
Sep 17, 2013
I am attaching a rotate parameter and action to a dynamic block.
I get the "Specify base point" bit okay but I can't figure out what "Specify radius of parameter" does.
Do I have to include or exclude other parameters like Flip or Stretch? I get some weird results when I rotate an object with other parameters.
Is it possible to place the Grip in a specific place? It always seems to like to sit on top of another parameter name.
View 9 Replies
View Related