AutoCAD Dynamic Blocks :: Change Length Of Line Based On Length Of Attribute

Jan 8, 2013

Is it possible to change the length of a line based on the length of an attribute?

I'd like to make the line a MINIMUM length of X" (I haven't decided how long yet--but know I'll need a minimum).  But then after the user fills in the attribute, I'd like the length of the line to change to the length of the attribute plus a small amount (again, I haven't decided yet how much extra).

View 3 Replies


ADVERTISEMENT

AutoCAD Dynamic Blocks :: Line Length Follow Content Length Of Attribute

Mar 16, 2012

I was wondering if there is a way with DB's to have a line "follow" or "grow" with the content/value length of an attribute. Maybe some method of linking the attribute width to length of the line? Essentially, it would work just like turning on the underline setting when typing in mtext editor (or any program with an underline option for that matter), expect that the line could be placed anywhere, and would not have to reside directly below the text.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Input Labels And Line Length Based On Two Inputs

May 29, 2013

I'm trying to create a pline in a dynamic block where the length is determined by two values I would input into properties or as attributes. 

The first value 'A' will be a ground surface elevation

The second value 'B' will be a ground water elevation

I would like to the pline to have a length of A minus B. 

I would then also like to have mtext (or any other method of display text) to display the values of A and B.

For example, if I have a ground surface of 102 and a ground water of 91, my line length will be 11, and I can display a label of '102' at the top of the line and '91' at the bottom of the line. 

I've created dynamic blocks before, but none that have used an expression of two values or having to display inputted values. I'm not really sure where to start with this, or if it's even possible.

View 7 Replies View Related

AutoCad :: Length In Metric Attribute To Automatically Populate Based On Input From Length In Imperial

Jan 24, 2012

I am creating a block with attributes for a standard job. I have (4) total attributes in this block (for example: panel type, qty, length in imperial, length in mertic)

I would like my length in metric attribute to automatically populate based on the input from length in imperial.

Is this possible?

View 1 Replies View Related

AutoCad :: Can Dynamic Blocks Be Made To Add Or Delete Parts Based On Length

Jan 4, 2012

in order to streamline some of my duties i wonder if theres a way to have a dynamic block not only that can change it's length and the dimension for that length (easy) but will also add features to the part. For example can one be made that when stretching its length that once it reaches a certain length automatically split into two sections and keep those 2 sections equal? Also can it be made to contain a tag that keeps track of the lengths as well as number of joints between sections multiplied by a constant?

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Associate Stretch Action With Length Of Attribute Value

Jun 23, 2011

is there a way to associate a stretch action with the length of an attribute value (i.e. # of characters in the string) or is this something left to vlisp?

View 1 Replies View Related

AutoCad 2D :: Blocks That Stretch Based On Text Length

May 2, 2011

My firm worked on a project recently with a sheet numbering system that created long sheet numbers, ie, MH-101-R1. Since the sheet numbers were so long, they no longer fit in our normal sheet/detail/drawing label blocks. (See attached DWG for an example.)

We are looking to create either a dynamic block or some kind of block that will automatically stretch with the text length.

View 4 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 Dynamic Blocks :: Length Of Object Field

Sep 30, 2013

Change the 24 x 24 x 12 MLeader in this Block to Fields that read the length of the Lines that the Distance1 and Distance2 Parameters are attached to and tell me if it crashes? And if it does not crash, post a working DynBlk.

View 3 Replies View Related

AutoCad :: Dynamic Blocks - LOCKING Variable Length?

Jan 4, 2012

-you have a dynamic block with a grip that allows for any adjustable length.

-assume i need a the block to be 500mm long

-i stretch the block 500mm long in CAD (but it is still dynamic and will let me grip the length and adjust).

-after I insert it and set the 500mm length, can I somehow LOCK THE 500 LENGTH, so you cannot grip and edit the length anymore???? (but also have an unlock function for later)

This would be very useful in the following situation: Doing elevation view of a building with wall connections between floors....There would be MANY of these dynamic blocks....But they should all be the same length, per floor...But the next floor may have a different length....So I want to be able to Set Length > then lock in place... (and be able to unlock whichever I want, and adjust appropriately where the connection gets longer/shorter at another location...)

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Line Length To Attribute Tag

Sep 30, 2013

Is there any simple code for to sum length of lines which is i am choosing and copying result to chosen attribute tag ?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Length To Match Length

May 24, 2002

Command to make a line change length to match length of a line, arc, polyline or circle? Could use this when making flat patterns layouts.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Diesel Expression That Read Object Length

Jan 10, 2014

I created a dynamic block with text field that show the lenght of a line, but this line can be 0 and in that case I want that the text field will show nothing instead of "0".

I try to write it in diesel expression with if command but i don't know how to bring the object lenght into the diesel expression code.

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Slotted Hole - Specify And Vary Width And Length Independently

Jan 11, 2013

I'm trying to create a dynamic block for a slotted hole, where I can specify and vary the width and length independatly.

To add complications, I also want the centrelines to stretch accordingly.

I've made some progress, it's 75% there, however certain combinations seem to 'break' the block.

ACad, MEP, 3DS Max
Windows 7x64
X5482 @3.2Ghz 8Gb Ram
Quadro FX1700

View 6 Replies View Related

AutoCAD Inventor :: Dynamic Change Of Length Of Part During Assembly

Nov 24, 2011

This is my first time using Inventor but I've been using ProE for several years in school. A friend of mine told me about a feature in ProE where you are able to define a part and then define one of the lengths as it is placed into an assembly. For example I would define a 2x4 part with a length of 84inches. If I wanted a 2x4 of 68inches in my assembly I would use the same file but simply change the 84 to 68. How can I do this with Inventor?

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Constraint Red Line To Follow The End Of Attribute Text

Nov 22, 2012

In the attached block, how can I contraints the red line to follow the end of the attribute text?

View 3 Replies View Related

AutoCAD Dynamic Blocks :: How To Move A Line In Relation To Bottom Center Of Attribute

Apr 26, 2012

We have a title block wherein the Location attribute is normally a single line, but occasionally is two or more lines. Within the title block this attribute is surrounded by lines, left, right, top, bottom.

We would like the bottom line to move down when the user adds additional lines to the attribute.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Reactor - How To Change Xdata Length If Line Is Modified

May 18, 2010

I need a Reactor to Modify Xdata - Length - contained in Line Object if this Line is modified (stretched, breaked, trimmed, etc).The routine need to verify if Line contain Xdata and modify it (and works with multiple selection).

I tried for long hours, but without success. I tried to create a list of entities while the reactor is applied, but doing so need another reactor to change these entities after the first Reactor works.The codes I used are below:

{code}
;If it just 1 string only you want to add
(defun add_xdata_str (e a v);;;EName APPID String_value
(and (not (tblsearch "APPID" a))
(regapp a))
(and (= (type e) 'ENAME)
[code]....

View 6 Replies View Related

AutoCAD Civil 3D :: Changing Lane Width Not Affecting Resulted Values Of Length And Run Off Length

May 11, 2013

With using superelevation wizard in Civil 3d 2012, changing the lane width is not affecting the resulted values of transion length and run-off length, Is that correct ? ( as civil is using standerd AASHTO tables which assume that lane width typically is 3.6m )

Also, There is only 2 tables for 2-lanes and 4-lanes roadway, Is it for total road width or for one directon only, and what about different no. of lanes ?

View 2 Replies View Related

AutoCad 2D :: Change Dimension Line Length When Text Is Outside / Beside Dimension?

Feb 21, 2013

Can i change the length of the dimension line 'extension' when my dimension text placement is beside the dimension line (see attached image)?dim line length.jpg

View 6 Replies View Related

AutoCad 2D :: Replace Dynamic Blocks With Normal Blocks Based On Parameters

Aug 2, 2012

We used a bespoke program to convert our drawings to Java applets for web usage. This does not cope with dynamic blocks at present and we have started to receive drawings from our clients using them.

I need to replace this with standard static blocks based on one of two criteria. Either:

1) Replace based on visibility state (have generic chair block with multiple different chair types set by visibility type, need to replace depending on which type it is set as)

2) Replace based on parameter (have table with size set by dimensions, need to replace with static block for each dimension)

View 0 Replies View Related

After Effects :: Way To Have Keyframes Move Dynamically Based On Video Length

May 13, 2013

I have several placeholders where I have added keyframes for instance opacity fade up and down at the beginning and ending of the layer. If I replace it and the video is longer/shorter than the placeholder then the keyframes will not adjust. Is there some way to have keyframes move dynamically based on the video length? I looked into expressions to calculate the start and end time of the layer then fade in and fade out using the time but it was quite time consuming and inefficient, it would also be hard to write new code for say position versus have dynamic keyframes.

View 2 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 :: How To Make Third Line Relative To Second Line So Angle Is 75 Degrees And A Certain Length

Oct 27, 2009

I have been practicing using a older book(copyright 1990) and it has some decent exercises in it. I was able to do this one but it seems I can"t find the proper way to do this..First drawing a line a certain distance..ortho on,click the first point anywhere,move curser to the left and click again. that gives me a line at 180 degrees at what ever length..Line command again starting at the second point of the first line..after clicking that point,I type in @2.38<150 that gives me a line2.38 long at 150 degrees..now how do i make a third line relative to the second line so that the angle is 75 degrees and a certain length..the picture shows what I am trying to draw..using the polar cordinates you get an angle based off the UCS( which is set at world) when you try to draw the third line ..that makes the angle between line 2 an 3 not the angle that I want..To make the drawing,I rotated the ucs -30 degrees..But there has to be a better way than that..

View 9 Replies View Related

AutoCad 2D :: Not Displaying Length With Stretch Action In Dynamic Block

Aug 25, 2011

I use dynamic blocks a lot of the time and most of them have a stretch action in them. What used to happen would be that whenever I clicked on the block I wanted to adjust and then clicked on the stretch action, it would show the distance from the base point and I was able to type in the new length of the object I was stretching. But now whenever I click on the stretch action, it shows that the current length is 0 and it is asking for the distance from the current point, not the base point. How can I change it so that it is always just the distance from the base point?

View 7 Replies View Related

AutoCad 2D :: Dynamic Block Creation - Height To Length Ratio

May 18, 2013

I am using AutoCad Architecture 2011 and I am in the midst of creating a simple line drawing of a bifold door. I have two lines. Each at opposing 45 degree angles. The objective is to have each line segment equal to half the distance measured between two points. For example; if the door opening is 2' wide each line of the bifold doors should be 1' in length if measured diagonally. The result would be a line, if stretched out, would equal 2'.

I've created a block that can stretch and rotate but I just can't figure out the height to length ratio thing.

View 8 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 Inventor :: ILogic Text Resizing Based On Length Of Text

Feb 19, 2012

I'm trying to finally utilize iLogic and all of its functionality (after using the basic features of inventor for the past 3 or so years) and I was wondering if there was a way to use iLogic (or some other feature for inventor) to resize text in a title block field of an IDW based on the length of the text entered (i.e. if the part's name was "Cam Retainer" the text height would be .12, but if its part name was "Spacer Cam Retainer Bushing" the text height would shrink down to .085 or something) so that it would still fit nicely into the text block?  

View 3 Replies View Related

AutoCAD 2013 :: Won't Allow To Specify Length Of A Line

Jun 13, 2013

I have used AutoCad for a few years and I installed 2013 to my laptop recently.I noticed that I couldn't specify how long a line should be. When I select the line tool and specify the base point and type how long it should be i.e. 3' and a red box appears around the dimension box and the line isn't drawn. I tried not specifying a unit of length and it draws the line just fine. But for some reason it wont complete the line if I specify feet or inches.

View 2 Replies View Related

AutoCAD .NET :: Get Line Object Length

Dec 2, 2011

Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument
Dim acCurDb As Database = acDoc.Database
ed = acDoc.Editor

[Code]....

I need to get the line object length. i Have written the below code.

If i use area property i am getting zero.

View 3 Replies View Related







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