AutoCad 2D :: How To Get Same Block In A Drawing With Different Names
Dec 25, 2011how to get same block in a drawing with different names????.
i tried if i rename it all blocks are changing???
how to get same block in a drawing with different names????.
i tried if i rename it all blocks are changing???
I'd like to get rid of all AEC block names in my template. I've tried BLDSYSPURGE and that didn't work. We don't currently use ACAD MEP for it's intended purpose so I just want these out of the block name list in our template for now. Is there a way to do so?
View 6 Replies View Related1) Is it possible to extract data from dwf file in autocad 2012?
2)I need to extract blockNames from dwg file but i dont know how to extract blackNames because text in dwg file may change but pattern will remain same.
I am using Visual studio 2010 and Autocad 2012
I have several architects who use VectorWorks that then export their electrical to me in a dwg format. I then use a program that makes intelligent devices from their blocks. The problem is that if there are 300 receptacles that are exactly the same, there is be 300 different block names for then such as group_205-1. In the past I just individually insert my intelligent block over each one of their blocks. But Now I am wondering if there is a way to select all the blocks and give them the same name and not have them all disappear because autocad sees them as duplicates.
I tried block replace, but it is one at a time and it gets rid of the old block. I then downloaded a trial of mblockreplace.vlx. However, it seems to also make all the blocks disappear. How to give the blocks the same name in a multi-select fashion without them all disappearing afterwards?
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 RelatedI am renaming a bunch of blocks that had non-descriptive code names with new descriptive names for our power substation division. Example: 2002 -> Strain Clamp U Bolt.
I am debating whether I should put spaces in the new names or use the under-bar '_' for spaces. If I use spaces the names will look nicer and may word wrap better when I put these blocks into a tool palette. But I'm paranoid about using spaces because of the nagging feeling it might be a problem down the road, say with parsing in lisp code or something.
I have 500 autocad files and I wish to pull the border block name from each file, is there a way of doing this automatically
View 6 Replies View Relatedmy job is to make an editor for blocks in C#. There should be a WPF-window were the user can see a list of blocks. He selects one and than he should see an overview about block attributes like insertionpoint, basepoint, rotation and scaling and he should be able to edit these attributes in this form.
I know how i can populate a list of block names, but I fail at finding an opportunity to edit these attributes.
I get the blocktablerecords, but then?
We are using a title block and it has an attribute field that links to the file name. Now one of our projects is adding the revision to the CAD file name, but it messes up our drawing sheets.
i.e. It was fine when the CAD file name was 111-A222-ZZ-X-123456.dwg and this would display the complete 111-A222-ZZ-X-123456 in the drawing title.
Now we need to do this, the CAD file name, 111-A222-ZZ-X-123456-001002-A1.dwg and we still need to just show 111-A222-ZZ-X-123456 in the title block, striping away the 001002-A1.
I need to change the section view name height..I can able to collect all the text and also able to change the height. But only for the view names i need to change the height. Im using COM API...
Here is my code.
//why i used 3 here is ,because section view name strings will be like" A-A"
//im also try to assign color for the view name
if (acadText.EntityName.Length.Equals(3))
{
acadText.Height = 6.0;
AcadAcCmColor sectionViewTextColor = acadText.TrueColor;
sectionViewTextColor.ColorIndex = AcColor.acMagenta;
acadText.TrueColor = sectionViewTextColor;
acadText.update();
}
is there a way of find and replace tab names in one drawing file? one file with six tabs named 001 rev A, 002 rev A etc. i would like to change all the "rev A" to "rev 0" with out going into each tab seperatly and changing them.
View 2 Replies View RelatedIn autocad 2011 ... I am looking for some sample code to delete all blocks with specific names in a multi layout drawing. There may be multiple blocks with the same name.
This is what I have so far ... this code collects the objects and loops through the layouts and the blocks ... if it finds the text "REVBLK" in the block name ... I want it to delete the block ... it does delete some of them but not all of the blocks ...
Dim E1 As Object
Dim ATS As Variant
Dim EA As AcadAttributeReference
Dim objLayouts As AcadLayouts
Dim LayerNextNo As Integer
Set objLayouts = ThisDrawing.Layouts
LayerNextNo = ThisDrawing.ActiveLayout.TabOrder
[code]....
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.
my plot file names don't include the drawing name, only the layout name. it used to include the drawing name. i must have changed something but i don't what.
Dell Studio XPS 9100
Intel Core i7 CPU 930 @ 2.8GHz
12GB Ram
64 bit
C3D 2012 SP3.0
I 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.
My drawing- block is a little bit complicated, it contains few actions and parameters and everytime i open block editor to add, or to modify some action I can't see my drawing because actions grips and parameters grips obscure my drawing. I tried to refresh layout but it doesn't work.
please take a look on attached jpg.
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.
Drawing A has a grid system Xref-ed into it. It also has a block reference in it, repeated in various places throughout the drawing.
I Xref-ed the grid into the block to check something, and now I can't get it out. This means that the grid now repeats all over Drawing A as well and is generally being a nuisance.
If I try to unload the Xref within the block, it unloads it in Drawing A too. If I try to detach it from the block, it returns this message: Xref [Xref name] has multiple references. Not detached. If I try to detach the Xred from Drawing A, it returns the same message.
How do I unload the same Xref that occurs in a block in a drawing, and in the drawing itself, independently of each other?
I accidentally included a file rename when I just imported a batch of several hundred pictures. I violated a rule that I teach my own Lightroom students, and that is to look carefully at the import panel choices before proceeding.
How can I correct this so that the files are named as they originally were? I know how to easily fix the filenames in Windows (using a tool called BulkRename, for example), but then I'd have to "find" each image one-by-one and correctly point to the renamed version. I tried selecting all the images and then using F2 to rename, but none of the templates allow deleting a portion of the filename.
P.S. Here is an example of what I mean:
ON CARD:
IMG_0001.NEF
...
IMG_0300.NEF
WHAT I RENAMED TO ACCIDENTALLY:
IMG_0001 {shot by John Doe}.NEF
...
IMG_0300 {shot by John Doe}.NEF
I need to get list of all block reference in a drawing without iterating through all entities in the drawing.
View 7 Replies View RelatedI am trying to insert a block from another drawing, the only way I have been to acheive this has been to open the drawing
Set ObjDocument = ThisDrawing.Application.Documents.Open("D:ACADBlocksGENERAL.dwg")
For Each ObjBlock In ObjDocument.Blocks
If InStr(ObjBlock.Name, "LOGO") <> 0 Then
CopyObjects
End If
Next
ObjDocument.Close
I would prefer not to open the drawing to access the block, is this possible in VBA.
I recently changed a block that i then re-saved to a different palette on my tool palette. i deleted the old block out of a current drawing and when i go to insert it i get the old block back and not the new one. if i open up another drawing and insert the block its the new one.
View 3 Replies View Relatedfor some reason when i select a layer and draw a line (lets go with blue) it draws a white line, though in layer manager it says i'm drawing a blue line. when you click, then rt click the line, go to properties it says the line is drawn "by block" once i switch it to "by layer" the proper colors come up. I am altering a drawing so its easier for me to draw in a different color to see what i've done and what was already there.
View 9 Replies View RelatedIs there a way to remove blocks from a drawing without having to explode or burst? I'm trying to clean up backgrounds for a hospital and every drawing is driving me mad! After I explode them, all kinds of new entities appear making the problem worse. There has to be a better way. I've tried bursting, but - same effect. On another note, my office is trying to move us to Revit, which appears to have a ridiculously steep learning curve.
View 9 Replies View RelatedI'm using blocks inserted into drawings to provide the background for the drawing which I'm working on. e.g an architects building layout inserted as a block and then used as the background in an electrical layout drawing.
This drawing being used for the background has been edited to remove various details and layers and give a cleaner background to my drawings, and is saved as its own dwg file. It is then insert as a block into numerous drawings for use as the background.
My question is - is there a way the block can be redefined once inserted into a drawing, without having to re-inserting it via the normal insert > block route, which would prompt the 'redefine block' option. I want to do this so that I could make further changes to the dwg file used as the background (such as the architects building layout), and quickly update drawings with this inserted as a block.
I'm currently working in autocad 2011.
I'm trying to use remove many of the same block from a drawing and know that I can use the quick select to `grab` the blocks in one go but only seem to be able to erase them. I could do with freezing them for later. Perhaps it might be better to move them to a new layer?
View 5 Replies View RelatedWhen I insert an xref it's to scale 12!; in my model space I have blocks scaled 0.0833 and others to 1 scale! this is weird, every time I insert a block I need to scaled it in the way to adjust it to my drawing. If my drawing it's supposed to be 1 scale.
View 4 Replies View RelatedMy code mirrors a selection by either the x-axis or the y-axis. It is working fine. Except, the drawing shows the result, when I move my cursor to the active dwg.
How can I refresh my drawing, direct after modification of a block? I use the code below to mirror a selected block by a button on a docking pallette:
private void btn_Vertical_Mirror_Click(object sender, EventArgs e){(new Modifikation()).Mirror("v");}
the code, which is called is:
public void Mirror(String axis = ""){//---------------------------------------------------------------------------------------------------------------------------------------Document dwg = Application.DocumentManager.MdiActiveDocument;Database db = dwg.Database;Editor edt = dwg.Editor;//---------------------------------------------------------------------------------------------------------------------------------------try{Auto
[code].......
I recently start to use ilogic in inventor and discover this powerfull tool for all the daily task to be done...
I would like to add an autocad block in a drawing with some ilogic coding. Through this forum i found how to insert a sketched symbol but no how to insert a block. And convert my block into a sketch would be quite difficult...
where could i found a list of all the ilogic command??
Autodesk Product Design Suite Ultimate 2013
Win 7 Pro 64 bits SP1
Bi-Xeon E5520 (2x Quad-core @2.27GHz)
Quadro Fx 1800 768Mo GDDR3
6Go Ram DDR3 667MHz ECC
Un-purgable blocks? Is there some way to designate a block within a drawing so that it canNOT be purged even if it is not being used at the moment?
Windows 7-64
8GB RAM
AutoCAD Civil 3D 2013
dynamic block in a drawing - when i make a change in the block editor, it doesn`t apply in the model space although i save all the changes. There is also another dynamic block and this time everything is working properly - all the saved changes appear in the model space. The only difference between the two blocks is that the first one has attributes. I think attributes should not be the reason for not applying changes, but i just don't know.
View 1 Replies View Related