AutoCAD Dynamic Blocks :: Moving Attributes Automatically

Oct 17, 2012

I just have a quick question (hopefully) about an activity I want a Dynamic block to perform.

I have a simple electric switch block (a line with an S over it), that in some cases is enclosed by a simple rectangle. When the switch is enclosed, I'd like the attribute to move further, to keep the spacing the same.

Is there a way to make the attribute move automatically with the display of the rectangle, maybe through some combination of Linear Move parameters, Visibility parameters, and a formula?

View 9 Replies


ADVERTISEMENT

AutoCAD Dynamic Blocks :: Moving Dynamic Block With Attributes

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

AutoCad :: Create Dynamic Blocks With Dynamic Attributes?

Feb 7, 2011

My office is trying to create dynamic blocks with dynamic attributes. We have the dynamic blocks created. how to create the attributes

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Moving Properties Table Grip In Dynamic Block

Jun 13, 2013

I have a dynamic block, that represents a stirrup.

I inserted in the block a Block Propreties Table, that have some preset dimensions for the stirrups. The grip of this table I decided to put in the top right corner.

The problem is that I can't make this grip moveable )

See the attachement with the block

View 1 Replies View Related

AutoCad :: Dynamic Blocks With Dynamic Attributes?

Jun 5, 2012

So I have created a block witch is a pin out for a device with some attributes. I have created a dynamic block away so that I can have multiple pinouts on a device... how can I work it so that each element of the array has different attributes?

Output1, output2, output3 for example? but when i use the grip to give me another pin it allows me to do output4?

View 0 Replies View Related

AutoCad :: Two Attributes In Dynamic Blocks

Jan 16, 2012

I am trying to create a dynamic block with two attributes, a double grid head, when I add a stretch parameter to the head it only affects the first assigned attribute.

I have added a stretch parameter to each attribute and only the firt attribute will move. What are the rules with attributes in dynamic blocks, the only thing I found was I have to lock posistion for attributes to be affected by the paramter assigned by the dynamic block.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Lookups And Attributes

Mar 22, 2012

I'm trying to set up a dynamic block with an attribute/field within it that the user(s) edit using a lookup table.

I understand basically that a field must be created as the attribute that then references a lookup table with the inputs listed. However, I really do not know how to create a lookup that has custom information such as below:

Site:        Unit Code
Site X           100
Site Y            200
Site Z            300

All I have seen explains how to create a lookup from an existing parameter (liner etc) and I don't seem able to create something specific to my requirements. I forgot add that I want the user to see "Site X", "Site Y" etc in the dropdown - but the attribute to reflect only the Unit Code.

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Linking Attributes To A BOM?

Jan 9, 2014

I need to know if there is a way to link an attributed F-N bubble with qty's to the BOM. This is for electrical wiring diagrams for aircraft. So I have serveral part numbers to a BOM, but no real accurate way of finding total quantities other than manually going though the drawing.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Using Attributes In Formulas

Dec 9, 2012

I am trying to create an attribute that displays the product of an Area of an object in the block and the value of a different attribute. For instance, here is what makes up the dynamic block:

1 rectangle (with width and height parameters and stretch actions)
1 Attribute called "ForcePerSQIN" - the value of this is entered separately for every instance of the block by the user
1 Attribute called "Total Force"

In the "Total Force" attribute, I want to create a field that contains a formula to multiply the area of the rectangle (which I am able to obtain with no problems using the Area property of the rectangle object type) by the value of the "ForcePerSQIN" attribute, which is user-defined. The problem I have is that it appears as if the value of this attribute is treated as text and thus cannot be used in the calculation; I get ######.

Is there a way to make the "ForcePerSQIN" parameter treat the user-defined value as a number instead of text so that it can be used in the calculation? Or is there a better way to accomplish my ultimate goal?

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Increment Text Or Attributes?

Nov 21, 2013

Is it possible to increment text or attributes in a dynamic block? I'm want to create elevation text for grids that can start at a certain value and increment up or down from there.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Doesn't Move Attributes

Dec 17, 2013

I'm working on a dynamic door block, which allows me to add some height and width values to the door. everything works fine when I put in the attributes right away when I insert the block. Only if I want to mirror and stretch the block before I enter the values they want move to the correct position. After I run "attsync" it moves to it's correct place.

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Annotation - Including Attributes?

Jan 10, 2013

I am experimenting with Annotation, trying to create annotative blocks with dynamic properties.  I am having trouble with including attributes in the blocks.  Basically the problem is when I modify the dynamic parameters of the block and change the scale (and annotative scale) of the viewport then the attribute gets moved out of position - the size of the text scales properly with the annotative scale, but the text position gets moved considerably out of the proper position.

