AutoCad 2D :: Moving Objects From One Layer To Another?

Apr 26, 2013

I am using Autocad 11. I am working on some 12 year old drawings for a railroad museum. They are a mess. They look like they were done be an old pencil guy. Lots of views all over the drawing space rather than using layers to his advantage.

I am watching all the tutorials that i can find. There are Blocks on wrong layers.

I want to move a group of lines (part of the stuff on one layer) onto a new layer that i have created. Is it as simple as cut and paste? How do I prevent them moving during the process?

I tried making their layer current, then selecting the items, then cutting the items. Then i made the new layer that I wanted them on Current, then pasted them. I has to very carefully line them back up, and they are still on the original layer.

View 3 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Moving Objects To Different Layer Is Slow

Nov 26, 2013

I find that the command to move objects to a different layers runs very slow in one of the drawing.  I want to find out what wrong with the drawing and how to speed things up.

I have a LISP program that batch processes a large number of drawings.  One of the step to process each drawing is to change the colors of some objects according to the status of the objects.  I do this by moving the objects to a later that has the right color.  So far the program only takes 2 to 4 minutes to process each drawing.  But the program takes close to 90 minutes to process one specific drawing.  I track down the problem has to do with the command that moves the objects to the right layer, like this:
 
(vl-cmdf "_.chprop" (ssget) "" "_layer" "ABC-Prod-Good-Pcs" "")

 This command takes a very long time to finish, like 40 minutes each time it runs (to move 1200+ objects), and the program needs to run it twice for a total of approximately 80 minutes.

Please note that the drawing itself is not the largest drawing, and it doesn't have the largest number of objects to be moved either.  It is close to the top-5 drawings in term of drawing size and the number of objects to be moved. I cannot say that the drawing size or the number of objects to be moved are the cause of the problem.

I tried to "speed up" by moving 200 objects incrementally.  That didn't work. I tried to "speed up" by moving 100 objects incrementally and saving the drawing after each 100 objects are moved.  That didn't work either; actually the speed is slightly slower than simply moving 1200+ objects all at once.

I don't know what to do.  I believe there may be something unusual about that drawing.  By the way, the reason why I choose to change color by moving objects to a different layer has to do with the fact that I have found this is the best way so far. I tried to change the color of the objects directly.  But I find that the color of some sub-parts of the objects are not changed (because their color is by-layer). That's why I choose to change color by moving objects to a different layer.

How I can check the drawing, any different way to change color that is better.

View 5 Replies View Related

Illustrator :: Moving Group / Layer / Artboard With Locked Child Objects

Nov 8, 2012

In CS5, you could move a group/layer/artboard along with all of the child objects, even if some of the objects are locked.  But in CS6 the locked objects remain unmoved.
 
Is there a way to change this behaviour?

View 7 Replies View Related

AutoCAD VB :: Converting AttributeDefinition Objects To Text Objects On Same Layer

May 9, 2013

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

View 1 Replies View Related

AutoCAD LT :: Cannot See Objects While Moving

Aug 30, 2013

I recently started a trial for a program called PDF2CAD, the test file I converted worked fine. Everything is selectable and editable. When I move something it does show up while moving/copying. However, when I make additions to the drawing, text for example, and try to move/copy it it does not show up while moving.

PDF2CAD converted the PDF to a DXF format, which I then saved as a DWG.

DRAGMODE - Auto

DRAGP1 - 5000

DRAGP2 - 10

HIGHLIGHT - 1

View 9 Replies View Related

AutoCad :: Objects Keep Moving

Jun 13, 2012

I used to set precision to 3 decimal places which is in millimeters in my case. That is enough for the building industry. Recently, I found out a co worker worked on my drawing while I was on vacation. Something seem out of place, so I set the precision to 8 decimal places and noticed everything is off by a bit. In general, 0.00000002 isn't going to affect the project, but it just bugs me a lot. I spent hours lining everything up perfectly, just to find out most objects shifted again by a tiny bit after 2 days.I tested out a few lines by fixing them in the block editor and saving it. But everything I reedit them, they shifted again.I asked the co-worker if he remember what he did, but couldn't come up with a solution.

