AutoCAD 2010 :: Can Change Attribute Tag Names
Feb 4, 2013I 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.
View 5 RepliesI 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.
View 5 Repliescreating 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.
View 1 Replies View RelatedWhat 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.
View 2 Replies View Relatedi 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?
View 3 Replies View RelatedI 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 am using Autocad Electrical and I have an attribute name INST for the installation code in multiple blocks in my drawings. Is there a command out there that can change the font of just that attribute to Arial through out the drawing. I do not want to change any of the other attributes and they all use the same style.
View 7 Replies View RelatedI used the BEDIT command (editor) on my block to modify the text size then save the block editor changes. Then use ATTSYNC to perform the changes on all existing blocks references to resize the texts, but after i complete the ATTSYNC command, the text in all the blocks disappear.
View 2 Replies View RelatedI am fishing around for information that will abstract my macro one more level. I coded an excel macro to run the following statement on a given set of drawings:
DWG.SendCommand ("FILEDIA" & vbCr & "0" & vbCr & "-ATTEXT" & vbCr & "C" & vbCr & ExtTemplate & vbCr & ExtPath & vbCr & "Y" & vbCr & "FILEDIA" & vbCr & "1" & vbCr)
Yielding text files which I consolidate into Excel to generate a full attribute extraction of the drawing set. My question concerns the extraction template file used in the ATTEXT command (shown as ExtTemplate in the code above). As it stands now, the Excel user must provide the attribute tags they want to extract and then I generate the proper extraction template in the background. My goal would be to eliminate this step from the user side and simply extract all attributes in the drawing instead of a designated few.
If you know a better way to do this using the ATTEXT command or a way to do this without the ATTEXT command at all, I would be grateful to hear it. From my current perspective however, I believe I would need to query the drawing to get a list of all attribute tags it contains, then configure the extraction template to use all the tags from that query. I cannot figure out a way to generate this list of tags. So, that is my question
I have two visibility states. STATE1 and STATE2 used at attribute .
I only see the first (STATE1) or the default.
Changing the state works fine with objects ( a simple box and circle) but not with the attribute.
I know how to create a block and all that is fine, but looking for detailed simple lesson on how to create a Attribute. ( I guess thats what they are called). For instance, drawing a floor plan with different room names and etc, I know there is a way to make a circle or polygon, or square and then when it is inserted in the drawing, you just have to type the new name of the room, or the window symbol, or door number and etc.
By the way, I am using a student version of AutoCAD 2010. Also, if you could also add the keyboard shortcut alias's too would be a great deal.
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")
[Code].....
Is it possible to edit a block name? The alternate solution is to create a new block (door) to accurate describe sizing/ type and copy to and delete old blocks w/ innacurate names. Because of the high number of doors, the alternate solution would take much longer.
View 9 Replies View RelatedIs this possible if i can change the column names, not a cell. For instance: Name of the column is "Full Description" to become something else? Or add a new column with my own description?
View 1 Replies View RelatedI am working on some office templates and I am unable to change some of the original attributes names. I have googled and read some articles on the autodesk site and have not figured it out as of yet. I am using autocad 2012. I have inserted a jpeg file for you to see. The names in the TAG row are what im trying to modify.
View 2 Replies View RelatedI have a drawing (let's call it "main.dwg") with an external reference (let's call it "file.dwg") as the bulk of its content. The drawing "main.dwg" has 16 layout tabs, each with several mview windows.
Needing to make some changes to "main.dwg" for the first time in a couple months, I just opened it and was having issues with freezing out layers in the mview windows. It turns out that "file.dwg" appears twice in the xref list under two different names (let's say "File 1" and "File 2") with the same target path.
Besides the disorganization created by the double xref, it makes freezing layers in the mview windows twice as complicated, since each layer now appears twice in the layers list. For example, since layer 0 appears in "file.dwg", "main.dwg" contains the layers "File 1|0" and "File 2|0".
Detaching "File 2" in the xref list removes both references. Retargeting "File 2" to a different file retargets both references. Detaching both and reinserting the xref resets the layer freeze settings in every mview window, making every layer visible again.
I have created multiple tool palettes that i load depending on whether im working on a rcp plan or a toilet room plan, etc. On the right hand side it says Tool Palettes - All Palettes. How to rename that to say rcp,civil, etc? If I right click on the right side of the tool palette & select rename it renames all tool palettes to whatever I type in. I thought it might be tool palette groups but I am not sure. I can't seem to set one to be current. The selection is grayed out
View 3 Replies View RelatedI have a full set of water drawing that need to be submitted to the City’s Water Department. We have to include DWF and DWG drawings on a CDRom, but that is easy. The issue is that there is a stand-alone submittal set. Now, this is not hard to do with Sheet Set Manager; that is not the problem. The problem is that the Water Department has a special set of layers that they want any Civil to use for submittal. These layers are of course different from the NCS we are using now and in our CD submittal set.
Is there a better way than to insert or bind the drawings to a special set of drawings and then change the names? I would most likely use either the “rename” command or the “layer translator” function in Civil 3D 2012. However, if I ever had a revision that affects the base drawing and the CD set; I would have to re do all this binging/inserting and renaming over as well.
I recently updated our CAD Library to dynamic blocks. In the process of updating our drawings, we realized that we could not use BLOCKREPLACE to replace dynamic blocks with another dynamic block (with new name) once the dynamic element has been changed. I realize that this changes the state of the block and anonymous block names are created.
I need a simple solution so that members of my group can easily replace dynamic blocks with new dynamic blocks.
I'm finally wrapping up work on an iLogic Configurator project and have started to brainstorm the best workflow to get this "Smart Assembly" into the design group's hands. I had been anxiously awaiting the new "iLogic Design Copy" feature in IV2012, but just recently learned that users are unable to effectively rename any components with this command.
Is this really true? If we can add prefixes or suffixes, what's stopping us from changing the entire filename? We haven't upgraded to 2012 yet, but it seems like this may be a silly and unjustifiable restriction to a command that would otherwise save our designers hours of "file-management" (ie, manually renaming parts in Explorer, component replace in assy's, replace references in idw's, etc) each week.
Long story short, it seems that every workflow I've come across has had some sort of silly limitation that makes it undesireable for my application:
My top-level assembly contains all of the rules, and changes parameter values in the referenced skeletal parts. It also swaps standard parts for other standard parts as needed.I need access to rename ALL files (idw's, top-level assembly, subassemblies, and base components) while still maintaining/updating all internal hyperlinks between them.iLogic rules must be carried over to the new copied components (the existing "Copy Assembly" command strips the assembly of all rules). In light of the iLogic Design Copy's apparent shortcomings, any better workflow?
I need to change the value of some tags in a title block on multiple drawings. I tried using Lee Macs attribute changer [URL]. It works fine but not when tags have the same name.
I then looked at this code - [URL]
Idea was to change the tag names then use Lee Macs program. It too fails when there are duplicate tag names. It changes all tags not just the one I want.
In the the title block I have 3 tags with the name "NAME" but only one will have the value I'm looking to change. If I could place an IF statement some where in the above codes (or another code altogether) to instruct that IF the tag name is "NAME" with value "Dennis (BSL)" then change either the tag name or the value to "Daniel"
Im pretty bad at this programming stuff but with so many drawings I need a easier, automated way of doing this.
I have 2000+ drawings that have either the layer state "LMAN_DWF" or "DWF". I want all of them to read "DWF" for scripting purposes. LSIP routine that will go into a drawing and change rename a layerstate if it is named incorreclty, but do nothing if it is named correctly?
Does Layer State "DWF" exist?
If Yes, skip file and move on to next file
If No, does Layer State "LMAN_DWF" exist?
if Yes Rename Layer State to "DWF"
If No, skip file and move to next file.
Or a LSIP routine that can simply dump a list of all drawings in a directory that contain "LMAN_DWF" as a layer state. I could then use that list to do a simple script to change the layer state names on those specific files.
I would like to display the room name and area as text from a spaces i have created. Like a room tag that will automatically update if the space is altered.
I have tried a number of ways but have been successful and the solutions are often overly complicated.
I have since given up and simply entered text and included a field for the space name and another field for the base area however this is quite laborious. surely there is a simpler way of doing this.
I would also like to include occupancy numbers that would also calculate the m2 per person if that is possible?
I notice that whenever I plot with DWG to PDF.pc3 the filename for the PDF always comes out as:
(.dwg file name)-(paper space name).pdf
Is there any way to change the inputs for this? Let's say for example I wanted AutoCAD to automatically insert a timestamp at the end for me, so that the filename is always:
(.dwg file name)-(paper space name)-(date and time here).pdf
This would keep me better organized and also make it easier for my less computer savvy coworkers to go through old drawings and see changes between drawings. I know I could type it by hand every single time, but why do that if there's a way to have AutoCAD do it for me
I'm in the process of creating 3D points (as an overlay) on some laser scanned data (using RiScan, it's just 3d dimensional data, with a northing, easting and RL) and unfortunately the only export option is to export to .dxf... Which is fine but when I export, the information has the point ID as the layer name.
I am aiming at getting this data into another program to analyse and it needs the point ID or name to be my annotation, as opposed to the layer.
So what I need is a way of converting the names of each individual points layer, to the point ID.
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)
[Code].....
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?
View 2 Replies View RelatedI can no longer change the name of raw files when saving as JPEG. Software will convert to JPEG but only with the same file name. Previously saved files work fine.
View 1 Replies View Relatedi'm currently working on a new website with a friend, we are using Dropout to share the files, he's the coder, and i design. Im using a pc at the moment, and he's on a Mac, when i save my files, they are saved with capital letters, and to upload it in dreamweaver on a Mac they cant have capital letters. So my question is, is it possible to change the file name to .jpg instead of .JPG? And how do i do it?
View 2 Replies View RelatedI have an issue regarding nested entity.
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].......
I have a problem: There are a lot blocks in my DWG with 3-5 Attributes. I change the Values of the attributes in the .Text String but they aren't set as default values of the block attribute. Now i want to set the actual value as default / initialize value of the attribute without entering every time in the block editor
with the following code its possible to change the text string. I can set the attribut.textstring as default value?
Public Sub changedefault()
Count = ThisDrawing.ActiveLayout.Block.Count
For Index = 0 To Count - 1
Blockstring = ThisDrawing.ActiveLayout.Block(Index).ObjectName
[code]......