AutoCAD .NET :: How To Retain Draw Order With Copy Command
Nov 22, 2011
With the code below the draworder is not retained , does anynone knows how to retain the draworder in a .net copy command?
Function MaakKopie(ByVal objIds As ObjectIdCollection) As ObjectIdCollection
MaakKopie = New ObjectIdCollection
Dim doc = Application.DocumentManager.MdiActiveDocument
Dim dwg = doc.Database
Using doc.lockdocument
Using transactie = doc.TransactionManager.StartTransaction()
...still happening in 2013...any answers out there? I'm getting pretty tired of redefining blocks (sending the wipeout to the back of the draw order) after pasting them into drawings.
Looking for views on what the best method is to copy a selection of parts in IV 2013 which will result in the copied selection to retain it's constraints ? I have an assembly which I have used the mirror method on a batch of parts, also used the standard copy method and pattern components.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition Windows 7 HP Z400, Intel Xeon W3550 3.07GHz 12.0GB RAM, ATI FirePro V4800 (FireGL)
Is there a way to lock the layer setup in a viewport, so when i copy and paste it to another paper space tab in the same or different cad file, it keeps the same setup?? (layers frozen / thawed)?
Okay, likely a stupid question - I have a map I created as a .psd with multiple layers. I would like to create a document with two copies of this map in it so I can print two maps on one sheet of paper (i'm trying to save paper).
How do I copy all layers over to this new document? Is there an easy way to make a new document with 2 instances of my map?
So I'm having an issue with draw order... I have a base with a solid screened hatch that is xrefed into a sheet file in model space. I have text, reference bubbles, dimensions, etc in paper space. When I print, the information in paper space that is above the hatch isn't showing up. Usually the information in paper space would show up when I print without having to deal with draw order...
I like to set up my draw order within my CAD file since I use many XREFs to create my design. Every time I go back into the drawing the draw order reverts back. How can I get it to stay in the order I have changed it?
Is there are tool somewhere where you can make the draw order layer specific. I.e so we have a layer with a certain number of items on it that always appear above another layer with other types of items.
We tend to use leaders a fair bit and they often drop below some of our design elements, ideally we want them to be at the front & have to spend time bringing to front / sending to back etc.
I have been unable to make Draw Order work well. The attached file and other ones I created would not work. The goal is to have the boarder and text (color 7) always stay on top after it is created as a block and pasted to any drawing. After pasting it, the text go underneath the shade (color 155). I have used Draw Order, picked the objects in the order I would like, repeated the same steps inside the Block Editor and Edit Block In-Place, still, the block would not work. I never had this issue before - seem to have stared today. Don't know what else to do. The only thing that works is keep recreating the block till one works, which seldom works.
I like my Dimenion Extension Lines to be hidden if over another object, so I use the Draw Order button "Send to Back", but it gets a bit tedious to do it every time.
I searched this forum and found a thread that explains how to create a keyboard command to do it, which is useful, but I'm wondering can I set a property of Dimensions (or any other object for that matter) so that when it is created its Draw Order is automatically set to the Back (or the front, if I wish)?
We have a project where we have a combination of CAD data and shape files (connected) with various labels in both formats.
They are in the proper order for both 'Groups' and 'Draw Order' in the 'Display Manager'.
We have two separate viewports, created and named using 'Display Maps' with the applicable layers turned to visible as each viewport requires (some common shapefiles need to be display, some different, some different CAD data also). When we do a regen within one viewport the other non-active viewport immediately loses its draw order (CAD objects appear above the shapefile data). If we switch viewports and Regen then the first viewport will lose its draworder.
Could this be a case for Autodesk Subscription and the developer's to resolve?
Is there any way to have more control over the Draw Order? "Move to the Back," "Bring Annotation to Front" etc. is so clumsy and not precise.
PhotoShop has a whole Layers palette where you can drag certain layers above others. Right now I'm tearing my hair out because my Electricity layer keeps getting hidden behind the Furniture Layer which must also contend with the Flooring Layer... Isn't there a setting to do this permanently?
To permanently set up which layers will automatically be above or below other ones?
I'd want something like this...
TOP - Text layers - Dim Layers - Electrical symbols - Electrical appliances - Furniture - Wall Cladding - Flooring BOTTOM
I still having this issue: in Civil 3D 2013 spanish, after intalled SP1, draw order commands (right click > draw order) get a message " command not recognized"
What I want to do is to have an area label where the text background mask obscures linework but does not obscure the parcel fill (hatch). I think it looks bad when you have a light hatch where the background mask cuts a big hole in it.
Usually I would use draw order to do something like this. But since the fill and text are part of one object that won't work. I looked to see if there was any way to affect the order in the Parcel Style but didn't see any.
I've got a Profile View style set up just the way I want it. The only problem that I have is that the automated fill hatch that I'm using between my existing and finish profiles is showing up behind the grid lines. Unfortunately, we use "lines overwrite" as a standard, so I can't just switch to "lines merge". Any way or a setting that would allow me to move the draw order of the fill hatch above the grid lines?
I've used cad now in a basic 2d architectural sense now for 10 years, through various versions.
I have recently dropped back to a 2007 from 2008 (changed jobs) and for some reason the draw order is all messed up i noticed this first through hatching but its on everything including inserted images.
I've tried a few of the solutions on other threads even uninstalling cad and re-installing it and nothing seems to be sorting it. Functions like 'send to back' etc just don't work and the draw orders are all to pot.
I'm using AutoCAD 2013 that came with Building Design Suite (Revit) and the copy command terminates after making the first copy, instead of continuing to make multiple copies until I terminate the command. Is there a switch to control this? A sysvar?
I have a 3D file (not of my creation) that gives me some problems when I try to copy it (it is a 3D building).
The problem is that, when i click on "copy" command, I can select a point but then AutoCAD crashes and it takes about 30 seconds to return working a normal way and permit me to paste it. (it happens with "move" command too)
Otherwise, if I use "copy with base point" I have no problems: after a second I can paste it where I want.
How can it be possible? Cause if sometimes I mistake and digit "copy", I always have to wait the long Autocad response.
This problem happens with both autocad 2012 and 2013 and it doesn't happen with other 3D files I have. The drawing is made mainly of meshes.
I have a Dell notebook and a NVIDIA Quadro 2000M video card, so you can understand I don't like this problems: I spent a lot of money for something I hoped could work well with AutoCAD.
About that, aren't there drivers for the graphic card? Cause when I click on "check for updates", autocad says me that there are newer version of the driver, but then it says me that it is impossible to update it (I have a connession and a student version).
I recently upgraded to Civil 3D 2011 from C3D2010. I have used the same ACAD.PGP file for years that includes the shortcut C for the COPY command. Up until C3D2011 this would always allow me to copy an entity multiple times, (the default when COPYMODE is set to 0).
I am running C3D2011 64bit on WIN 7 64bit OS. It happens with other commands too that use a dialog box normally, i.e. INSERT - it only brings up the command line version of it.
The draw order toolbar icon is displayed on screen. When I try to change the draw order, I hit the toolbar and get an AI_Draworder unknown command. I even moved the toolbar in a different part of the screen. The only why I can now change the draw order on an entity is the type in the word draworder in the command line. Is there any way to reactiviate the draw order toolbar?
I get the following error message when I hit the "Draw Order" button or try an "Express Tool" command. I just installed Acad 2012 and it does not load.
Command: Command: Unknown command "AI_DRAWORDER". Press F1 for help. Command: Unknown command "FRONT". Press F1 for help. Command: Command: blockreplace Unknown command "BLOCKREPLACE". Press F1 for help.
I am using the command Draw Order and would like to use the Quick Select so that I can select all objects on a specific layer. How do I use the Quick Select in conjuction with the Draw Order command?
How do I get the draw order to stay the way I want when I close and reopen a drawing? I even think that a couple times, without even closing and reopening the drawing, the draw order has flipped back to the way I don't want it after changing it.
the layer order will not function as soon as the block is made dynamic. I have been creating my blocks the harder way and still have more to do, so what to do.
The last time I asked the Autodesk technician, I was told it is a program (Autodesk) issue which I call a bug. I have tried the draw order and the Textofront still, no better result.
I have come across a situation whereby when a user redefines a block in a drawing it is changing the draw order of the xrefs.The block in question is the Plan frame, and is located in paperspace. The user redefines the block and the xrefs change their draw order in the viewport. A regen does not unfortunately correct the issue.Drawings were created with Civil 3D 2010. The plan frame block is a dynamic block.
how to control the draw order of objects created within an array in a dynamic block?
I have a wipeout, which works fine on the array source, but when the array produces babies, it places them infront of everything (which is only logical), making the wipeout useless.
Can I set array babies to have the same draw order as their parent?
I recently started working on Inventor 2013 and I'm trying to copy a drawing view in order to place it on another sheet. Unfortunatly I see no copy option. Am I doing sth wrong or it's due to the changes in the version?
My company upgraded our AutoCAD from 2007 to 2009 this past Monday. I'm getting an error message when trying to change the order of objects in model space.
Command: Unknown command "AI_DRAWORDER". Press F1 for help. Command: Unknown command "FRONT". Press F1 for help.