View 9 Replies View Related

AutoCad 3D :: Objects Moving Away From Grips

Apr 16, 2013

So I am working on a very large project (AutoCAD Architecture 2012) and when I rotate my view, some of the 3D objects will randomly fly out into space. The strange thing is that the grips for the object are still where the object needs to be.

Below should be a picture to explain what I'm talking about.

Grip error.jpg

Is this a bug? Is there a fix? Is this user error?

View 5 Replies View Related

AutoCad :: Apply Layer Color / Linetype / Properties To Objects On Layer

Feb 15, 2013

I have a bunch of objects on a particular layer, and they're all different colors and linetypes and lineweights, and i want them to all take on the color / linetype / lineweight that i chose for that layer.. how do i do this?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Move Objects To New Layer Based On Their Present Layer

Jun 20, 2012

Say I have 2 items, one is on layer "M-Duct" and the other on "M-Pipe" (they are in the same drawing). Any lisp routine that would create the layers "M-Duct-New" and "M-Pipe-New" (based on the same color and LT as the original layers) and then move those objects to the newly created layers?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change All Objects On Layer 0 To Existing Layer PC Module

May 31, 2012

I'd like to have/write a lisp to change all objects on layer "0" to layer "PC - Module"

If possible also;

save the document close the document open next in directory run layer changer program again.

View 8 Replies View Related

AutoCad :: Text Objects Moving To Different Locations

May 17, 2011

I just upgraded from ACAD 2007 3d to 2012 3d. The rest of my organization is using a "mix" of older versions, so we still save to the 2004 format. Text objects "moving" to different locations or disappearing on opening files in newer versions of ACAD? I've had two instances so far. In one case, a 2012 LT user added a leader/text and the 2000 LT user could see it. The text was clearly there in the 2012 users file. In the other case, I opened a file I worked on in 2007 and text objects seem to be moved about randomly when looking at it in 2012. Everything still looks good with the file opened in the 2007 though.

View 4 Replies View Related

AutoCad 3D :: Moving Objects To Absolute Coordinates?

May 19, 2013

I am still having trouble moving objects to precise coordinates. For instance, the thing I drew may be in the correct position in the x-y plane but I want to move it in the positive z direction a precise number of units. Or move it along the y axis by specifying where I want it to be not how far I want it to move.

I see...just use the tab key.

View 9 Replies View Related

AutoCad 3D :: Moving 3D Objects To Touch Face

Jan 20, 2013

Im trying to move objects correctly , lets say from one to top of another .

Untill now im switching to desired view ( top, right, left etc...) and then moving . if my base point is a vertex and the point i want it to be attached it also a vertex , i have no problem. the problem starts when im trying to move object from their center point or other non vertex points to touch the face of the other object.

In the file i attached there's two rectangles i want to move the small one in top of the big one in the Z axis only , so i switched to the view i want but still unable to move it to the next face . Ive tried playing with 3d object snap , no success.

View 9 Replies View Related

Photoshop :: Moving A Layer's Alpha Channel Into A Layer Mask

Jun 20, 2009

(CS3) I have a raster layer that has some semi-transparent pixels.

I'd like to make the layer itself fully opaque, and move the contents of its alpha channel into a layer mask.

(If possible, merging the alpha channel with what I have already placed into the layer mask.)

View 5 Replies View Related

AutoCad 3D :: Moving 3D Objects In Relation To Road Surface

Oct 7, 2013

I use geophysical software which exports 3D objects to AutoCad in relation to the flat surface - "zero" level. Most often clients want to get results in local height datum (in relation to the road surface which has usually slope and is never perfectly flat).

Is there any method to move all objects automatically and show them in relation to the road surface? Ideally I would like to define road surface with three lines (two side lines and center line). Is there any plugin to AutoCad that can do it? If this operation goes beyond the possibilities of AutoCad, can you recommend me a software (eg. AutoCAD Civil), which automates the process?

View 7 Replies View Related

GIMP :: Transform A Layer Without Moving Its Layer Mask?

Dec 14, 2012

