AutoCAD Visual LISP / AutoLISP :: Copy Shortcut C Doesn't Copy Multiple But Typing In COPY Does

Aug 23, 2013

I have a keyboard shortcut for Copy (see directly below). This command doesn't copy multiple. But if I type "Copy" at the comment prompt (AutoCAD 2013) the copy multiple is the default. Copymode is already set to "0".

(DEFUN C:C()
(setvar "SNAPMODE" 1)(COMMAND "_COPY")
(PRIN1)
)

View 4 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Copy Command Doesn't Work?

Oct 18, 2013

In AutoCAD 2011 in mapclassic mode I removed some buttons that I don't use from the Modify toolbar and now the copy command doesn't work.  I can't even type in the command line. 

View 1 Replies View Related

AutoCAD Civil 3D :: COPY Command Won't Multiple Copy When Executed With ACAD.PGP Shortcut In 2011

Aug 3, 2011

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.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Copy Toolbars In CUI

Oct 17, 2011

I would like to copy FIllet command and have multiple Fillet buttons with different radius. In the CUI file under toolbars when you right click and copy a button and then change the macro command it changes all the buttons to the same macro.

I guess it does that since when you copy a botton, the new button has the same Element ID name.
 
2013 Civil 3D

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy One Attribute Value?

Nov 2, 2012

i want to select a block and the lisp copies TAG1 into my clipboard (i want to paste it in excel)

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy Selection Set From P1 To P2?

Feb 13, 2012

I need to copy a selection set from p1 to p2.to do this I wrote the following

