AutoCAD 2010 :: Know If DWG Contains Nested Blocks?

Apr 13, 2012

Is there a quick/easy way to know if a DWG contains nested blocks?

View 6 Replies


ADVERTISEMENT

AutoCAD 2010 :: Turning Off Lines In Nested Blocks?

May 30, 2013

 Autocad 2011

wondering if its possible to turn off lines inside of nested blocks.

When we tried to do this inside a heavily layered and blocked drawing, it seemed to make the file unresopnsive, unloadable, and general "autocad freezing" issues. We Reconsitituted the entire file from the ground up and found that by NOT turning off these lines inside of nested blocks (ceteris parabis) the file works fine.

We like to turn these lines off becuase different teams are working on different parts of the drawing and we like to focus on one section by turning the other off. Is this possible? Is there a better way to do this?

View 3 Replies View Related

AutoCAD 2010 :: Changing Font Style In Nested Blocks

Mar 28, 2012

Is there a way to change text font style (Text, and Mtext) in nested blocks automatically? I need to do this for multiple nested blocks at once.

View 7 Replies View Related

AutoCAD .NET :: How To Get All MLeaders Even In Blocks Nested Ones

Aug 13, 2013

I need to EnableFrameText to all MLeaders in a drawing, I also want to get the MLeaders who are nested in Blocks automatically...

I started this way but It just works fine with the Mleaders in Modelspace or if I open the Blockeditor to edit Mleaders nested in a Block...

I know I'm not going to "deep", maybe I need an other Transaction, or thirst open each Block to edit... not right sure...

my example:

//Ändert leider nur die MLeader die nicht in einem Block sind....
[CommandMethod("MLeaderIterator")]
public static void MLeaderIterator_Method()

[Code]....

View 2 Replies View Related

AutoCAD .NET :: Nested Blocks From Selected Subentity

Sep 27, 2013

I'm attempting to have the user select mText from a nested block within a block and then copy the nested block to model space out of the block. I'm able to change the mText successfully, but when I attempt to get the nested block it is not in the list of GetContainers() it only contains the block in model space and the model space block. The nested block is missing in the list. I'm using AutoCAD Civil 3D 2013. 

Here is the code to select the mText object which works correctly.
 
Sub GetNestedMtext() ' Have the user select an object. Using the prompt provided. Dim ed As Editor = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor Dim entopts As New PromptNestedEntityOptions(Environment.NewLine & "Select a mText in block to replace: ") entopts.Message = Environment.NewLine & "Select a mText in block to replace: " Dim ent As PromptNestedEntityResult = Nothing Try ent = ed.GetNestedEntity(entopts) Catch ed.WriteMessage("You did not select a valid entity") End Try If ent.Status = PromptStatus.OK Then CreateDuplicateBlockInModelSpace(ent) End If End Sub
 
Here is the code that attempts to get the nested block which is missing the nested block.
 
Private Shared Sub CreateDuplicateBlockInModelSpace(ByVal ent As PromptNestedEntityResult) Try Dim containerObjIds As ObjectId() = ent.GetContainers() Dim blkToExtract As BlockReference = DirectCast(containerObjIds(1).GetObject(OpenMode.ForRead), BlockReference) Dim blkToPlace As BlockReference = blkToExtract.Clone() Dim doc As Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument Dim db As Database = doc.Database Using tr As Transaction = db.TransactionManager.StartTransaction Dim acBlkTbl As BlockTable acBlkTbl = tr.GetObject(db.BlockTableId, OpenMode.ForRead) Dim acBlkTblRec As BlockTableRecord acBlkTblRec = tr.GetObject(acBlkTbl(BlockTableRecord.ModelSpace), OpenMode.ForWrite) acBlkTblRec.AppendEntity(blkToPlace) tr.AddNewlyCreatedDBObject(blkToPlace, True) tr.Commit() End Using Catch ex As System.Exception End Try End Sub

 Is there another way I can get the parent block object for the nested object? 

View 5 Replies View Related

AutoCad :: Data Extraction Nested Blocks?

Dec 13, 2011