Long time gimp user, but for basic tasks only. Now I would like to get my hands dirty a little more. I'm trying to setup a workflow that involves CAD, Inkscape and GIMP. Basically I did some architectural drawing in CAD, used Inkscape to clean up and convert DXG into SVG, so that I can use paths into GIMP. I did a script that for every path creates a new transparent layer with a layer mask using the path, so I can add fills and textures quickly. Now to the problem: say I want to add a texture from another image, i paste the image into the appropriate layer, then I want to transform the texture a bit (scale, rotate and perspective). the result is that the layer mask is transformed, too. I tried to disable the mask during transform, but didn't work.

Is there a way to workaround this? maybe some layer mode instead of layer mask?

View 8 Replies View Related

AutoCAD 2010 :: Moving Objects To 0,0 Plain - Getting Locked Symbol

Mar 27, 2013

When I try to move an object to the 0,0 plain, I get a "locked" symbol in the command line and the object does not move to the 0,0 plain. How would I be able to unlock this to move anything to the 0,0 plain.

View 7 Replies View Related

AutoCAD LT :: 2013 Laggy / Jumpy / Delayed When Moving Objects

Dec 21, 2012

I am testing  out ACAD LT 2013   I've narrowed it down the the hatch. why theres no issue with Autocad LT 2010 using the same hatch pattern.  Tried making the adjustments. Turning off the hatch is really working the best

Running  Win 7 , 64 bit quad core AMD 2.2 gig processor
4gig ram
Gigbyte MB with on board graphics

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Moving Objects In The X / Y Plane Only

Jul 29, 2013

I want to move a large 3D steel file on top of a 2D architectural background. The ISSUE is that when i move it (in plan view "aka top view") the X,Y coordinates change AND the Z coordinate changes... But, I want the Z coordinate to stay the same . I wrote a LISP file that doesnt seem to work (SEE BELOW):
 