Attached is an example of the problem - an annotative dynamic block of a grid bubble.  There is a basepoint parameter set along the circle and a rotation parameter justified to the center of the circle.  The rotation parameter is suppose to rotate the basepoint so then the block can be scaled out from the basepoint regardless of its location along the bubble.

View 1 Replies View Related

AutoCad :: Visibility Parameters Containing Attributes Within Dynamic Blocks

Aug 22, 2007

Is it possible for a dynamic block to have one attribute which is set to different visibility parameters; eg. i have a block made for a Setting Out Point. I wish to have 4 different locations that the user can place the attribute after insertion of the block ie top, bottom, left, right, of the SOP.

View 2 Replies View Related

AutoCad 2D :: Flipping Text Attributes In Dynamic Blocks?

Jan 30, 2014

I was curious to know if it is possible to flip the orientation of an attribute when using a mirror parameter. I would like to orient my text to the right when I flip it one way and to the left when I flip it the other way.

View 0 Replies View Related

AutoCAD Dynamic Blocks :: How Can Some Of The Attributes In Properties Invisible

Mar 4, 2012

how can some of the attributes in the properties invisible

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Fields Within Block Attributes Will Not Update

Aug 31, 2012

I have a couple of attributes suing fields within a block. But they don't update on opening. I need to do a manual field update to get them updated to the latest values.Tried various combinations of "fieldeval", but this was no good.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Annotative Associative Block With Attributes

Oct 1, 2011

I "work in both worlds" It's somewhat important.  (Windows at my "day job", Mac Student Ed for my University teaching.

I have an Annotative Associative block with attributes (TTFs).  The Title attribute is multi-line.  When the block used in a file that is opened in Windows, obvkously everything is fine.  If that same drawing is opened in ACAD Mac, the position of the top attribute shifts and can't be corrected until the block is edited in Windows.  (It has to be Windows because ACADmac can't edit associative blocks in this release.)

Process I used (MacBookPro 7,1):
Start ACAD12win (Parallels 7 w/WinXP), used default ACAD.DWT.inserted block "Tag Drawing Title", accepted all attribute value defaults, accepted default annotation scale of 1:1save fileopened file in ACAD12mac (multi-line attribute in wrong position)save fileOpened again in ACAD12win, and multi-line attribute is still in wrong position.  Save fileOpened again in ACAD12mac, and multi-line attribute is in a greater incorrect position.

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Attributes Not Working In Visibility States

Oct 28, 2013

I'm new to dynamic blocks.  In my first attempt to create a simple dynamic block with various visibility states in which each would have it's own attribute, the only attribute that works is the attribute in the first visibility state listed.  I have read all the postings I could find here in the group on this subject and have made the following changes suggested here to the block:

1. All attributes have distinct tags and prompts. (I even erased all the originial attributes and created new with original tags.)

2. All attributes are locked in position. 

3. I REGEN after selecting a different visibility state.

None of these changes has had any effect.  Still, then only attribute that opens an attribute edit dialogue box is the "W" attribute in the first visibility state listed.

View 6 Replies View Related

AutoCAD Dynamic Blocks :: Text Attributes - File Size

Aug 4, 2009

I made what seems to be a very simple dynamic block with text attributes and a few grips attached to stretch and polar stretch actions, but the file size is about 2mb! This is huge... roughly the size of one of our firm's full floor plans. There seems to be nothing purgeable in the file, so I am wondering if this is just the size necessary for the functionality or if I am bloating this somehow.

View 5 Replies View Related

AutoCad :: Multiple Blocks With Editable Attributes In One Dynamic Block?

Oct 16, 2012

I have a group of blocks, when I click the blocks I get the editable attribute pop-up box. I can now enter a text of my liking.

I have now made a dynamic block of these blocks, with a visibility states dropdown. So that only one block is shown at a time and when I need to change it I copy the block and use the dropdown button to select the one I need.

The problem I have is that the when I click the blocks from the dropdown only one of them allows me to use the editable attribute pop up window. The others say 'The selected block has no editable attributes'.

If I can't have multiple blocks with editable attributes in one dynamic block or if I can and have done something wrong.

I've attached the block so you can see what I mean. Single Socket allows editable attributes others wont.

View 1 Replies View Related

AutoCad :: Rearrange Attributes - Battman Messes Up Dynamic Blocks

Jan 16, 2014

When i use Battman to re-arrange my attributes (in order to be able to auto-number them easily with a numbering-lisp), all values, rotation actions etc. are messed up and the block becomes unusable.

I use 2009, I've also tried it in ACAD 2014, same story.

