AutoCAD 2013 :: Unnamed Blocks Inside Blocks

Feb 19, 2013

I received a file that has a large number of blocks with unnamed blocks inside. I need them all to be by layer, and i really don't want to explode it.

How can I can do it?

View 6 Replies


ADVERTISEMENT

AutoCAD 2010 :: Unnamed Blocks With Lots Of Associated Garble

Sep 25, 2013

Somehow, every time we copy/paste from certain drawings, it brings in 9000+ unnamed blocks. Buried in these blocks are several thousand extraneous linetypes, etc. The blocks do not appear to contain any actual drawing objects, and are virtually unselectable. But the drawing size increases exponentially. Once a drawing is “infected” any item that is copied from it “infects” any drawing that the copied item is pasted into. Needless to say, this creates very large, slow files that are practically unusable. We have relied on copy/paste for notes, details, etc. and only recently started seeing this crop up.

Purge does not get rid of the blocks. We have tried a map query, which seems to ditch the extraneous stuff. But we lose our C3D object intelligence, and that process is far too cumbersome to run on all our drawings. We have tried the following lisp code that I found related somewhat to this topic a while back:

(vlax-for n (vla-get-blocks
       (vla-get-activedocument
  (vlax-get-acad-object)))
  (vl-catch-all-apply 'vla-delete (list n)))
  (princ))

Problem is, it deletes blocks C3D seems to need, so again the drawings are rendered basically useless. how to clean the drawings up and or stop the spread of “the plague”

I tried to attach a "blank" drawing that demonstrates the issue. I literally pasted a single line into it, and it is over 9MB, so it would not attach....

HP Elitebook Workstation
Windows 7

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Annotative Parameters Inside Dynamic Blocks

May 5, 2010

I've made annotative blocks and I've made dynamic blocks... My intent is to integrate both but I can't find a way to move dynamic block parameters separately at different annotative scales.

In other words, if I insert an annotative dimension and add multiple scales I can move the dimension grips independently at each scale. If I insert a dynamic block I want to be able to use the dynamic block's action "grips" to do the same. However, with a dynamic block, if I move a stretch action at one annotation scale it moves the action at all annotation scales.

The attached file shows a simple example.

View 2 Replies View Related

AutoCAD Civil 3D :: Export Blocks INSIDE Of Another DWG?

Aug 13, 2013

Is there any way to export blocks INSIDE of another dwg?

Background info:

At my company, we have a series of template .dwgs that get copied every time a new project is created.  We update the template files as we create new blocks, styles, etc...

When I'm working in a specific project and create a useful block, it would be nice to export that into the template file without having to open the template drawing and insert/redefine it.

View 4 Replies View Related

AutoCad :: VBA To Read Blocks Attributes Inside DWG

May 23, 2013

At each projects, i need to copy and paste the values of attributes of all instances of a type of block in my drawings, paste them in a excel sheet, it take so much time and is possible to make errors.

Is there hints to read a DWG as a text file and retrieve the attributes values of all these blocks ? I would give special names to these blocks, and also specific quantity of attributes, to work.

I meant Excel VBA, not AutoCAD VBA, cause i will manipulate excel sheets depending on the results.

View 1 Replies View Related

AutoCAD 2010 :: Hiding Layers Inside Blocks?

Mar 6, 2012

When I bring a part in as a block into an assembly, is there a way to turn the block of just that part off and all its layers inside that block?

View 4 Replies View Related

AutoCAD .NET :: Display Inserted Blocks While Inside A Loop?

Sep 18, 2011

I am asking the user to select points and insert a block at each of the selected points. On user exit from the point selection I draw a polyline connecting the blocks.

However, I cannot get the already inserted blocks to display until I complete the insertion of all blocks.  How do I go about getting them to display as soon as they are inserted? The code segment below is inside a transaction and nothing appears on the screen till this transaction is committed' Pt(0 to 2) is defined as a double and is returned when the user selects a point with function

SelectPoint Do While SelectPoint(Pt) = True Dim MyPoint3D As New Point3d(Pt(0), Pt(1), Pt(2)) InsertBlockAtPoint(MyPoint3D, myTransManager, strBID, _ myBlockTable, CurrentBlockSpace, dwg, True)' strBID is a previously populated structure containing data about the block insertion details and Xdata to be added to the block reference Dim MyPolyPoint3D As New Point3d(Pt(0), Pt(1), 0) myPoints.Add(MyPolyPoint3D)' myPoints is a data set used to plot the polyline

[code]....

View 7 Replies View Related

AutoCAD Dynamic Blocks :: Text Inside A Rectangle

Aug 19, 2011

Is there a way to put constraints on text and a rectangle? I'm trying to make a block so if i change the text the rectangle around it grows automatically. I know it's simple enough to just manually extend it but one of my engineers asked me to try and create this for him and i can figure it out.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Flatten Inside Blocks

Apr 17, 2012

I wanted to flatten arcs, circles and lines inside a block using the following lisp (which I found in this forum). I found that sometimes this lisp is unable to flatten the ARCs inside the blocks. I do not understand why it is not working for all the blocks. I have attached a drawing in which this lisp is not working.

(defun c:FlattenRaj ( / blocks stpt enpt inspt )
(vl-load-com)
(setq blocks
(vla-get-blocks
(vla-get-activedocument
[code].......

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Polar Array Inside A Block

Dec 19, 2013

I've made this block . when i rotate the vertical line I need to add lines every 15° as you see in the image, i've seen that polar array is not possible in the dynamic blocks.

View 8 Replies View Related

AutoCAD Architecture :: How To Access And Edit Attribute Data Of Sub Blocks Inside MVB

Mar 26, 2011

Seems like Multi-View Blocks are like that hot red-head in high school that you really want to get to know until you get to know them.

I made a bunch of blocks for my electrical plans. Annotative symbols for plan view, 3D blocks for model view, and elevation blocks for elevations. I then started creating the MVBs.

Upon insertion the annotative blocks appear super small and the model view blocks scale way up. The model view blocks are not annotative and are not supposed to scale at all. It seems MVBs see any block inside that is annotative as an indication that the entire MVB shall be annotative. Fustrated, I finally found a work-around that is a bit half-arsed:

I made another block as a sort of holder for the annotative symbols that was set to not be annotative and inserted that into the MVB. VOILA! the MVB itself doesn't scale, but the annotative symbol inside the non-annotative block does. This works fine except for one caveat: I can't edit attributes that are in blocks inside of blocks. If I made another block to use in the MVB for the attributes, it would work, so long as I don't make it annotative, which isn't what I want.

So, A) is there a better work-around than the block-in-a-block-in-a-multi-view-block method, or B) Is there a way to access and edit attribute data of sub-blocks inside a MVB?

Maybe my next thread will be about red-headed Multi-View Blocks with carpets that match the drapes.

Edit: Running ACA 2009

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Color Of Hatch Inside Blocks

Oct 2, 2013

I don't give the right keywords with Google !?So from a classic selection (or ALL for ALL Blocks of the DWG) of entities,

we will keep ONLY blocks (Static or Dynamic)I am looking for a Lisp/VLisp routine to update all Color of Hatches inside Blocks when the Hatch Color is xxx If the color hatch is NOT XXX we don't update !

The problem : update all hatch from blocks where Color = 255 (or any other value)

---> other classic Color (1-256)
--> RGB Color 255,255,255 or any other

I don't know at all how to switch hatch entities from classic color to RGB color inside a Block..And dynamic block in Lisp/VLisp are far from my level  0.2 in Lisp ...

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Burst All Blocks With Text / Attributes Inside

Apr 4, 2013

I need a lisp code to burst all "blocks with text/attributes inside" in selected area. That means user should select an area (window selection) and lisp program should be find all blocks with TEXT or ATTRIB inside in selected area and then applys "BURST express tools" command to all these blocks in the selected area by user.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Create Selection Set Of All Entities Inside Unnamed GROUP

Jan 17, 2012

I am trying to create a selection set (or LIST) of all objects inside a unnamed GROUP.

I found a means to access the unnamed group, however I am having trouble creating the list.
 
Command: (entget (cdr (assoc 350 (dictsearch (namedobjdict) "ACAD_GROUP"))))((-1 . <Entity name: 7efe6280>) (0 . "GROUP") (5 . "130") (102 . "{ACAD_REACTORS")(330 . <Entity name: 7efe5c68>) (102 . "}") (330 . <Entity name: 7efe5c68>) (100 . "AcDbGroup") (300 . "") (70 . 1) (71 . 1) (340 . <Entity name: 7efe6268>) (340 . <Entity name: 7efe6260>))

In the example above, there are 2 entities in the group.

What I want to do is to remove a certain entity from the GROUP, then delete the entity.

Repeat until all entities of that type are removed (I can figure this part out...).

How do I create a Selection Set (or LIST) of all entities inside a GROUP?

To access the first GROUP name in the dictionary:

(cdr (assoc 3 (dictsearch (namedobjdict) "ACAD_GROUP")))

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select All Blocks Like Selected Blocks With Window?

Feb 28, 2011

(defun CELBLKS ( / e blk ss blkl)
 (setq blkl ""  ss (ssadd))
 (while (setq e (entsel "

[Code]....

i have this lsp, it works great but how can modify it if i want select with a window.? exemple: if i have 3 differentes blocks, i want to select them with windows and the lisp select all blocks that are identical of those 3.?

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Zoom All & Extents With Blocks Containing Fields On Layout Tabs

Aug 22, 2013

We have a new title block which now contains various fields to automatically populate the drawing number, number of sheets, issue etc.  The problem we have is when we go to zoom all or extents on a layout tab it moves the layout to the right each time.  If we only have one layout or we use a plain title block i.e. with no fields, the zoom works fine (layout stays put in the center).  This is also true if we directly insert a field onto the layout - again no problems. 

The cause of the problem only happens when a block containing a field is inserted onto the paper space of a layout and,there are multiple layouts containing blocks with fields.

View 6 Replies View Related

AutoCAD Dynamic Blocks :: Finding Number Of Times Specific Blocks Used In A Drawing?

Aug 8, 2013

How to find no of times specific blocks used in a drawing?

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Stretching Same Parameter In All Blocks In Drawing From One Field?

Jul 15, 2011

How do I manipulate a height parameter all of the dynamic blocks in the drawing from one single field? Say a field located in the drawing properties or on the drawing itself.

For example:  Multiple blocks of different walls of same height with other blocks of things on located on those walls, dependant on the wall height, all linked to and changed by a single field. Possibly a Wall Height field located in the custom tab of the drawing properties.

I can pickout each of the blocks and change them at the same time in properites menu because they all share the same parameter name.  I would just like to have that height parameter of every block in the drawing, that has that specific parameter controled by a single field.  Which I could enter a new height at anytime that would change every block in the drawing to that height.

View 1 Replies View Related

AutoCad 2D :: Replace Dynamic Blocks With Normal Blocks Based On Parameters

Aug 2, 2012

We used a bespoke program to convert our drawings to Java applets for web usage. This does not cope with dynamic blocks at present and we have started to receive drawings from our clients using them.

I need to replace this with standard static blocks based on one of two criteria. Either:

1) Replace based on visibility state (have generic chair block with multiple different chair types set by visibility type, need to replace depending on which type it is set as)

2) Replace based on parameter (have table with size set by dimensions, need to replace with static block for each dimension)

View 0 Replies View Related

AutoCAD Dynamic Blocks :: Add Exact Same Objects And Visibility State To Blocks

Jan 7, 2014

I have over 100 blocks that I need to add the exact same objects and visibility state to.  Is there a way to globally make this change, or even to copy the visibility states from one block to the next without having to recreate the states in each block?  I thought I had previously run across a routine on here that would make changes to multiple blocks at once, but I can't seem to find it now.  

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Convert The Blocks In Dwg File To Lines That Are Centered On Those Blocks?

Jan 24, 2012

I have a project in 3D that I would like to export to Stadd.  This requires lines rather than blocks.  Is is possible to convert the blocks in the attached dwg file to to lines that are centered on those blocks?

View 9 Replies View Related

AutoCAD Dynamic Blocks :: AttSync Of Blocks - Takes A Long Time With Numerous Objects

May 18, 2012

The AttSync command does what it advertises fairly well.  My problem is that I have thousands of small blocks in a single drawing.  (My current drawing has 2100 block references with four attributes in each one.)  I may change the attribute values in a few of them and need to re-sync the attribute locations.  When I run AttSync it updates every single block insertion.  One of two things are desired:

1)Flag each block insertion as having been sync'ed, reducing the number of objects requiring synchronization when AttSync is called again.  Provide a way to force all to be sync'ed.

2)Allow a selection set in the AttSync command after selecting the block to sync.

Either or both of these would a great time-saver for those of us with large numbers of blocks with attributes.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Exploding Blocks With Negative Values?

Apr 24, 2013

I built a building foundation for a grading plan and I have another building that is the exact mirror of it. I have tried to mirror it. Didn't work. I created a block of the feature lines and inserted it with a -1 x value but I can't explode it. I tried the regular explode and xplode. Neither worked. I can use the the block to draw feature lines over but it just seems so much easier if I could figure out how to explode the block.

C3D 2013

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Delete Last Attribute In All Of Specific Blocks

Jan 24, 2012

I have the same block repeated multiple times in a drawing, and I want to delete the last attribute in all of the specific blocks.  When I edit the block in block editor, the attributes do not show up.  After I explode the block, there is no text.  The attached image shows the properties of the block.

View 9 Replies View Related

AutoCAD Dynamic Blocks :: How To Get Blocks To Have Images Associated With Actual Block Name

Apr 29, 2013

I am using AutoCAD 2013 on Windows 7 platform

95% of the blocks on the palettes have the images associated, and named, per the block name.

I have 48 blocks that the images are named like this "Block tool_F2149212-4649-41F5-95E6-4A978EC376F5_2".

I have tried resaving the blocks and recreating the blocks to no avail.

How to get these few blocks to have images that are associated with the actual block name and not the generic "block_too" name?

View 4 Replies View Related

AutoCAD LT :: Fields Within Blocks / Update Blocks For A Client

Dec 4, 2013

I am trying to update blocks for a client.  Each block has a line of text with the block name in it.  I would like to automate these with a field so that if the block name changes or a new block is created from that one, then the field would update as well.  I am running AutoCAD LT 2012 currently.

View 8 Replies View Related

AutoCAD Dynamic Blocks :: Sharing Parameters Between Blocks

Nov 20, 2013

I wish to have a single dimension alter the dimensions in a set of nested blocks, similar to shared parameters in Revit. For example, I have a circle that has a fixed diameter that I wish to control in all blocks.  I have set the diameter to barDia so now I wish to manipulate the dimension from outside the block.

Am I able to share the parameter across all the blocks?

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Replace Standard Blocks

Jun 20, 2012

I was trying to alter the standard blocks on the tool palette. How I messed everything up but I basically have two huge problems now.

1. I am missing the necessary default blocks that should be under my edit block directory.....all the Aecb files.
2. Now when I try and put in a receptacle or any other standard block a triangle with an exclamation point shows up upon insertion.

I attached a picture of the "edit block definition" and the troubled symbols.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Text Disappeared From Blocks

Oct 1, 2011

I have been working on a drawing with 3 different dynamic blocks for several weeks and everything has been working perfectly.  However, all of a sudden this afternoon, the text in all 3 dynamic blocks disappeared and will not display on the screen in paper or model space, and does not print.

As best I recall, I was creating a polyline viewport when this text disappeared.

I cannot turn the text on in these dynamic blocks.  The text in on layer 0 which is on, and is unlocked and unfrozen.  Additionally I have turned on, unlocked and unfroze all layers in the dwg and this does not work.  I have also checked the text layer in the block editor and it is on layer 0.  

When I click on any of the blocks, all the information appears to be correct, ie: door numbers, text style, etc.  The text, however, just does not appear.  Also I have never set any invisible text parameters and when I open the block editor, nothing in the invisible text area is selected or select-able.  

Previous versions of this drawing, which I saved yesterday, display all block text perfectly. Perhaps there is a setting I accidentally hit which caused this problem?  

I have tried repeatedly turning on all the layers, unfreezing, unlocking, changing parameters in the Style menu.  I closed Autocad and turned the computer completely off and back on again.

View 1 Replies View Related

AutoCad :: Separate Same Type Of Blocks In Dynamic Blocks?

Dec 12, 2013

how can i separate same type of blocks in dynamic blocks? all layers are same..

View 9 Replies View Related

AutoCAD .NET :: Plots All Blocks To PNG - Open DWG / Get List Of All Blocks

Nov 30, 2012

I have a program that plots all blocks to png - open a dwg, get a list of all blocks, insert each into an empty dwg, zoom extents, and plot using the OOTB PublishToWeb PNG.pc3.  In the attachments is an example of the problem.  When I do this manually from a layout, I get the correct image.  When I plot from code using the same PC3 file, draworder is being ignored.  

It works if I apply transparency to the block and use ps.PlotTransparency = True, but I would prefer not to have to tell the user to change the block definitions.  Is there a plotsettings property I am missing?

View 1 Replies View Related







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