(defun C:MoveXY (/ PT1 PTB PT2)(setvar "CMDECHO" 0)(setq PT1 (getpoint "
Specify Base Point or [Displacement] Displacement: ")PTB (getpoint "
Specify second point or <use first point as displacement>: ")PT2 (list (car PTB)(cadr PTB)(cddr PT1)))(command "_.MOVE" (SSGET) "" PT1 PT2))

It seems my issue comes when i get to the command line (ssget) seems to mess it all up . How to use the ".Move" command with the (ssget) function?

View 7 Replies View Related

AutoCAD Inventor :: Border Colour When Moving Objects On Drawings?

Jan 3, 2014

Is there an option to set the default colour for object borders? Our drawing templates have a black background. If I want to move a text or a view, all that is shown while moving the text or view is a rectangular border. Unfortunately this is also black and thus invisible. So you never really know where you move your object to.

View 4 Replies View Related

AutoCAD 2010 :: Moving Multiple Objects With A Point Filter Macro?

Mar 1, 2013

I am attempting to do a macro that will allow me to select multiple objects and then move them in only ONE axis. For example, If I want to move a wall, the door and the window in the Y axis to align with another wall across the hall. I have attempted to do this in a button macro, but so far its limited. Here is the macro

^c^c_move;\.xz;@;

This will allow me to click the customized button, then select ONE object by a displacement, and it will only move it in the Y axis and allows me to choose the point with a mouse click of the final location.

When I try to select more than one object, it kicks me ahead in the commands and prompts for (needs Y). how I can figure out the correct macro?

View 9 Replies View Related

AutoCAD 2010 :: Moving Existing Drawing Objects To Snap Grid?

Dec 22, 2012

I have a slightly unusual query that I can't seem to find a solution for elsewhere. I have an existing OS plan that is 'off grid', and would like to adjust the vertices at the ends of all the existing lines and polylines so that they all sit on a grid point. Is there a quick command or script that does this?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Moving Objects Vertically In 3d View

Jan 1, 2014

I am having trouble moving an object a certain distance. The distance is defined by a pre-defined variable. I just can't figure out the syntax for the autolisp command.

Here is the bit of code if written, there is more code not shared here that defines the points for the polyline .

;-- the varaible box_height is defined earlier in the routine

;-- Draw the polyline for the top of the cabinet
(command "pline" p1tt P2tt P3tt P4tt P5tt P6tt P7tt P8tt "c")

;-- Assign the new part a variable name
(setq cab_toppl (entlast))

;-- Extrude the polyline to make the top of the cabinet
(command "extrude" cab_toppl "" cab_intw "0")

;-- Assign the new part a variable name
(setq cab_top (entlast))

;-- Rotate the top of the cabinet down to the floor of cabinet

(command "rotate3d" cab_top "" 2 p1tt p2tt 90)

;-- Move the top of the cabinet to the final location

;--  HERE IS THE PART I'M HAVING TROUBLE WITH.  ESSENTIALLY ONCE THE PART IS CREATED I'VE NAMED IT CAB_TOP AND AM NOW TRYING TO MOVE IT IN THE Z AXIS THE DISTANCE DEFINED BY THE VARIABLE BOX_HEIGHT WITHOUT USER INPUT

(command "move" cab_top "" "0,0,0" (list (0 0 (box_height) "") 

;--THIS PART IS OKAY

(setvar "CLAYER" oldlayer) ;restore active layer

(setvar "BLIPMODE" 1)
(setvar "OSMODE" 135)

View 1 Replies View Related

Photoshop :: Moving Layer Mask To Different Layer

Feb 19, 2013

Is there a way to move a layer mask from one adjustment layer to another adjustment layer (within the same file), without removing the mask from its original layer? 

(I can move a mask to a different layer by clicking and dragging the thumbnail, but the mask then disappears from its layer of origin).  I'm using Ps CS5 on Windows XP.

View 2 Replies View Related

AutoCAD LT :: Moving Object From One Layer To Another

Apr 3, 2013

Autocad LT Mac

How do i copy and move objects from one layer to another?

I have been copying the objects to a new location in the old layer, then move the objects to the new layer,  then move the objects back to the original location in the old layer, but this is obviouly an ad hoc solution.

View 9 Replies View Related

AutoCAD Civil 3D :: Moving Points To New Layer

May 11, 2013

is it possible to move COGO points to a layer soley based on point number?  I have about 3,000 points buried within a 3M point LIDAR data set I want to tease out, but currently all points are on the same layer so I cannot turn off the LIDAR points.

View 8 Replies View Related

3ds Max :: Moving Objects In Viewport

May 31, 2011

I'm working on this massive architecture scene and i'm trying to move some rather small braided steel cable in the scene when i go to move it the objects moves in rather big increments instead of small ones. I check to see if snaps was on and its not, on what i can do to can more precision over my placement of these cables.

Custom Core i7 at 3.99 GHz, 8 gb ram, Nvidia Quadro FX 3800

View 2 Replies View Related

3ds Max :: Moving Objects From One Center?

Apr 14, 2011

I just started on the roof of the round house I'm working on. I use spacing tool to copy shingles around but now I'm thinking is there an easier way. This takes time. Can you think of any? I was always missing one "tool" in MAX and I think there probably is one. You know when you select many objects and use scale to scale them all (using one center, not each owns), and the objects move as if they are pieces of explosion or implosion (towards or away a centre). But also, they change size of course. Is there a tool or a way to just MOVE the objects this way? Away or towards each other but not scale them?

View 2 Replies View Related

Paint.NET :: Moving Objects On The Canvas

May 16, 2011

I notice that, for example with the the text creator, you can move the text around the canvas before it "freezes up" so to speak

How can I move text, or an object, around after this happens

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Moving XRefs To Another Layer

Oct 31, 2011

I have been looking around the web to find a quick lsp routine that will take all the xrefs in a drawings and move them back onto layer "xref" or "0" depending on what the design team wants.

The ones I have found don't work or move all the xrefs to separate layers.

View 9 Replies View Related

Photoshop :: Not Moving Objects - Gray Box Appears?

May 12, 2012

I'm trying to simply move an object as usual but rather than moving it, a grey box appears and nothing will move.

Looks like this..[URL]...

View 7 Replies View Related







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