I need to make block with certain random elements in it which regenerate when the block is copied. In this case it's the rotation of the main part of a drawn tree, In which I want the trunk to stay the same but for the polyline that makes up the leafy part to rotate randomly.
I have a banner I have been working on with three spinners like a slot machine. Currently I have everything hand animated to rotate the spinners to spin to one of 4 options each. What I would like is to have a button that triggers the spinners to rotate to a random ( 1 of 4 ) points over the course of 1/2 second 500ns.
Is there a code snippit that will make an object rotate to one of 4 chosen variables?
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.
Using Enhanced Attribute Editor one can set attribute text rotation to 0 when the block is rotated. But it must be done for each block individually. Is there a way to do this for several blocks at the same time or globally?
I know making block or text annotative does it but it requires redefining block, something I do not want to do.
This is just a basic block to specify a section plane. What I would like to have is a BPT with 4 rotation options (0, 90 180, 270) that would rotate the whole block but it would keep the text upright and be able to stretch the ends of the arrows. I know I must be including/not including something important. Pointers on how to do this
if it's possible to link a rotation with a stretching action. I have a text (or an attribute) inside a box that can be stretched. But if the box becomes too small to hold the text horizontally, I would like that the text automatically rotate vertically without any other action that stretching the box. If that is possible, is it also possible that instead of a text, there's an attribute, and that it rotates according to the attribute's length ?
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.
The blocks are seemingly random and happen unexpectedly. What's worse is they become permanently incorporated into my file, thus destroying my work.Note that you can see the blocks have become part of both the art on the layers as well as the masks.
I'm working on a 27" iMac 3.1 GHz Intel Core i5 with 8GB of 1333 MHz DDR3 RAM, using Photoshop 14.1 x64. I have seen some reports about possible video driver errors associated with this model, This is a Photoshop-only problem as far as I can tell. I do believe I encountered this in Photoshop CS5 at one point as well.
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.
I need to prepare a linked chain araound a defined path. (Please have a look at the attached drawing) My idea is to have one element of the chain defined as a dynamic block and to manually "rotate" one side of the chain element. After that inserting the next element (previously aligning the user coordinate system) and "rotating" the right part again to the next position...
After doing the rotation, the block definition will change and the next block will be "disformed". So far no big problem, but the grip of the rotation parameter will stay there and I am not able to "rotate" the right part back into the old position (0 degree).
I appear to have two red circle which I did not create on drawing in model space. I am assuming it is some sort of error but can not figure it out. On my layout tab viewports containing the section does not show, only the red circle.
For no apparent reason I am opening images where there would be a blue background, and getting blocks or streaks of black pixels. Using CS 5. How do I prevent or correct?
We've upgraded to 2012 and have noticed a problem when fast clicking on the mouse when using commands.
For example when using the erase command I would usually type E and then quickly right click and left click. However in 2012 it brings up random command instead of erase i.e. sheetset, publish, ucs etc..Bringing up the text window afterwards it shows
Command: e ERASE Select objects: Specify opposite corner: *Cancel* 0 found Select objects: *Cancel* Command: _PointCloudIndex
The right click and left click are only processed once.This happens on all commands typed on the command line not just erase
Having only recently started using Autocad 2012 (I mainly used various versions of LT over the last 10+ years) I have noticed a few strange goings on.
It doesn't happen all the time but sometimes whilst in a command ("move" for example), when I go to click on an object or pull a window, a separate, totally random command activates itself. Why this happens, I just hit escape a couple of times & continue what I was doing.
I'm not sure if it is a case of me, in my haste, missing my intended object & hitting the right click button (which I use as a return & not a drop down menu).
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.
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.
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).
Using the mvsetup, a colleague of mine rotated the model space in the viewport. I cannot determine what angle was used, is there an setting in the properties manager to show the rotation angle or other way to find out?
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?
I am making a template file having title block with fields. I use this template for creating layouts and sheets using Sheet Set Manager and the fields will be updated from the data of SSM. Now i would like to add a dynamic north block to my template. The block could be rotated (i have this block in file itself) and rotation angle could be inserted. Now how can i add a custom field to SSM so that i could set a rotation angle for the project and thus every new layout or sheet created using the template has the north block rotated with the angle mentioned in SSM.
I have a North Arrow that I would love to make into a dynamic block. I would like to be able to rotate the N that represents where the north direction is. But while rotating the N around the center of a circle I would like the letter itself to stay un-rotated. It seems simple, if I rotate the letter around the axis of a circle 90 deg, I would like the letter itself to rotate -90 deg on it's own axis. Of course this is easy to do manualy, but how do i do it so that rotation 1 automaticaly triggers rotation 2?
When setting up a simple FK control curve on say the wrist for example, many times the control curve isn't exactly perpendicular to the local rotation axis of the joint movement, so when we position the control curve to be perpendicular to the joint - it has a rotational value added, but the rotational handles are lines up with the rotational handles of the joint that we want to move.
Freeze Transformations: then the control curves rotational handle go back to being skewed (out of alignment with the joints)
We want to Freeze transformations before constraining the curve, but we'd really to keep those rotations control handles to remain aligned with the joints rotational handles. This will make it an exact control when animating - grab the rotational handle of the curve, rotate it, and the joint will move exactly in the proper direction.
how to get the rotational handle of any control curve to run perpendicular to the shape after freezing transformations?
To summarize: It seems that compounding a path resets the rotation of the gradient to it's original degree of rotation.
Detailed version:
1. Create a shape. 2. Add a gradient fill. Note it's degree of rotation. Let's say it's set at 10°. 3. Now rotate the shape by any means (transform or rotate tool). Note the gradient degree of rotation has shifted the same amount as the shape was rotated (if it was rotated 50°, the gradient will show at 60°). 4. Make it a compound path. 5. Instantly the gradient shifts back to it's original degree of rotation of 10°.
It appears that when rotating a shape with a gradient, the rotation of the gradient is locked to the rotation of the shape. But when making it a compound shape it releases that lock and "remembers" it's original state. But that is only true as soon as you make it a compound path, but if you no go ahead and rotate it just a bit using the cursor (as opposed to selecting transform > rotate), the gradient will switch back to how you would expect it to rotate in the first place...
Workaround would be to make it a compound path before rotating the shape at all.
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?