AutoCAD 2013 :: Change Layout Tab Name By Changing Attribute?
Apr 26, 2013
Is there a way to change the layout tab name to match an attribute in the drawing? For example, I have a block in my title block named REV and an attribute in that black named RevNum, I want my users to be able to edit that block and the layout tab automatically change to match, i.e. if they modify the RevNum attribute to be A i want the layout tab name to change to A. I want this to be transparent to my users normal workflow.
I have a Block that represent a point and has an attribute in order to label the point that I am displaying. According to the scale I can change the size of the point itself but I am having problems changing the size of the Atribute in order to make the label readeble in the scale that I have in drawing. How is possible to chage the Text size of my attribute in the point block so I can read the labels easily?
Can I insert a field in the title block in the layouts that will show the date of the last change made to the part of the model that is shown in the layout view.
I can't seem to change a viewport in layout view to show my drawing properly. No matter what I do the page only shows a very zoomed in view or a very zoomed out view. I have tried all menu options witht he word scale in, including the scale list. I have looked in the properties inspector.
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!
creating a block with attributes. I did manage to get my block set up and inserted in a dwg, but I am unable to change the "value" of any attribute. Unless I click on the "..." button next to the value field.
What I really want to do is on our fire alarm blocks we have 3 different attributes one for the address, the candela and one for misc info. I want to make an attribute that takes the number from the candela (15,30,75or 110) and change a different attribute to a value depending on which candela we use (such as 15=.078, 30=.113, 75=.195 or 110=.259). But I don't want the .078,.113,.195,.259 to print out on paper, I want to export block information excel file so I can add up all values.
using ACadLT 2008. i'm creating a frame sheet for my firm. i created attributes inside a block. when double clicking, the attribute dialog will lunch and i can type the info, but...
i need instances of the same attribute among the sheet so for example the "date of submission" and the date i keep in the "history" are always the same, i don't want to enter twice the same date.
select all blocks on certain layers in a drawing, check attribute CIRCUIT in each block if it starts with MS then attribute CONTROL = switched. I hope thats clear enough the way
(defun c:control() (graphscr) (Setq sc (ssget "X" '((0 . "INSERT")
i have tons of column tags but wants to change the distance between column size and the circle and make the font smaller. I can do this individually but can't do one by one..... is there any way i can adjust all by one command or one magic touch?
I use illustrator for several things.So i really need to use shortcut's.But there is one big problem : I have the english version of illustrator and i have a German keyboard layout.An example :
To blank a shape u use '/' ( English Version ) To blank a shape u use '#' (German Version )
I can't use '/' cause i have to press shift+/ ... I dont know its not working.Can i change the "Shortcut-Layout" and use the German layout ?
I was trying to change an attribute and lost the "imperial door" dynamic block. I do not know where to find the original and replace it in the tool palette.
Any lisp routine for changing the text width of all the attributes in a block globally. I want to change it from 1.0 to 0.8. I have attached a symbol where the attritube tags will be the same.
I only do programming when absolutely needed so it usually only happens every couple years. I wrote this routine to count nested blocks inside of dynamic blocks to count parking spaces. The routine worked fine but was relying on the ltscale to scale a block containing an attribute for the total number of spaces. I want to update the routine to use an annotative block so the scale doesn't have to be set. I changed my block containing the attribute but now when I run my routine, the attribute height gets changed each time the routine is run. The text just gets larger and larger. Here is the portion of the routine where the attribute info is gathered and updated with the new value for that attribute. If you need the entire routine, I can post it with a slight modification so it will work outside our network.
(defun updateattrib () (setq CNT 0) ; sets count to 0 (while (< CNT (sslength ss)) ; starts loop while CNT is less than the number of objects in the group
[Code].....
I am running this in Civil 3D 2010 but will want it to work in 2013 so if the solution will only work in 2013, that is fine with me.
I want to create a dynamic block with multiple visibility states. Each of these states will have it's own attribute for users to enter in information. Is there a way to have the attribute automatically prompt for entering information upon changing the visibility state? That is without hashing too much into the API and code?
Then maybe even go a step further and clear out existing attribute information if the visibility is changed?
I need changing the line weights.I was given an AutoCAD 2009 file that already had the drawing created. In the Model space, the drawing has been created on Layer 0. Some of the other lines have a different layer - but most of it is created on Layer 0.My manager has asked me to simply make some of the lines bold and leave the rest as is.
When I turn on the LWT button at the bottom of my program, the line weight is extremely bold (shows "By Layer" for the line weight). I have gone back to each layer to select a thinner line weight and saved the drawing. However, when I go to print, the line weight defaults back to the “By Layer” line weight.
do I need to be in Layout space to make these changes permanent?
I have then created a new layer (with a new colour) and selected my preferred line weight – and changed the lines that I want to be thicker, to the new layer I created. When I go to print, I went into my printer settings and insured that the new layer I created and colour has the preferred line weight I want. However, when I preview my drawing, it has made all the other layers thicker, and the ones I want thinner.
Should I follow the previous forums and threads using the pline and pline edit?
Trying to change the color of a layer in a viewport (different than the default layer color (i.e. model layer color)). Objects are set to bylayer. Changing the VP color in the layer dialog brings up the color dialog, select a different color, click OK and the VP Color DOESN"T change in the layer dialog. It stays at its previous color. Occurs on several machines.
I am trying to change a text in attribute using vb.net.
I am using the following sub to update my attribute, if I use the message box I get correct information about the block, the attribute.tag I want to change and the text. The changes to my attribute are not saved.
Sub UpdateAttributeValue(ByVal BlockID AsObjectId, ByVal AttributeTag AsString, ByVal TextaStr AsString) Using myTrans AsTransaction = BlockID.Database.TransactionManager.StartTransaction Dim myBRef AsBlockReference = BlockID.GetObject(OpenMode.ForRead)
How to access the BTR, read and write BRef, attDef, AttRef etc. But this has me stumped. There are a few different examples but can’t find anything that works and don't know why.
I have inserted a block in modelspace, I have the BlockRefID and now want to change its attribute values. This finds the attributes tags but doesn’t write the sValue. Why it isn’t writing the value to the block.
Public Sub ChangeAttributeValue(ByVal BlockRefID As ObjectId, ByVal sTagName As String, ByVal sValue As String)
Dim doc As Document = Application.DocumentManager.MdiActiveDocument Dim db As Database = doc.Database Dim tr As Transaction = db.TransactionManager.StartTransaction() Dim br As BlockReference = DirectCast(tr.GetObject(BlockRefID, OpenMode.ForWrite), BlockReference) [code]........
I have a drawing with numerous copies of a particular block. I would like to change the Lineweight of the attribute so that it is reduced in all of the blocks in my drawing. How can I do this?
I would like to learn is there any possibility to provide renaming the tag name of a created attribute, if there is a way, it could great to learn it from your side.
I need to change an attribute tag that was (locked) during the making of the title block.
See screen shots.
Autodesk Plant 3D Premium 2012 Autodesk MEP 2012 HP 3.2 Ghz CPU 16 ram 1TB 7200 rpm SATA 3Gb/s hard drive 2GB DDR3 NVIDIA GeForce GT 530 HP 2311x 23" LED Monitor
I have a nested entity block reference. In this entity I have three blocks. if I change any of the block reference attribute definition in the nested block reference then it is changing the original block itself.
Actually I am getting the handle of the selected block reference in the nested Entity. and change the attribute reference later. but it is making change in the block itself and other block reference too.
Here is my
static public void CONTACTS() { Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument; Editor ed = doc.Editor; string contactName = string.Empty;//to hold contact name, from xdata [code].......