The next step would be to create the block from scratch.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Automatically Export Attributes From Selected Blocks To Defined Txt File

Oct 3, 2012

How to create a lisp to automatically export attributes from selected blocks to defined txt file without having to everytime confirm the file name, location and if the file shall be replaced?

Meaning is that I often export attributes to txt file for further use. It is always the same file (I just overwrite it always).

The way I do it now is selecting blocks, using ATTOUT command, then going to the desktop, selecting ATT.txt file and confirming that it is to be replaced.

Is there a way to make lisp or script that will just do all it in at once?

I found on forum such a lisp as below, but it exports all ablocks on drawing and it exports to txt file which is located in same  place as drawing and with same name as drawing. Tried to modify it but without success:

(defun cut-att ()
(load "attout")
(setq fna (strcat (getvar "dwgprefix")
(acet-filename-path-remove (acet-filename-ext-remove (getvar "dwgname")))
".txt"
))
(setq ss (ssget "X" '((0 . "INSERT") (66 . 1))))
(bns_attout fna ss)
)

Same question for ATTIN - I use attin and always same file name from same location - how to automate it with one command?

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Object Automatically Rotated To UCS?

May 23, 2007

I have an arrow in my Dynamic Block which I can rotate to the north. But is there a commando that the arrow will rotate itself to the UCS? See drawing file.

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Move Attributes In Constraint Parameter Environment

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

AutoCAD 2010 :: Converting Existing Blocks With Attributes To New Dynamic Block

May 10, 2012

I want to convert existing lighting blocks with attributes to a new dynamic block. I created a few visibility states but when i insert the block I can't move the attribute text around. I don't have to redefine the attributes within the block editor to make this work. What is the best way to deal with existing blocks with attributes?

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Automatically Inserting Hinges Over Distance

Jul 17, 2011

I have a dyn block of a door (a 1:1 door designed to be laser cut from sheetmetal and folded, hence the strange shape), I want the number of hinge holes (3) to change to (2) when stretching below a certain length and vice versa. I have a visibility state that allows me to change the number/size of hinges/handles through the drop down, but I want to be able to eg. Stretch the door past a certain point (1000mm) and any distance after that will have a third hinge inserted automatically, and reduce back down to (2) when stretched below 1000mm.

I already have it set to stay centered, but trying to make it insert/remove over a set distance is difficult!

Attached.

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Multiple Attributes Mixed With Text In A Single Line

Jun 25, 2013

What do I need: In the example I will mark attributes with underlined text, and simple text with bold text

(Position)numberDiamdiam

Diam= diameter symbol

In the model space, I enter values:

Position = 3
number = 15
diam = 12

I need to get:

(3)15Diam12

instead of

(3       )15      Diam12

Is it possible to make an Attribute, take as a "Position X" value, the "Text alignment X" from a text ?

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Parameters Moving On Insert

Sep 1, 2011

I have a block containing a visibility parameter but the problem is when it is inserted, that visibility parameter is in a different place to where I put it in the block editor.

My geometry is around the 0,0 origin (which is also the base) and the visibility parameter was placed at 0,-25 in the block editor however once it is inserted in a drawing it shows up at 270,130.  

No matter where I move it back to, it always reverts back to another position.  Every time I try to change and reinsert, I purge the drawing so I know it is not picking up on something else.

View 1 Replies View Related

AutoCAD .NET :: Selecting And Moving Grips On Dynamic Blocks?

Dec 17, 2012

I took the time to search and was unable to find anything that seemed relevant. I have also had trouble figuring out the documentation.

Is there a way to select a specific grip within a dynamic block and then update its position?

View 6 Replies View Related

AutoCAD 2013 :: Copying / Moving Dynamic Blocks

Jan 22, 2013

My company just upgraded to 2013 from 2012, and we are having problems copying and moving dynamic blocks.  As we try to re-insert the object(s) after using the copy or move command, they disappear from the screen.  If we save the drawing and restart AutoCAD, the objects are there where we inserted them, but we cannot figure out how to make the objects reappear without restarting the program (Undo does not work).

The objects in question are dynamic blocks created with AutoCAD Civil3D 2012.  We suspect this might have something to do with conflicts between the two different versions of AutoCAD but we're not sure.  There are 5 or 6 of us who have this problem.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Polar Stretch Tick Marks Moving

Apr 4, 2012

The linear stretch works fine but changing the length affects the position of the tick marks of the polar stretch.  If I change the degrees to 0-360 then it's not a problem but I want to restrict to 285-345 deg.

I can't figure out how to move the base angle of the polar stretch with the linear stretch.

View 2 Replies View Related







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