(defun c:test () (setq sel (ssget)) (setq p1 (getpoint "
Origine: ")) (setq p2 (gettpoint p1 "
Destination: ")) (command "_.copy" sel "" p1 p2))
 
works, but this way I can not see objects dynamically attached to the mouse cursor.

To visualize this effect, I noticed that I can use:

 (command "_.copy" sel "" pause pause)
 
but in this way I can not save the variables p1 and p2: I need for these, subsequently in the rest of thefunctions lisp.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy A Block To All Layers

Apr 24, 2013

If I have BLOCKA on a layer (or specifically layer 0), how do you copy blockA onto every layers?  I'm sure there are 5 ways of doing this. 

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy / Move All Entities In Two Coordinates

Jul 16, 2013

I am having nearly 1000 drawings where I need to change the title block in a new format.

I am stuck up in moving all the entities  in  cordinates 15,280 (upper point) and 205,55 (lower Point) to 275,294 (upper point and correspoing lower point.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: C Copy Command Has No Mode Option

Dec 19, 2013

I'm trying to set my default for the 'c' copy command to be multiple in AutoCAD 2014. I set 'c' under aliasedit to COPY, but when I use the command 'c' it brings up [Displacement Multiple] as options but no mOde. If I use the command 'co' it brings up [Displacement mOde]. How do I set my 'c' copy command to default to multiple?

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy Text String From One File To Another

May 2, 2012

I have spent the last three days writing a lisp program that will copy a text string from one text file and paste it into another.  I have tried using the write-string, getstring, prin1, princ and print functions with no success. 

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy / Move And Rotate Block(s) About Y-axis

Jul 31, 2012

I found a program which rotates selected block(s) about thier insertion point.  I modified it to rotate each of the block(s) about the y-axis.  Works great.  Now, I would like to change it so that it rotates a copy of each block about the y-axis and leaves the origial block in place.  Its kind of like the mirror command exept it is rotating the new block(s) to the other side instead of flipping them.  I want to keep all or the parameters of the block(s) the same as each original.   I am using AutoCAD 2010.  MOCORO is not recognized as a command.  The new features workshop says to use the new command AMCOPYRM, which is not recognized either.  Go figure.

(defun RotateDuplication (/ CN ENT theObjects SS)
  (vl-load-com)
  (setq SS (ssget (list (cons 0 "INSERT"))))
  (repeat (setq CN (sslength SS))
    (setq CN      (1- CN)
   ENT      (ssname SS CN)
  
[Code] ......

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy Block Increase Attribute Number

Jun 19, 2012

I have a simple hexagon block with one attribute, i need to be able to copy it and as i do it increases the number by one.

the Block name is note1-2006 the attribute name is NOTENUM. I have tried using some other Lisps but i cant ge them to work. Sometimes i have to put 40 of these on a sketch i hate copying and changing the attribute by one everytime. so it would be nice to copy and as i pick mutliple spots it increase number. Dont know if there is a way to ask user to keep same number or increase. This would save me so much time.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Save Additional Copy Of DWG File Using Macro

Aug 11, 2012

I need to save an additional copy of a AutoCAD drawing whenever I press the save button.

Simply put, Every time I press save the autocad drawing is saved (Obviously!!!) but

I also need to save an exact copy of the drawing in a folder called (for eample only) "C:TestFolder"

I can do this using DxfOut for dxf files but I need to do this for dwg files.

Can it be done whenever I press the "save" button.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy And Rotate Macro Not Working In 2013

Apr 29, 2012

I have a macro that i have been using in autocad 2012 for a simple copy & rotate command as follows

^C^C_select;auto;\_copy;p;;0,0;0,0;_move;p;;\_rotate;p;;\redraw

For some reason it now does not work in 2013 the macro exits after the copy part of the macro is finished & fails to let you rotate the copied object.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy / Move / Scale / Rotate Objects

May 24, 2002

Any lisp routine where you can select objects and do a global rotate, scale, etc. from each object's insertion point ?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create Command That Will Copy File From One Place To Another?

Jan 7, 2014

I would like to create a command that will copy a file from one place to another.

I can do it directly from the commandline like this

But when I try and put it in a command macro in the CUI editor like this

^C^C_shell;copy "c:/temp/drawing1.dwg" "g:/temp";

it does not seem to work. It comes up with this on the commandline

but no copy of the file is made.

How can I get this to work without having to write an external file, such as a script or lisp?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy Variable Contents Into Attribute Tag In Selection Set Of Blocks

Aug 25, 2011

I have to obtain a selection set of blocks (by window selection and/or single-picks if the user desires) and then an attribute value which I have previously assigned to a variable called TAGVAL to the attribute tag name called PART in that selection set of blocks.

I found a cool routine called RepAtt, but it isn't quite set up to do what I need...
 
(defun RepAtt (Tag / SourceBlk ValueToCopy SelSet) (vl-load-com) (if (setq SourceBlk (car (entsel "
Select Source Block:"))) (progn (mapcar '(lambda (p) (if (equal (vla-get-tagstring p) Tag) (setq ValueToCopy (vla-get-textstring p)) ) ) (vlax-invoke (vlax-ename->vla-object SourceBlk) 'GetAttributes ) ) (ssget ":L" '((0 . "INSERT") (66 . 1))) (vlax-for DesBlock (setq SelSet (vla-get-activeselectionset (vla-get-activedocument (vlax-get-acad-object)) ) ) (foreach att (vlax-invoke DesBlock 'GetAttributes) (if (equal (vla-get-tagstring att) Tag) (vla-put-textstring att ValueToCopy) ) ) ) (vla-delete SelSet) ) ) ) (RepAtt "WIDGET");<-- Tag Name

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy Text Or Line Then Change Its Color To Green

Mar 29, 2013

I'm looking for a way to copy a text or a simple line, circle... ; after I copied it, the last entity change its color to green.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy Block Attribute Data To A Selection / Group Of Blocks

Apr 15, 2011

I found a lisp to get block attribute data to a other block. See attachment. I can only apply it to one block. I like to apply it to selected blocks or blocks in a group. Is this possible?

View 9 Replies View Related

AutoCAD 2013 :: Copy Command Terminates After Single Copy - No Multiple Copies

Jan 3, 2013

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?

View 2 Replies View Related

AutoCad :: Copy Window In One Page Or Copy Multiple Pages

Dec 11, 2013

I am having a problem with memory. I am running Windows XP with 4GB ram. when i start laying out in paper space, i copy the window in one page or copy multiple pages, every time i copy a page of window my memory builds up & up & up with each one until it gets to over 2 GB & the it tell me that if i continue with this next process CAD will crash because i have maxed out the virtual memory. This is usually not a problem when i am doing smaller one off drawings with a few pages of windows but when i am doing a bigger project with 20+ pages or windows i run out of memory.

I gave the latest file to my business partner & he does not have this problem at all. He can open up many windows & as many pages as Cad will allow. His memory always fluctuates around the same 2GB. He is running Windows 7 with 4 GB ram.

View 9 Replies View Related

Photoshop :: Layer Via Copy / Free Transform / Multiple Layers Doesn't Work

May 27, 2012

I am using Adobe Photoshop CS6, latest version as of 05/25/12.I have 19 layers, each has a 1200x1200px texture. These are of course overlapped, so setting them all to visible will only show the top layer.
 
All layers are rasterized, and contain 1200x1200px:
 
1) I select all 19 layers using shift+click, all are highlighted (in the layer pane).

2) I select a region using the selection tool, in this case a rectangular region that is 172px high and 35px wide.

3) I right click the selection, and then select: layer via copy. (Note, Layer via cut is disabled for some reason)

4) *problem* It creates 19 new layers with the full image from the selected layers and not the selection which is what I wanted to place in the new layers.

5) *problem* when I right click the selection and select "Free Transform", the transform box surrounds the entire canvas and not the selection.

6) *problem* when I skew, it skews the entire image and not just the selection.
 
7) *problem* Previously, I have been able to select a layer from the layer pane, go to image menu, select adjustments, brightness/contrast, and adjust the brightness/contrast for just that layer. Now it wont let me.
 
8) *related problem* If I have 3 layers (background, 1, and 2) on a 1200x1200 canvas, with the image in layer 1 being 150px, and the image in layer 2 being 150x, each rasterized, and then stack the images on 1 and 2 over eachother, then select both layers, then select a region inside the stacked images, then select free transform, the free transform selection embodies all pixels inside the canvas (not the entire canvas this time) and performs the transform on these pixels and not the original selection.
 
If I do it making all the layers visible as well as selected, it behaves the same.What appears to be happening is Photoshop is ignoring the selection and for some reason is using a pixel region (or if pixels cover the entire canvas, the whole image) when performing actions intended for the selection.
 
What's strange is when I made these textures, I started out with 19 150x150 pictures, I set the canvas size to 1200x1200, selected all the layers in the layer pane, selected the 150x150 image in the middle, and was able to move all 19 textures to the top right corner, able to switch to transform on all 19 pictures, able to rotate 180 degrees all 19 pictures, was able to flip horizontal all 19 pictures, then able to copy all 19 pictures to new layers, move the 19 pictures all at the same time to the right 150 pixels, rinse and repeat, to eventually come out with 19 1200x1200 textures tiled from the 150px pictures. In other words, I did exactly what I am attempting to do with the 1200x1200 pictures with the 150x150 pixtures and it worked like a champ.

The end goal of course is to take a selection of all 19 of the 1200x1200 pictures, transform, then skew that image to make a collage of images applied to an added background. Performing this on all 19 textures and getting the same exact skew, etc would take days considering I need to do about 15 of different portions of the tile.

View 1 Replies View Related

AutoCAD 2010 :: Copy Elements Of Files In Drawing - Copy To Clipboard Failed

Jan 11, 2013

i have various files which I cannot copy elements of into other drawings.

when i use the ctrol+copy command, I get the "copy to clipboard failed". This has only started since I upgraded to AutoCAD2012.

View 4 Replies View Related

AutoCAD 2013 :: Copy And Move Command But Not With Copy With Base Point

Apr 21, 2013

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).

View 4 Replies View Related

AutoCAD Inventor :: ILogic Design Copy Does Not Make Copy Of Content Center Parts

Jul 5, 2012

I am trying to make an assembly copy as separate project using the iLogic Design Copy feature.

Everything seems fine except I do not have my involved in assemblyContet Centerparts in this copy.

I am also have no any possibility to chose the Content Center folder in the iLogic Design Copy feature as it does not showup there.

[URL]

View 2 Replies View Related

Photoshop :: Apply Same (color) Changes From Copy To Original Image Or Another Copy

Aug 26, 2013

For this example let's take in account that I have 2 identical in every aspect copies (meaning size and content at this point) of the very same image.

1st remains unedited,

2nd is edited only as far as concerning the image > adjustments menu through changing mostly channel mixer, selective color, saturation etc values and had an object attached to it atop of the original depiction before being edited as a whole.

What I want to do is to edit the 1st image, compare in some certain ways the colors of it I guess with the ones of the 2nd, match for instance where color hex value X (and horizontal/vertical X,Y coords - is it needed in order to be more precise and avoid mistakes?) (I guess again) from the 1st image is edited into color (or even additional settings atop of that?) hex value Z, do that automatically for all the combinations and immediately apply the same changes I applied from 2nd pic when unedited (and looked exactly like 1st pic) to the very same 2nd pic in start, TO the 1st pic in the present case. Also in order to do this "color matching" before applied or not I need to set out-seperate the area where I have added an additional object in the 2nd picture and fill it possibly with the original content from the 1st(can it be done in one move) in order for the process to be complete?

That means I turned the 2nd image into a combination of blue-green-red colour (and other) from orange-yellow-cyan (just an example) I want to do the very same to my 1st pic which is orange-yellow-cyan etc.

View 8 Replies View Related

Photoshop :: Will Hard Copy Key Work With Downloaded Copy

Jan 30, 2013

I'm upgrading to a Zenbook which has no optical drive so I won't be able to install PS via the disk that I purchased a couple years ago. Would the key from my hard copy work with a downloaded copy of PS?

View 1 Replies View Related

AutoCAD LT :: Copy And Paste In Same Drawing Doesn't Work

Aug 20, 2013

I'm attempting to copy paste a block and a line from one tab to another in the same drawing and it doesnt appear. I get

Command: _pasteclip Duplicate definition of block _Oblique ignored.
Duplicate definition of block _ArchTick ignored.
Duplicate definition of block attr_FFL ignored.

i've purged, i've audited, i've even created a new drawing and transfered the information but im still getting this problem.The strange thing is occasionally it works.also, i purge so the drawing it is clean, then i try to paste, then when purging again 1000's of blocks appear in the purge diologue box. A49285 to A55404 & a block called A$C4E2C21A4 

View 9 Replies View Related

AutoCad :: Copy Paste With Original Coordinates Doesn't Work?

Aug 1, 2012

I have two DWG files and I want to paste the content of the first into the second file with the original coordinates. It sounds very easy (and I am sure it is) but I am still failing. I open the first file, select all (crtl a), copy all (crtl a), open the other file and want to chose the function: right click > paste with original coordinates. But this open is not active (grey) and can not be clicked. Actually there is no paste function available to click on if I do a right click.

btw. I am working with AutoCAD 2012.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create A Shortcut Key ( TAB )

Jun 15, 2012

I want to create a shortcut key (like TAB) for example and whenever I start a polyline or move or whatever, I can hit TAB which will grab the angle my cursor is at, and then use the angle lock to lock the cmd into that direction. (This is essentially what can be done in rhino if you are familiar with this). 

The manual way in autocad is typing it ("<45") but I just want to calculate angle from the start point to cursor point. and then once hitting tab or a key or a new command, it will lock with that angle. How can I go about programming this.

View 5 Replies View Related

Photoshop :: CSS Copy Doesn't Show Up?

Feb 16, 2013

I am using windows 7 and I installed photoshop cs6 extended.after I installed it, copy css doesn't show up on the right click panel.I've just searched for the update for extended. But update only available on Macintosh.

View 1 Replies View Related







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