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?
I am running AutoCAD 2012 Electrical. The source wiring diagrams I am working with have attributed blocks all over the drawing. For my purposes, I dont need to export the data, but I do need to change the drawing. When I use "Burst" or "Explode Attributes to Text" in the Express Tools menu, it does change the attributes to text. However, it throws all the data that is in in the attribute all over the face of the drawing. This is extremely time consuming to delete them as some are micro small text.
I need a command that will explode the attributes to text, turning the blocks into entities, as if there are no blocks at all.
I can't control the section participation of individual parts or subasy in a IDW view. I want to have some parts & subs sectioned in the view & others not sectioned. They seem to follow whatever the IAM is set for. Note that I do not want to control the section participation in each Model from Documentation/Model/Particiapation becasue it will screw up other drawings referencing the models. Besides, I tried it & it stil wouldn't work.
The complicated part is that the view can be a cropped or detail view of a section view that is the child of the parent view-(I had to do it this way to get the view I needed).
is it even possible to individually control the sectioning in parts of nested views?
The RMB controls are available to do so but nothing happens, even if I close & open the file again.
Sometimes the RMB menu/Section Participation shows little filled in squares next to Sectioned & None. If I click on either, it becomes a check mark.
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?
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?
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>
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.
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?
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.
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.
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?
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.
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.
I'm busy making a map during which I've been working with creating a line around the shape of the island and then converting it to a editable mesh. On 55 lines it worked, then on 4 it didn't. Turning them into an editable mesh gave me nothing. I don't believe I did anything different with them, though I might have set 1 point or so differently.
I know that the (graphscr) command will change the focus of ACAD from the text window to the graphics screen, but is there a command line option to actually turn off the text window?
Last week I downloaded the Autodesk Design Review and for some reason I installed the DWG TrueView as well. Now, every time I open up a .dwg through explorer, True View overrules AutoCAD and thinks it has to be the one to open the file. Is there any way to turn this program off?
Why is it that turning off Hardware Acceleration sometimes speed up a system or prevent it from crashing? This seems counterintuitive. What exactly works with AutoCAD by turning it off?
I'm trying to find an option to hide all constraints in a drawing, I am familiar with the toolbar option to turn display constraints on and off but my issue is that it's not a permanent toggle. Every time I change from a paper tab to the model tab or activate a viewport the constraint display is automatically turned on again and I must wait for the constraints and the drawing to generate. When playing checker I am frequently changing tabs or checking within a viewport, this is adding significant time required to check the drawing. I have not been able to locate a system variable or command to "freeze" the constraints until I want to see them again. an option to allow me to turn off constraint displays as I'm desiring or is this a Wish List item for R2014?
I have been working on a drawing and out of the blue, when I opened it the other day, all this tick marks where peppered all over the drawing. I discovered they were like point marks from dimension layers that were turned off. If I freeze the layer on top of turning it off, the tick marks do go away. I am running an old version of Autocad, 2007.
My sister has some drawings that she want to scan and send to me. They use very thin pen ink. She then wants the pen strokes to be colorized and turned into water color strokes.As an experiment I tried using the "Artistic-Watercolor" filter on some thin lines and the results were lame.
All of the watercolor brushes I have seen online seem for comparatively wide stokes.Is there a filter or action that could turn very thin ink stokes into realistic looking watercolor strokes?
For example, whenever you use the distance command it automatically turns the dynamic input back on. We have turned off the settings under drafting settings - dynamic input. I have also turned off the tooltips under options - display tab. Is there a patch or update?
I have a logo that is a jpg file Xref'd into a title block xref file. In my sheet files IMAGEFRAME and OLEFRAME are set to 0. They are set that way in the Title Block file as well. I still have some sheet files with these system variables set to 0 that still print the border around the logo.
a while back i had this problem where pictures wher looking funny when blurred but never realy had an answer this is what i am talking about [URL}...
Now i took this with my phone because when i take a screenshot people say the picture looks fine ,I have tried alot of things but i can't fix it here is a picture of it as a ascreenshot [URL]...want a fix for this as most of my pictures become crap when i try to make something nice in photoshop !
Is there a way to get a white cursor to automatically change to black when hovering over white images or hatches that doesn't involve turning off hardware acceleration?