AutoCad :: Change Width Factor On Multiple Block Attributes

Sep 8, 2009

I have a number of attributed dynamic blocks with multi vis states, that I wish to change from attribute text width factor 1, to 0.85, as per client specified requirement for the particular project. There are quite a number of different named blocks on each sheet, copies of each block, and quite a number of sheets involved.

Using BATTMAN or EATTEDIT I cannot select all attributes and change width factor in one go. It can only be done one at a time, a laborious task at best. GATTE appears not to be able to change width factor.

Any method of selecting all attributed blocks in a sheet, then changing the attribute text width factor on all to 0.85 in one fell swoop?

View 9 Replies


ADVERTISEMENT

AutoCad :: Clicking Block Go To Block Editor And Not Allow To Change Its Attributes

Oct 26, 2012

When the block is in a drawing and I click it, it takes me to block editor.

However if I go to it in block editor and test block it allows me to change the attributes.

Why does clicking the block go to block editor and not allow me to change its attributes as it does when I test block.

View 9 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 .NET :: How To Get All Block Attributes And Change It

May 22, 2013

How Can I Get All Block Attributes and change it

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Working With Multiple Attributes Within Block?

Aug 8, 2012

I know how to retrieve the entity information from the block, but can't figure out how to write the loop statement to loop, look for first attribute, assign to a variable, goto next attribute, assign to different variable, etc., etc...

In my research, most programs I've seen it execute the loop, assign to a variable, then print/put that data somewhere, loop again and utilize the same variable to print/put the next data somewhere. 

I would like each attribute within a block to be assigned a separate variable.

View 7 Replies View Related

AutoCad 2D :: Assign Multiple Attributes To Single Line Text Within Block?

Aug 7, 2012

If it is possible to assign multiple attributes to a single line text within a block, and be prompted for them upon insertion.

View 3 Replies View Related

AutoCad :: Width Factor In Model Space?

Feb 10, 2012

I am having trouble with width factor in Model Space. I change the width factor and it seems to change but when I print it has changed slightly but not to what it has is model space. I dont really want to have to check the print preview to see if it is correct. Is there a way of displaying the correct width factor in model space?

View 3 Replies View Related

AutoCAD 2013 :: Width Factor Of Multiline Attribute?

Apr 28, 2013

I was trying to find out, how to change the width factor of multiline attribute and I failed.

The only way was to change the width factor of texstyle the attribute uses.

Is there a way to override this property for a single attribute? And if not, is there some reason for that?

View 9 Replies View Related

AutoCad :: Change Mleader Block Attributes Globally?

Apr 12, 2012

Is there a way to change my mleader block attributes globally? For example, the tags in the drawing file are 200 series numbers, I want to make them 300 series, but keeping the same tens and ones digits (212 > 312).

View 0 Replies View Related

AutoCAD Architecture :: Setting Width Factor On Text Style?

Sep 12, 2012

I have set my text style and the height but what i am suppose to write in the Widht Factor case ?? The default setting is 1.0000?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Changing Text Color And Width Factor

Sep 28, 2013

What is the best way to change the color of two pieces of specific text in lisp? I want to change where it says (strcase ln6) & (strcase ln7) to the color of green. I tried it a couple of different ways but I'm having some trouble. First I am setting the current layer with a color of blue. I am then running the text command a couple of times. I want to run the mtext command a couple of times but I want the text to be green & I want the width factor to be .85

View 9 Replies View Related

AutoCAD 2013 :: Text Style Width Factor And DText / Attribute Updating

Sep 26, 2012

I am trying to get DText objects to update width factor when I change the Width Factor of the Text Style. We have one style (Simplex) & I hoped to be able to set the width factor of that style to 0.8 or 1.2 depending on what is required and then just insert objects from the tool palette so they have the correct width factor.

This seems to work for MText but not for DText or Attributes. Short of using lisp is there a to update the width factor of DText & Attributes? (hoping to be able to do this on LT also)

Only way I can see for DText is to qselect text and change style to something else and back to Simplex. Only way for attributes I've found is to advance edit block and change text style to something else and back.

AutoCad 2013 & LT 2013

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Multiple Blocks Attributes

Feb 27, 2013

We wanted to automatically fill a block's attributes from a selection in Excel. I have a piece of code that has the user select/pick a block to fill. What I want is for the selection to fill multiple blocks in an active drawing. Some of the blocks are the same - which means the same tags/attributes. I've included the code that allows the user to select the block and throws the Excel selection to certain attributes.change the code so that

1) I don't have to manually select blocks - it will find them.

2) One cell (from Excel) will go to multiple blocks - some are same block name.

3) An IF statement that if a certain cell isn't blank/nil