Here is the problem with the process put simply:

Start with a new drawing Drawn a rectangle. Place a block which has an attribute with a number at each corner. ie. 1-4. Convert all objects into one single block. (the attributes become nested). If you use data extraction and retrieve the attribute number, position X and position Y, and output to a table the information displayed is correct. HOWEVER, if you rotate the block and update the link the coordinates become incorrect? This seems to be an issue with nested blocks?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Nested Blocks In XREFS

Apr 21, 2008

I have an XREF that contain block inserts sometimes nested 2 or 3 levels deep. Given the block names, is it possible to find and translate the insertion point of the nested inserts to the current World UCS?

Ideally I would give a routine the block name and it would scan the current drawing and return a list of the translated insertionpoints>

View 5 Replies View Related

AutoCad :: Edit Text Attributes Nested In Multiple Blocks?

Jun 22, 2010

I have a .dwg file which contains numerous blocks (70 or so) and they all have unique names.All these blocks have nested text.

I want to edit the attributes of all the text, in all these blocks, such that they assume the same text style, text layer and colour.

Obviously, with so many blocks, I want to avoid clicking on the text and editing the attributes individually.

I tried a lisp file called ATcolour.lisp, but even this is very time consuming.

View 4 Replies View Related

AutoCAD 2013 :: Sharing Parameters In Nested Dynamic Blocks Using 2014

Nov 20, 2013

I am drawing a block that containes a number of other blocks which I want to control parametrically.  For example. In one block, I have set the diameters of a circle restricted to 10 and 12-mm.  I have a second block that also contains the circles which have similar restrictions. I now want to control the diameters of the circles from a single source - similar to shared parameters in Revit.  Am I able to share a global parameter between blocks?

Eventually, I want to control a 2D drawing from a table only.  Should I be using .Net or AutoLisp for this.

View 4 Replies View Related

AutoCad :: Edit Line Weight In Nested Blocks Of All XREF Drawings

May 13, 2012

The 2D drawings I am working with were exported from 3D REVIT files to 2D AutoCAD files. There are several XREFed drawings that are both mechanical and architectural from the original REVIT files that for whatever reason, the block's line weights came over with line weights of 70 in those blocks.

When I plot, the objects are a blur with the line weight so high. I tried using the command "setbylayer" but that didn't work since nested blocks still had lineweights of 70. Is there a VBA or LISP routine to run through all the blocks (including nested) that can change the line weights to a given number?

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Remove All Attributes Including In Nested Blocks?

Jan 8, 2013

There is a quick way to remove all attributes, including in nested blocks. Looking some lisp in the forum, I can't find one code for remove this elements completely.

View 9 Replies View Related

Revit :: Exploding Families (nested) Similar To Blocks

Apr 10, 2012

Basically the question is if it is possible to explode families similar to blocks in AutoCAD.
 
Here is an example: A Family made for placement in the model has 2 nested families. Once placement is done is it possible to eliminate the initial family so only the nested families remain? All the parametric values can go away that’s fine and the nested families are also shared if that matters.
 
Since I come from AutoCAD and started with Revit v2012 it is basically like a block within a block which you could just explode so much until only lines are left.

View 2 Replies View Related

AutoCAD 2010 :: Nested Xref Layer Colors

Aug 17, 2012

My question pertains to layer colors from xrefs that have other xrefs nested inside them.

When I get xrefs from the architects, I get a building layout, RCP, space layout, etc.  I tie all these together into a single "architect base" xref so I don't have to attach 4 xrefs to each new file I create.  What I would like to be able to do is set all the layer colors in the misc. architect xrefs in my "architect base" file and have those color settings propagate into my drawings as I create them.  This comes into play especially if I have to create a new drawing late in the project, and I don't want to have to go set hundreds of layer colors individually. ?

