I have a scanned drawing (PDF) and I want to use it a a xref so i can redraw it (originals have gotten lost ). But is really big and makes autocad really slow.
Is there a way to make a scanned drawing in PDF have loose object / lines again?
I am getting a lot of grief xrefing a C3D file into an AutoCAD drawing. A bit of background...
Fairly large development project with 270 new familiy houses. The sanitary sewer (SS) network was created using AutoCAD only. All layout drawings and xrefs were created using AutoCAD using AutoCAD templates. Then, here I am, putting the entire SS network in C3D, with its fancy labels and relevant long sections. Now I am supposed to display this C3D network in all the layout plans and get rid of the old 2D SS xref. Well, the blody thing doesn't work! If I try to xref the original C3D file, it will only display the labels. All pipes and structures and long section do not display. Yes, I checked all layers are turned on.
I tried using data shortcuts instead, bringing first the relevant part liist and styles. No luck. Again neither a single pipe nor structure is diplayed, although the prospector in the toolspace shows the network is referenced in the drawing. I am not sure if this matters, but the C3D source drawing contains a second pipe network referenced using data shortcuts which, by the way, doesn't display either when xrefing. I tried xrefing the C3D file using my C3D template and it works fine. So I guess that, somehow, the AutoCAD template used to creat the drawings is preventing some C3D objects to be displayed when xrefed.
I know I could recreate all our layout plans using my C3D template. Unfortunately, that would be a long process since we have quite a few and they're all heavily xrefed, with many layer properties overriden.
I'm writing a .NET app to get corridor feature line information from an XREF'd dwg file to use in the active document. I'm having quite a bit of trouble reading the civil objects from the XREF.
[URL]........
This works, but still doesn't work for civil objects. Take a look at the snippet below.
if (xdb != null) { // Start a transaction in our loaded database // to get at the layer name Transaction tr2 = xdb.TransactionManager.StartTransaction(); using (tr2) { // Open the layer table LayerTable lt2 = (LayerTable)tr2.GetObject( xdb.LayerTableId, OpenMode.ForRead );
In order to get a Corridor ID collection I need a reference to a CivilDocument object. So how do I get a CivilDocument object when it isn't the active document? Is there any way to get it from a Document or Database object?
I have a drawing done in AutoCAD Architecture 2013. Most of it is just lines, but I have a couple of Walls with Doors. It looks fine in the base drawing but when I xref into another file the walls revert to their original color and the doors have disappeared. The opening is there but no door.
I tried xredit and the doors are there but when I close that they are gone again. Tried detaching and reattaching...still have the problem.
After I posted this tried Display Configuration. Clicking all options for Doors gives me the doors...in a closed position, not the same as in the base plan.
I have a floor plan xreffed into model space, visretain=1 and i can see the room numbers. I switch to paperspace and go to layer properties and highlight all layers and then turn on all layers in he drawing and thaw in all three columns and still the room numbers do not show. The layer listed in model space is on and thawed. Why won't it show?
I currently have with my plotting. I've recently switched from using a color table plot style to named/layer plot style.
Drawing "TANK.dwg" contains 2d geometry inside a block named "2d-tank" and is on layer '0' in the block, and that block is on layer '0' inside "TANK.dwg"
TANK.dwg is xref'd into "PHASE 1.dwg" several times in several locations. "TANK.dwg" is on layer '0' in "PHASE 1.dwg"
"PHASE 1.dwg" is xref'd into "COMPOSITE.dwg" on layer 'P1'
In "COMPOSITE.dwg" I can change the layer color of layer "P1" and the block "2d-tank" changes color to suit. It derives it's display color based upon layer P1, as everything has been on layer '0' up until now. However, despite picking up the appropriate color, it does not inherit the appropriate plot style. I try to apply a screened/shaded plot style to it and it instead inherits the plot style of layer '0' in "COMPOSITE.dwg"
This is a problem for me as I have 3 phases, and I need to be able to plot them differently, depending on each phase shown. I'd rather see if there is a way to make my current model setup work before I go duplicating thing and restructuring all my drawings to suit a layer style inconsistently, but I need this to print right.
I don't understand why an object would inherit the color of the layer it's on, but not another layer property, specifically its plot style.
I have some xrefs that have text masks that mask out my objects, moved the sort order to rear (back) but they still hide my objects. Is there any way to simply disable them in the original xref?
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."
My goal is to change all of the objects colors in an xref drawing to gray to use as a background to my work. All changes to the xref drawing were made in the drawing itself, none of this was done in the base drawing.
The quickest way I could find was to change set by layer mode to color only and use set by layer to change all of the objects (select all). This seemed to work fine, until I noticed that certain text would move slightly when the color changed. Long story short this text (single line) moves slightly when the color is changed, even if I select one text and change the color in its properties.
My question is why would text move or change in some way when you only change the color. It doesn't seem to happen to mtext, only dtext.
I am developing an simulation application, leveraging on using Space objects and applied additional Property Set Definitions for Space objects where I introduced a new Property "Value".
I applied a display theme to my DWG, and based on the value of the Property, different colors will be displayed according to the display theme.
For a single DWG file containing the building, I am able to simulate the color changes by updating the “Value” Property in the Spaces using .NET APIs functions such as PropertySet.SetAt, and committing the transaction.
However, one building can consist of many different levels, and I have split up the modeling of the building into its separate levels. For example, a 3 storey building, I will have 3 DWG files for each individual levels.
A main empty DWG was then used to XREF the 3 levels, to combine the different levels into a whole building. I would like to simulate such colour change through the main DWG which references my individual level DWGs.
what .NET API I can use to access the XREF DWGs in my main DWG, so that I can update the "Value" property in all my Space objects?
I draw a closed polyline and then I extrude it. But when I want to see the 2d plane and hide the 3d version I cannot go back as the polylines are extruded and everything is disappearing. Should I draw a second poly over the first, then create a new layer, name it for example 3dpolywalls ? Is this the most common technique? Or there is a more efficient way ?
So we have this custom construction note routine. It creates all the notes with station, offset, blah blah , and it is all together as once piece. So if you move the note group the leader will stay attached to it and it holds all of the label properties.
When I copy clip, wblock, insert these key notes into another drawing they are no longer a group and there is no way to move them all together.
This has created a lot of extra work and moving stuff around that does not seem necessary.How can I copy or move construction key notes from one drawing to another without losing the group properties. I have tried WBlock and making sure the grouping is on when I copy and paste/insert them but it still doesn't work.
Oh and we are running a 64bit 2013 with the carlson suite application,
Autocad 2013 Data Extraction works if I do not include attached xrefs and set it to "Select objects in current drawing". When I check "Extract objects from xrefs"; and go to next it processes for a bit then stays on page 2 of 8 on the Define Data Source page. Also have the same error if I choose " Drawings/Sheet set" with or without the xref objects included.
I am rigging a car that will definitely change at a later stage. To avoid having to redo a lot of work, I am using the Xref Objects option to bring the car into a new scene. In the new scene I have built my rig with all my controllers etc. I used simple linking to attach the various pieces of geometry to the rig. At this point everything works great - wheels turn and steer, body rolls, suspension works. I hit save.
Now when I close Max and then open the file again, the geometry has jumped all over the place (see the image attached)! I have tried various things to fix this with no luck...
I have reset xforms on all the original geometry, aligned the pivots so that they match exactly to the controllers they will be linked to, checked scale to make sure everything was at 100%, I have reset transforms. None of these solved the problem. Is this even the correct method to rig?
I've never cared for the Ribbon. IMO it takes up a lot of valuable screen real estate and spreads out commands I find to useful to be grouped together across multiple menus. I did like how the Menu Bar was laid out in LDD because all the commands for anything I could do with alignments, for example, were all in one place.
Here's how I set up C3D to have an UI more like LDD:
1. Show the Menu Bar: click on the dropdown menu button on far right of the Quick Access Toolbar (at the upper left of the C3D screen) and select Show Menu Bar. Old familiars like File, Edit, Points, Alignments, etc should be visible.
2. Get rid of the Ribbon: type RIBBONCLOSE into the command line and ta-da!
I have included a xref scene in another file and but the xref when rendered does not respect hidden layers, hidden object OR "do not render' option set in layer manager. In other words all of the objects including the hidden ones are displayed. How I can leave my reference objects and layers in my original scene but not display them if I include the file as an xref scene.
I've been working on a poster composed of several groups of layers and probably around a total of 80 layers. When I flatten the image, I loose all of my layer effects, things like bevel and emboss on text get flattened out.
When I upload photos to[URL]... They will either be a very large file size and delay the download of the page or they will come out grainy. I have tryed adjusting them in Photoshop, but I will either loose quality or they will not be compressed enough. It there an easier tool that I am missing?
I installed the download/trial version of X4. I decided to purchase but went through an education/academic seller since I work at a university and get better prices.
I thought I could just input the serial # of the disk I bought but obviously there is a difference in the 2-versions since it won't accept the "educational version" serial #.
So, I figure I need to uninstall the download/trial version and install the what I got on DVD.
I am concerned about loosing the info in the libraries. I made a spare copy of the projects, just in case the uninstall does something with them.
I know that in ACAD you can use the xref manager to see where the actual file for the xref resides on your computer/server/etc. What I'm curious about is whether or not the inverse action is possible. Can you somehow access the file (not the output sheet where it's being xref-ed) and see what other files are using it as an xref?
I've come in on a project that is nearing completion and have been assigned the task of "cleaning up the project folder." Unfortunately, there are a ton of files in the different folders that are no longer in use on the final output sheets and I need to keep the ones still in use and archive the ones that are no longer needed. What I've been doing is going through those sheets and reviewing the xref manager for each sheet to see which files are actually put onto those sheets and making a physical checklist from which to organize my findings. Once the checklist is made, I then archive all the files that are no longer being used.
Is it possible to run a lisp which can extract all the xref names, make a layer with that name and then change the xref on the layer? I have got a similar routine from earlier posts but it doesn't work if any xrefs inserted in paper space (works fine on model space). could change this routine allowing to change the layer of xref in paper space too.
(defun dxf (i a) (cdr (assoc i a))) (defun c:lxr ( ) (setq ss (ssget "x" '((0 . "INSERT"))))
I am using (trying to anyway) a :VLR-xrefSubcommandReloadItem reactor. My only question is how to get the xref/block name from the 'reactor callback data' Object ID.
I am ultimately trying to pass it to (vla-get-xrefdatabase ....), but I cannot figure out how to turn the second parameter from the reactor callback data into something I can use - for example the second parameter returned may be "65" or some other number.
when you bind an xref the link disappears from the xref manager.
is it possible to bind an xref, but preserve that link in the xref manager? i realize that will lead to two copies of the same object in the drawing (one xref, plus the new block). everyone's okay with that happening.
How do I get the full Xref Path name instead of Xref.dwg? I'm scratching my head is this totally under my nose... cause I don't see where the property is stored. I'm getting EV_BDR.dwg instead of C:folderEV_BDR.dwg
I am very much new to AutoCad, but have learned quite a bit about it in the last few days. As a part of the learning I have been building a 3D model of the shed my dad is building. But I ran into a problem on the roof and cant seem to figure out how to click everything into place.
My problem: I need to keep the size and shape of all objects while also connecting the objects to the main structure. I need to keep A and B connected to the main structure and adjust the angles so that both meet at C. But if I move one then another moves out of place. (In the pic B is out of place) All I want to do is hold the beams at A and B in their spot while adjusting the rotation on both beams to meet at C all at the same time. I have tried to fine adjust the rotation on the beams individually but still cant get them together. I cant seem to get the constraints feature to work, because I guess it only works in 2D. I have tried to use the align tool but it just throws everything haywire.
I have several .dwg files that I use as templates. I run find and replace VBA routines on the template .dwg files, ie find $Flavor$ and replace it with "Grape", and then I save the .dwg to another directory with a new name.
These VBA routines work well for acdbText and acdbMText objects, but I have a bunch of AcdbAttributeDefinition objects in the .dwg templates as well.
After much research about the AutoCAD object model (I'm mostly a Microsoft Access VBA programmer), I have come to understand that these AcdbAttributeDefinition objects are actually "remnants" of a block that no longer exists in the drawing.
Anyway, I'd like to convert all of these orphaned AcdbAttributeDefinition objects to acdbText objects in the templates and then delete the AcdbAttributeDefinition objects. I have some code that does just that.
However, the issue that I am having with the code is that the newly created acdbText objects are not on the same layer that the original AcdbAttributeDefinition objects were on. I don't know the syntax to identify what layer the AcdbAttributeDefinition object is on or how to specify what layer on which the acdbText object is created.
how to keep the acdbText objects on the same layers as the original AcdbAttributeDefinition objects during the conversion and deletion process?
Here is the code I am using currently:
Sub AttConvert(dwg as string)Dim oDocument as AcadDocumentDim ent as AcadEntityDim aa as objectset oDocument = Documents.open(dwg) For Each ent In oDocument.ModelSpace If ent.ObjectName = "AcDbAttributeDefinition" Then' DO SOMETHING TO IDENTIFY WHAT LAYER THE ACDBATTRIBUTEDEFINITION OBJECT IS ON ' DO SOMETHING TO SPECIFY THAT THAT IS THE LAYER TO CREATE THE ACDBTEXT OBJECT ON Set aa = ThisDrawing.ModelSpace.AddText(ent.TagString, ent.InsertionPoint, ent.Height) End If Next ent For Each ent In ThisDrawing.ModelSpace If ent.ObjectName = "AcDbAttributeDefinition" Then ent.Delete End If Next ent End Sub
I'd like to know how to align an object in model space with the edge of my viewport in paperspace.
When I draw, I like to lay out multiple complete drawings in model space, make an appropriately scaled bounding box around them, and then snap a view port to the bounding box in my layout. I usually have multiple drawings lined up in a row in modelspace, so when I want a new layout I do a Save As and then pan around in my viewport to find the next bounding box, at which point I have to resize the viewport to get it to snap to the edges nicely. I really want to be able to to it the otehr way around- while panning I'd like to be able to grab a corner of my modelspace bouding box and snap it to the the corresponding corner of my viewport window. That way making new layouts would be a snap. Is there a way to do this in AutoCAD 2012 LT?