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
ADVERTISEMENT
Oct 18, 2013
Can a AutoLISP command be written to read an attribute in a block and draw a circle with the attribute as the diameter using variables?
View 1 Replies
View Related
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
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
Oct 21, 2013
Can a AutoLISP command be written to read an attribute in a block and draw a circle with the attribute as the diameter using variables? The appilcation is taking the diameter of a tree trunk (the attribute), multipling by 12, and drawing the canopy circle on hundreds of those blocks. So the circles drawn will vary in size.
Not sure how this could be set up, i'm not familiar with LISP writing at all.
1) Read block, single, mulitple or definition?
2) Read Attribute
3) Varaible of attribute, (attribute is an inch measurement...it needs to be multipled by 12 to get feet for final use as circle diameter drawn)
4) Draw circle, variable, with diameter coming from attribute variable (attribute in inches that is multipled by 12)
5) Center point or circle to be block's base point
View 9 Replies
View Related
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
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
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
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
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
Jan 28, 2013
I have a leader with a block for signs that we use on our road schemes. I cannot access the attribute information on the block without exploding the leader with the block. The problem is that although I can then access the attribute information the leader is then broken and is only a line and a hatch arrow. Is there another way to do this?
Leader with block and Attribute.dwg
View 9 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
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
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
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
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
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
Sep 25, 2012
I would like to add a new (user) parameter to a dynamic block within my code. I have noticed that this is possible manually. But couldn't find how to do this in .Net. When this parameter has been created it would be necessary to fill in a value. So the parameter can either be a general parameter, that can be adjusted later or a (user/dynamic) parameter specific for the block.
View 1 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
Dec 6, 2012
I was wondering if there is a way to link one parameter to another. What i'm doing is creating a theater flat block that has adjustable length and width. There are support members that are needed when it gets big enough. Right now i have them set to a Visability parameter and have to select to turn them on and off in model space. Is there a way to link the Visability so that it changes based on the Linear Distance parameter's lenth?
View 1 Replies
View Related
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
Dec 6, 2012
I am wondering if you can set a parameter in a dynamic block in to a visibility layer. Is this possible?
View 1 Replies
View Related
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
Oct 1, 2007
I'm struggling to hide a piece of such a block (using Visibility Parameter).
View 2 Replies
View Related
Apr 26, 2013
I have a block of a circle and a line coming from the left and right side quadrant of the circle to a common point (see pic). I want to create a dynamic block using a Stretch and Rotate parameter. You select the block, the Rotate point (grip) shows at the end of the two lines. I can grab that grip and rotate both lines and circle by moving this point around the screen, but cannot Stretch this point to a new location at the same time. How can I have the Rotation end point follow the Stretch parameter?
View 2 Replies
View Related
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
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
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