Visretain comes to mind, but visretain (if I'm correct) is really for keeping xref color settings in your current file from session to session, not in a new file that you are creating using an xref.

View 5 Replies View Related

AutoCAD 2010 :: How To Avoid Nested References Reload Every Time Open Drawing

Feb 23, 2012

How to avoid nested references reload every time I open autocad drawing.  In some drawings I have twenty nested references.  I really need to avoid reload each reference.

View 1 Replies View Related

AutoCAD 2010 :: Get A Count Of Blocks In A Dwg

Sep 7, 2013

I have a dwg with as many as 150 of the same block inserted.  What command will give me a count of those blocks?

View 3 Replies View Related

AutoCAD 2010 :: Attributes In Blocks

Mar 20, 2012

I'm working on creating some blocks for our office.  Basically it is a simple block with a few lines that remain and then a couple attributes you can click on and change.  I have added the attribute and all is working well.

My only issue is I would like to make the text in the attributes to be bold.  For some reason I can't see to do this.  Is it not possible.

Basically I want to try and get some of the attributes to stand out more than others.  I tried changing the color and the lineweight of the attibute (which worked the color is different) but when it prints it doesn't change at all.

View 2 Replies View Related

AutoCAD 2010 :: Add Blocks From Another File?

Aug 15, 2012

How do you add blocks from another file? Also can a block span multiple layers? How do you change the layer of a block?

View 1 Replies View Related

AutoCAD 2010 :: Cannot Rotate Blocks

Jan 26, 2012

I have received a drawing from another company that has blocks.  When I try to rotate the blocks to an angle through the properties dialog box or by entering an angle at the command line, I am not able to.  The value is always set to "E".  I can rotate it graphically by placing points on the screen, just not through a key in. It seems like there is a lock on it. 

View 3 Replies View Related

AutoCAD 2010 :: Blocks With $ Sign

Apr 11, 2012

I have some unnecessary blocks in the drawing with $ sign . How can i purge them.

View 2 Replies View Related

AutoCAD 2010 :: Blocks And Layer 0

Mar 1, 2013

Many of the blocks my company uses were created with the linework within the block on Layer 0, and set to ByLayer.

When I insert it into a drawing, I put the block on a layer other than 0, and use that layer to control the color & linetype.

If I Xref a drawing, and want to turn off or freeze a layer I use the Freeze and Off buttons in the layers section of the ribbon (I'm working in 2012).  This way, I don't have to figure out what layer an object is on to turn it off.

Here's the problem:  When I try to freeze or turn off a layer by clicking on a block, it doesn't do anything to the layer that the block is on.  It tries to effect layer 0.  Even if I use the list command to find out what layer an object is on, it says it's on 0.

I found this article that seems to explain how to use layer 0 in blocks: [URL] ....

It seems my company is doing things exactly as that writer recommends.  But it still seems incredibly faulty.

What is the best way to design and work with blocks?  I always try to avoid using layer 0, but that would waste a lot of time trying to override the company standards.

View 4 Replies View Related

AutoCAD 2010 :: Blocks Not Updating In Palette

Mar 26, 2013

I have inherited the task of maintining out companies tool palette for all standard blocks.  In my efforts I have found a number is issues with the blocks and have made efforts to update the blocks, first using bedit and then by navigating to the palette directory folder where the .dwg files for the blocks are stored.  Regardless of these files being changed the palette still inserts the block revision prior to my changes.  I have even re-imported the template file to no avail.

Is there a way to have to palette reference the updated files or is there a better way to update these blocks so the palette recognizes the changes immediately?

View 9 Replies View Related

AutoCAD 2010 :: Creating Dynamic Blocks?

Aug 2, 2012

I am using Autocad 2011 and created a dynamic block which turned out fine.

After making a copy of this dynamic block and doing some additions to this new block (added several flip parameters), I found that when I run my mouse over this new block it lags. I have attached the drawing which contains both the blocks. The one on top is the problematic block whereas the bottom one is the one I created first and made a copy of.

View 2 Replies View Related

AutoCAD 2010 :: Callout And Label Blocks

Mar 21, 2012

I'm looking for samples of the above. To be used in working with Sheet Set Manager tab-to automate Sheet Set organization and view placement.

View 3 Replies View Related

AutoCAD 2010 :: Polyline Width In Blocks

Sep 11, 2012

I am trying to create a block that contains polylines. these polylines need to be able to have the width of them set individually.

What parameter do i need to assign so that this can happen?

View 4 Replies View Related

AutoCAD 2010 :: Dynamic Title Blocks

Feb 4, 2013

I need to create a dynamic title block, so I can change the date on layout 1 and all the others change too.

View 5 Replies View Related

AutoCAD 2010 :: Inconsistent Insertion Of Blocks

Mar 29, 2012

I have several script commands that insert items such as title blocks (xrefs) and page boundaries (blocks). The base point and INSBASE for all files are set to 0,0,0. However the blocks will occassionally come in at different positions. In some cases I can repeat the command multiple times and each time the same block will inset at a different position in the same drawing even though the insert point is set to 0,0,0.

Autocad LT 2012

View 5 Replies View Related

AutoCAD 2010 :: Batch Replace Blocks

Feb 22, 2012

We've recently converted all our microstation drawings to autocad now that the company has decided to go with one cad program company wide. One of the issues we are having after getting the drawings back from the this co. converting them is the cells to blocks conversion inside the drawing. when we open a drawing and see a "Fuse" block for instance and if it a has multiple inserts, it named them:

Fuse
Fuse_1
Fuse_2 etc....

is there a lisp routine or some command that would replace the "Fuse_*" blocks with "Fuse"..I've been searching the forums and know about the express tool Replace Block but need to be able to automate somehow. I thought about trying to rename each of the "Fuse_*" but of course it won't let you rename to a block name that already exists.

View 1 Replies View Related

AutoCAD 2010 :: Copying Blocks Between Drawings?

Jul 7, 2012

I am doing electrical drawings with the architect giving me an exported DWG from Vectorworks.  I have XREF the background drawing that when opened is about 6 blocks of the building background and 2 blocks of the electrical devices.

Here is the problem: The architect sent me an updated DWG that only has the electrical updates without any backgrounds.  My thought was to purge all and then select all the items and then copy with basepoint.  Then open the original architects XREF drawing.  Select those two electrical block, erase them (or move them to the size a fixed distance).  Then paste as block from the other file.  Then move the block to the correct location, explode, done.

Big problem: I just tons of this error in the command line referencing different block group numbers being ignored:

Duplicate definition of block Group-1265-1  ignored.

Then the block that was pasted added a background that wasn't in the old drawing and many of the items in that block was either missing or still had the old symbols.  Can't figure out how to update the background with confidence that it is really updated with new information and not keeping old.

If I open a new drawing and paste that block in, everything comes in perfectly

View 6 Replies View Related

AutoCAD 2010 :: Redefining Blocks With Attributes

Apr 12, 2012

I have a large amount of P&ID drawings that have blocks with attributes. One of the blocks is missing an attribute field that I need so I recreated the block using the same name and added the missing attribute. When I reinsert the block and say "yes" to updating the block's definition within one of my P&ID drawings everything seems fine except when I try to edit the block to fill in that field. 

The newly added attribute doesn't show up but when I right click one of these blocks and select Block Editor the new attribute field does shows up so the redefine did work I just can't use that attribute. Is this a bug in AutoCAD? How I can use this attribute?

View 2 Replies View Related

AutoCAD 2010 :: Unwanted Blocks And Linetypes

Dec 27, 2013

I have a drawing that have blocks in them I cant find inserted.  I cant purge them or the linetypes they have. How do I strip them out if I cant find them to explode them?

I have attached the file.

View 9 Replies View Related

AutoCAD 2010 :: Exploding Minsert Blocks

Jun 5, 2013

I've been searching for a routine to explode minserts but haven't found anything yet that works. However, this one did. It's a vlx.

Just copy it to your Support folder and load it ("AP"). Type "explodem" at the command line to run it. It first asks you to select the block; it then asks you if you want to explode? [No/Yes]  Enter No. Yep, enter no. (I know; I tried Yes but it wouldn't work...might be just me though cuz I'm a bit dyslexic; either that or the programmer may be?)

View 7 Replies View Related







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