(pretend it would be (nth 21 vl) change DESC11 to XYZ and DESC12 to ABC. For Block namesake we'll call one, BLOCK1 (say it has 3 instances and gets different info in each case) BLOCK2 (say it has 2 instances, also gets different info) BLOCK 3 AND 4 both have an attribute - DESCAA1 that gets different info from Excel.

(defun C:AUTOFCM (/*error* adoc attribs blkobj enExcelapp Sel Sht Rng vl Wbk ) (defun *error* (msg)(if adoc (vla-endundomark adoc)) (if (and msg(vl-positionmsg '("console break""Function cancelled" "quit / exit abort") ))(princ msg)(princ "Error!") ) gc) (princ) ) (or adoc (setq adoc (vla-get-activedocument (vlax-get-acad-object))) ) (vla-startundomark adoc) (alert "Select a range of cells in Excel.") (setq ExcelApp (vl-catch-all-apply (function(lambda ()vlax-get-or-create-object "Excel.Application") )) ) ) (if (vl-catch-all-error-p(setq Wbk(vl-catch-all-
[code]....

View 1 Replies View Related

AutoCAD 2013 :: Change Multiple Lines Attribute To Single Line Attributes?

Jun 27, 2013

I have a block which includes some Multiple lines attributes.

Now I don't want them to be multiple lines any more.

How can I change them to single line attribute?

In the block editor, the "Multiple lines" in the properties palette is gray out. I have create single line attribute and replace the multiple line attributes one by one.

Why don't make the Multiple lines property editable? This problem is since Multiple line attribute first time introduced.

Interesting thing is single line attributes can easily changed to multiple line attributes through the properties palette! 

View 2 Replies View Related

Photoshop Elements :: 9 Crashes When Try To Change Width Of Block Eraser With Alt-rightclick?

Apr 16, 2013

Elements 9 crashes when I try to change the width of the block eraser with alt-rightclick? Can i prevent this?

Example:

View 4 Replies View Related

AutoCad 2D :: Rotate Block With Attributes - Messed Attributes

Jan 23, 2012

From the attached image you can see what I'm talking about.

(left=original, middle=ROTATE, right=PROPERTIES)

When I rotate blocks using ROTATE command everything is fine, but when I rotate blocks using PROPERTIES my attributes get messed.

I need to rotate several blocks at once with PROPERTIES, because I don't have time to rotate each one separately.

The same thing happens when scaling blocks, but this was resolved using the command BSCALE in the command line.

View 5 Replies View Related

AutoCad 2D :: RTF Import - Spaces Change Width Based On Width Of Columns

Jan 9, 2014

I'm having trouble with the spacing of my text when I import a .rtf file. The spaces change width based on the width of the columns. The problem does not effect all the paragraphs only select ones. If I change the width of the column the spacing of the text will fix itself. All of the text is the same text style. I have attached a copy for reference.

View 2 Replies View Related

AutoCad :: Xref Block Unit Scale Factor?

Apr 8, 2011

I'm inserting an xref, and its coming in at a weird scale.... I noticed that in the 'external reference' dialog box the 'block unit' scale factor is set to a weird scale (.0394), but it will not let me edit it.

View 5 Replies View Related

AutoCAD LT :: Modify Border Offset Factor From Default Of 1.5 / Factor Reverts Back To 1.0

Feb 6, 2006

When using mtext and a background mask and try to modify the border offset factor from the default of 1.5 , the factor reverts back to 1.0. If I type in 1.25 or 1.75, it will not save it and revert to 1.0. If I put in a larger number like 2.0 or 3.0, that factor will be retained.

View 4 Replies View Related

AutoCad 2D :: Automatically Updating Defined Width Attributes For MTEXT?

Dec 8, 2011

I was curious to see if there's a way to set up Autocad (2010) to recognize when MTEXT objects are edited, and have it adjust their defined width automatically (both single- and multi-line)--versus having to click on the arrow every time to snap the text box "margin" to the actual text. I'd like to do this to keep my background masks the exact width of the text; I just hate it when the mask doesn't cover enough of the text, or when it covers more and the background is unnecessarily obscured. I'm careful about keeping things neat, but my coworkers aren't .

View 1 Replies View Related

AutoCAD Civil 3D :: Create Block With Attributes That Automatically Complete X / Y And Z For Insertion Point Of Block?

Feb 14, 2013

Is there a way to create a block with attributtes that automatically complete x, y, z, lat, long for the insertion point of the block?

I am trying to complete text in paperspace that will automatically fill in the lat long of a point in model space without using a table.  I have tried field insertion with reference to a cogo point, but it doesn't give options for position on a cogo point.  If I pick a block with attributes, it will let me pick any attributes, and x,y position for the block.

Cogo points show all the information I need to propagate in the properties....but how do I get that to translate into the text using fields or some other method?

Dell Precision T3600 - Windows 7 64-bit
NVIDIA Quadro 600
Intel(R) Xenon(R) CPU E5-1607 0 @ 3.00GHz 3.00GHz
8 GB ram - Two 1TB raid

View 9 Replies View Related

AutoCad :: Update Sub Block Entities / Attributes With Dynamic Block

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

AutoCAD .NET :: Inserting A Block Defined With Block Attributes

Apr 8, 2013

I can insert a block with block attributes using the Inter op very easily:

Dim theBlock AsAcadBlockReference      
Dim pickScreenVBA = myDoc.Utility.GetPoint(, "insert the hydrant")
theBlock = myDoc.ModelSpace.InsertBlock(pickScreenVBA, "Hydrant", 1.0#, 1.0#, 1.0#, 0)
Dim varAttributes AsObject
varAttributes = theBlock.GetAttributes
varAttributes(0).TextString ="3 Ports"
varAttributes(1).TextString ="Salt water"

Works great, but when I try using the non-inter op, all the example insert new Attributes and not add block with existing attribute (so I end up with duplicate attributes for each block - i.e "Salt water" attribute is added to the block each time I run the code), 

Are they any examples that does the same as above using the non-interop code?

View 2 Replies View Related

AutoCad :: Add Some Attributes To Existing Block Using Block Editor

Dec 12, 2013

I'm trying to add some attributes to an existing block using the block editor, but after I save and close it I cannot see any 'placeholders' despite adding a default value and the attributes work fine when I double click the block.

I've tried using the ATTSYNC and BATTMAN commands but nothing works and there are no invisibility states applied to either the attribute or block and all layers are switched on.

I just tried making a quick block from scratch and it seems to have the same affect, except the default value will show, but no 'placeholder' shown if left blank.

I swear with previous version I could see the tag when a value hadn't been applied, so is it that the version I now use (2012) does not have this feature or it's disabled?

View 9 Replies View Related

Illustrator :: Select New Width Tool To Change The Width

May 9, 2010

I drew a cured line with the brush tool in illustrator CS5, but when I select the new "width tool" to change the width, it doesn't work.
 
Here are my steps:
 
1. Select the paintbrush tool
2. Draw something
3. Select the "width tool"
4. Try to change the width but it won't work.
 
Since I draw with the paintbrush tool, the "width tool" can be very handy if I can get it to work.

View 6 Replies View Related

AutoCAD .NET :: Getting Block Attributes From Title Block

Sep 19, 2011

I'm trying to chnage the text of the sheet number and total sheet number attributes for each layout in my drawing.  I have code that adds and deletes the specified pages, now I need to edit the attributes to reflect the correct page and correct total amount of pages.  Here is my code, based on my old VBA version.

I know there is a problem with the line:

For Each item In myBTR.ObjectId

I've used a number of websites and books, but I would really like to find something that teaches about block tables, block table references, block table IDs so I can get a better understanding of breaking stuff down to get the info I need. 

Public Sub updatePageNumbers()
Dim myDWG As Autodesk.AutoCAD.ApplicationServices.Document
Dim myDB As Autodesk.AutoCAD.DatabaseServices.Database
Dim myTransManForPageNumbers As Autodesk.AutoCAD.DatabaseServices.TransactionManager
Dim myTransForPageNumbers As Transaction

[Code]....

View 6 Replies View Related

AutoCad 2D :: Make Polyline Annotative - Change With Scale Factor

Sep 16, 2011

In our office cutlines are made up of polylines. When I use this in an annotative drawing I cannot get the polyline to change with the scale factor. Is there a way to make the polyline annotative?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Lineweights Of All Layers By A Factor

Jan 22, 2013

I was wondering if it is possible to change the line weights of all layers in a drawing by factor? What I am trying to do is multiply all lineweights by 0.5 so that all lineweights are cut in half. I could just manually do this, but I have around 1000 layers in the drawing, so I'd rather not lol. However, I forsee a problem becuase layer lineweights cannot be assigned just any value, but instead they come from a predefined list. Which means that when a number is divided in half, that new number might now not be in the list.

So another option would be some way to remap all lineweights. This would work pretty well for me since I only have about 4-6 different lineweights throughout the drawing. So I could just say: All layers with lineweight = 0.024" go to 0.014", and all with 0.014" go to 0.006", and so on.

I am aware of how STBs, CTBs, and the "scale lineweights" option all work. But I am not looking to use those. I want the lineweights coming from the layers themselves.

I have used LISPs before, but unfortunatly I have never written one, so I am not familiar with the syntax.

View 9 Replies View Related

AutoCad :: Global Edit / Block Attributes Rotation BACK To Match Block Rotation

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

AutoCAD .NET :: Get Block Attributes

Feb 29, 2012

Function ReadDWG(ByVal DWGName As String)
Dim AcadApp As AcadApplication
Dim AcadDoc As AcadDocument
Dim Extracted_title As String RichTextBox1.AppendText(Path.GetFileName(DWGName)) RibbonLabel1.Text = "Opening AutoCAD"

[Code]...

I am using the above code to read block attributes depending on the name. But now I need to read the active drawing (drawing will be open and should read from the active document). In the above code I have referenced interop.dll. without that can I retrieve the block attributes. How to read the block attributes from the active document.

View 2 Replies View Related

AutoCAD LT :: Block Attributes With Variables?

Aug 7, 2013

Using ACAD2014LT.  I want to use the first variable attribute value as a variable in subsequent attributes in the same block.  This will be extracted and used for tag references in a PLC program.

Along the line, i know I can change the enclosed character ( ' ), but can I remove it?

View 3 Replies View Related







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