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
ADVERTISEMENT
Feb 21, 2013
change line weight on a xref, i have went into each xref and changed line weight but when i view in model space the line weight is still printing bold.
View 3 Replies
View Related
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
Aug 8, 2013
In the attached screencast video you will see that I have a drawing set up on the left of the screen to show where all the sections are taken through the building. I have setup a layer called SPC SECTION LINES which is set up to be bylayer and on the colour green.
When I XREF this drawing into the sheet file on the right side of the screencast you will see how the colour turns yellow when reference into the new sheet file?
Why does the colour of the line change when it gets xrefed into a new drawing?
the screen cast can be found at [URL]
View 9 Replies
View Related
Jan 20, 2012
I have several .dwg files which I attach using XREF so that I can ensure I have the latest versions combined.
The problem is that the line types do not show up correctly. After looking up on google I have found that this is a problem due to it being a 3d model rather than it being flat.
I managed to half solve the issue by inserting each drawing into one, then exploding the whole image. Then changing the scale in the bottom right to around 1:200 to make the line types visible.
My problem is this ends up being a lot of work as the separate drawings can be updated daily. Is it possible to have all the drawings Xref'd in and to be able to have the scale changed to be able to read the line types? I tried to save the XREF setup as a template, then just bind all the drawings into one, explode and change the scale. But for some reason this doesnt work for me. I end up with just solid lines, rather than line types. I don't the drawings are made up of several lines, all of different length. (This I have been told is why the scales do not appear correctly)
I have been shown one method to work around this, which is to open the Xref drawings, explode them, then take each section of line and manually change each scale to the biggest that shows up.
View 8 Replies
View Related
Aug 18, 2011
this question is related to 3D modeling in HVAC detailing, piping and plumbing
What is the difference between a circular and nested xref?
View 4 Replies
View Related
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
May 2, 2012
How can I update the file path to an XREF which is NESTED? I point the file to the appropriate xref and even though I save the file it won't point back to the file upon opening?
View 7 Replies
View Related
Nov 23, 2011
I have two dynamic blocks. One is the plan view of a cylinder and one is the elevation view of a cylinder. When I change the parameter of the OD on the elevation, I want the plan view to change. I'd like to keep them as blocks (they're a little more complicated than just cylinders), but when I try to use parametrics to tie these two dimensions together I get: "Constraints cannot be applied between nested objects in the same block or Xref."
View 1 Replies
View Related
Nov 7, 2013
Any routine or way to convert a nested xref to a regular xref?
View 4 Replies
View Related
May 2, 2012
We've been working with adding schedule tags in paper space for objects nested within an xref. The first time you do this however, the manual properties (it seems) do not update if the value of the manual property is changed back in the xref dwg. However, the Automatic properties do seem to update.
When we initially found this we past it off as a limitation. However, one of our users was experimenting and found that the first time you tag the xref resident object... the schedule tag reads the correct manual properties value. However, If you remove the property set from the schedule tag... then the manual property will update correctly showing the current value as it is back in the xref dwg even if it is changed.
This makes complete sense as the manual property set data can be edited from either the tag or the object or from the schedule... IF THE TAG and the object are resident in the same drawing file - in this case you DO NOT want to delete the property set from the tag... if you do this the property set is also removed from the object. However, when tagging objects nested within an xref, then you need to remove the property set from the tag... THEN the manual property will update correctly.
View 2 Replies
View Related
Jan 8, 2013
I am using AuotCAD Architecture 2012 and suddenly the Xref/Block Object List dialog box stopped opening when I use the XLIST command. How Can I get this back?
View 4 Replies
View Related
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
Apr 13, 2012
Is there a quick/easy way to know if a DWG contains nested blocks?
View 6 Replies
View Related
Aug 22, 2012
I have a Lisp that I have been working on with some folks in the office, and i feel like i am close, but i am not getting the cigar. The idea would be to have the lisp allow the user to select a nested x-ref entity, and change the color and linetype of the selected layer, similar to the old "LAP" command (I know it is a dinosaur, but I still miss it). I seem to be doing swimmingly, code I have quasi-plagiarized. It seems to crap out where i try to pass the selected linetype back to the layer. I get the nastygram "Command: ; error: no function definition: GETLINETYPE" right after selecting the linetype from the dialog.
Code below...
x(defun c:CX (/ Sel EntList DataList cnt Num ClrNum EntData)
(if (setq Sel (nentsel "
Select object to change layers color and linetype: "))
(progn
[Code]...
HP Elitebook Workstation
Windows 7
View 6 Replies
View Related
Mar 8, 2012
How to change the Color, line type and Line weight for the Line using .Net.
View 9 Replies
View Related
Jul 6, 2013
I seem to be having trouble changing the lineweight of my profile line. I have changed the line weight in the layer properties, in the Profile properties and tried changed the line weight in the pen style. Everywhere I could think I try to make the line thicker but when I plot, the line is still the same and difficult to distinguish from the grid blocks of the profile view.
View 3 Replies
View Related
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
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
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
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
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
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
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
May 25, 2012
I've seen umpteen explanations of how to change lineweights in Revit.None of them address this simple thing I'm trying to do.
I just want to:
1. Create a few lilnestyles that appear along side the other line styles - for instance:
Thin Line, Medium Line, Thick Line, <<Really Thick Line, >> <<Absurdly Thick Line,>> etc, etc..
2. Draw a line
3. Click on the line
4. Select from a drop down list, "Absurdly Thick Line" and have it instantly inherit the linestyle I created.
The only way I can do this is to create a family, make a new subcategory of Detail Items, create the characteristics I want in the line, export it as a .dwg file, then import it into Revit - and then I see the new line style along side the other line styles, and I can then select any line and make it the new line style.
Certainly, there is an easy to find, simple, straightforward way to add line styles to the existing group - and have those new line styles become immediately accessible from the "Modify Lines" Linestyle Drop down Menu.
View 1 Replies
View Related
Apr 26, 2013
When i convert to Pdf the line weight is very board on the pdf, I have never had this before.
View 3 Replies
View Related
Nov 24, 2013
when i export my drawings to pdf and then print them them i am not seeings any line weight .
View 0 Replies
View Related
Oct 26, 2012
Why is it when I increase the lineweight, on the current layer, to a thicker lineweight from the default .25mm, it remains the same thickness/weight? I can change everything else, style, color, but not the weight. I need it to be a thick line, instead of the normal thin line.
View 3 Replies
View Related
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
Apr 24, 2012
I have been giving a drawing that I am unable to print dark enough with out my layers in some areas becoming way to thick and I was wondering if it is at all possible to select the whole drawing and just reset the line weights to a default setting with out having to go layer by layer.
View 2 Replies
View Related
Jan 30, 2013
Is there a way to control weight of line for hatch?
I'm trying to make some style for number of areas and when I do hatch on a paper it's almost invisible because it's weight!
Tons of hatch patterns and they all useless!?
View 3 Replies
View Related