AutoCAD Visual LISP / AutoLISP :: Converting Special Layer With Special Line Weight To Special Layer Name
Aug 9, 2013
i have line in the drawing that exists on layer A-Wall it has different lineweight 0.05 from true wall. Now usually my routine : i select this line and then select similar to convert it to layer glazing.
i need lisp that by one command convert the objects on layer A-wall with layer 0.05 only to glazing.
View 9 Replies
ADVERTISEMENT
May 15, 2013
Is there a way to find and/or replace "very" special characters like [carriage return], [backspace] or even [tab mark], considering that the first thing that comes to mind when saying special characters is the standard and extended ASCII only.
View 4 Replies
View Related
May 4, 2012
I'm trying to write a simple Custom Command that sets any layer that matches "$-*" to a specific color. But as soon as AutoCAD sees the $, it thinks I'm trying to do a DIESEL expression. Supposedly, the quote marks specify that the enclosed characters should be treated as plain text, but that doesn't happen.Here's what I've got:
^C^C-LAYER;C;252;"$-*";;
And this is what I get:
Command: -LAYERCurrent layer: "$-HATCH-00-002-PW-BOAT"Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]: CNew color [Truecolor/COlorbook] : 252Enter name list of layer(s) for color 252 <$-HATCH-00-002-PW-BOAT>: "No matching layer names found.Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]:
It stops, hanging at the incompleted -LAYER command prompt.
View 4 Replies
View Related
Dec 27, 2011
I want to make a block which is visible to snap only on a special point, say pivot point.
View 7 Replies
View Related
May 29, 2013
I want to color a photo of a brown leather shoe by switching on a color layer under it. I need this because a website script works with 2 separate images/layers. The top layer must be a transparent png of the image (the brown shoe) and the layer under this is a solid color (or more colors). This way you can color a shoe by clicking a button on the webpage.
I tried it using a white shoe on a layer, setting the opacity to 80%, than I used 'Select Color Range' to select the leather of the shoe, than I deleted this selection. This way the shoe keeps the leather look but is kind of transparent. A colored layer under it 'paints' the shoe while you still see the leather texture on it.
View 3 Replies
View Related
Oct 26, 2012
I would like converting all objects that has forced linetype to be on a linetype layer.
So if there are objects that have forced linetypes - dashed/hidden/phantom, etc., those entities would be moved to a linetype layer based on their forced linetype. The entities would all be changed to color bylayer, linetype bylayer.
So if there is a rectangle that is sitting on an EQUIPMENT layer, the routine would put that rectangle on a new layer called DASHED and change its forced linetype to BYLAYER.
Lastly, once that's done, the next and final step is to locate a the existing layers with matching linetype - say, OBJECTS with DASHED as a linetype, and merging it to that layer.
View 9 Replies
View Related
Jun 5, 2013
How do I select the layer in which I want to draw?
for example i draw two line and Each of them has to be in different layer.
How do I select the layer which I want to draw?
View 9 Replies
View Related
Sep 21, 2012
I was trying to do one that can change color and line weight using a number provided by user. What i want to do is to ask a number to the user, 5 for example, and then change the color to 5, and the lw to .5. I was starting with this:
(defun c:ccv (/ eco lun ob cc clw)
(setq eco (getvar "cmdecho"))
(setq lun (getvar "lunits"))
(setvar "lunits" 2)
[code]......
but is not working, it has a bug with the clw variable.
View 9 Replies
View Related
Mar 14, 2012
I need to find the tool bar or palette that has the special characters and symbols ( Microns, Center Line, etc.)
ACLT 2012
View 8 Replies
View Related
Apr 17, 2012
lisp..It work fine but just that i need some minor modificatio to it...At moment, when i activate the lisp, it will automatic select all dimension,leader and multileader to a layer call "DIMENSION"...Anyway i wonder if it is possible to prevent any dimension,leader or multileader in layer "Section" will not be change to layer "Dimension"?
View 2 Replies
View Related
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
Feb 21, 2013
Possible to link an xref layer and local layer so they display the same (eg. sync viewport colour, linewieght, line type)?
I insert xref's for my base drawing but legend is on local layers and I would like to be able to ensure that the line colour and linetype always match...
View 4 Replies
View Related
Aug 28, 2012
I have a customized button to draw an ‘ac-arrow’. I created a lisp to create the layer “G-ANNO-LEDR”
if the layer name is not found. The advanced part I would like is:
Current layer: E-ANNO-WIRE
Ac-Arrow Leader: G-ANNO-LEDR
OPTION 1:
If, say I am on current layer “E-ANNO-WIRE” and need to draw my “ac-arrow” leader, and continue working
on the original layer “E-ANN-WIRE” (and have the leader be drawn [remain] on the layer “G-ANNO-WIRE”).
With this option, I have the block “ac-arrow” imbedded in my template drawing file to have the block at hand.
With this option, the layer “G-ANNO-LEDR” will be created IF it is not on the drawing.
OPTION 2:
- Currently be on layer “E-ANNO-WIRE”
- Bring in the block “ac-arrow” from my block library “L:AutoCADSymbols”
- Draw the “ac-arrow” leader which will be on layer “G-ANNO-LEDR” (this layer created IF it is not
on the current drawing).
- After the leader is drawn’
- Be put back to the layer I was, “E-ANNO-WIRE”, and continue working.
The OPTION 2 is what I would really like to have. A while back, I happen to see one like OPTION 2, but I cannot
find it anymore on the users groups. I have been searching for a while now.
Currently, I use the button in my customized toolbar (see image) and have to have the “ac-arrow” block in my drawing and have its layer created in the drawing.
View 1 Replies
View Related
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
Nov 19, 2013
Any script that when ran will set lineweights of a layer based on what color the layer is assigned. For instance if I have 3 lines that are green on 3 different layers. I need the script to change all 3 layers lineweight to .015mm. I have drawings that are inconsistant with layer names so layer translator and methods of that nature will not work because I do not know all the layer names and I have 100 drawings to do this to.
View 3 Replies
View Related
Sep 19, 2013
I'd like to change a layer's color from command line because of a user icon. I figured out from previous topics that I should use macro similar to this: ^C^C_filedia;0;-la;s;Verdeckt (ISO);c;1;l;dashed;;_filedia;1;re;
(I want to use this macro to change layer's linetype, too, but that's not the point)
The only problem with this macro: layer's name contains a space therefore Autocad tries to recognize Verdeckt as a command (and macro interrupts there) instead of setting Verdeckt (ISO) as the current layer. I've tried using different quote marks, none of them worked (' and " and <>). I hope there's a method for entering a parameter that contains space.
Software: Inventor Series 2011 SP1 x64
OS: Vista Business x64
CPU: E6400
RAM: 2*2Gb GeIL
VGA: Quadro FX 550
View 5 Replies
View Related
Mar 6, 2013
Years ago I was able to type %% and a letter so the diameter symbol appeared.
I have forgottoen all the codes over time
Is there an easier way to get those symbosl inserted in a text string (diameter, degree etc) with 2013?
I'm specifically needing to put a superscript number in a text item (eg cubic meteres...).
Does any table of those codes?
View 3 Replies
View Related
Jul 11, 2013
About 50% of the time, when I take a screenshot of part of a pdf (using acrobat's screenshot tool) when I go to paste it into C3d, I choose paste special, and then image object, and the screen goes pale and I get the C3d has encountered an error and needs to close message.
I have installed the latest hotfix which was recommended after a save to dxf crash this morning but just had it crash out again with a paste special.
When this crash happens, it never asks me to send in a report.
I am using C3d 2013. the 64bit version, on Win7 pro 64 bit SP1,Intel (R) Xeon (R) CPU E3-1240 V2 @ 3.40ghz and 3.40ghz. 16gb RAM, and AMD FirePro V5900 2gb graphics card.
The computer should be able to cope, but I find that it lags if I just insert whole pdfs and I usually only need a bit of the image.
Is there anything I can do apart from always convert the pdf into a jpg first?
View 5 Replies
View Related
Aug 30, 2013
As everybody know copy/paste excel file into an inventor drawing is sometimes difficult. As you can see in the printscreen a special character is not converted. I supposed it's because this special character is not in the AIGDT or is in the extended character set wich is not considered in Inventor?
View 2 Replies
View Related
Oct 10, 2011
I'm trying to write an application that creates a .idw drawing from a .ipt file in vb.net.
Now I want to predefine a layout, where the projected views should gonna be, independent which .ipt file I have.
Do I create a new .idw and make it look like I want, then save it and open it within the application?
But if I change the savepath it ask me where the file (.ipt) is.
So now I could choose my one, right? But how can I choose my .ipt file in the application?
It won't let me do an operation like openwith or something like that.
Or does there exists another way to predefine a layout?
View 2 Replies
View Related
May 15, 2012
I need drawing borders in special formats - can't use the DIN or ANSI formats. How do i create these special paper sizes / layouts in auto cad 2007?
Example: i need a paper size / layout 56 in wide and 22 in high.
View 2 Replies
View Related
Apr 15, 2003
I am looking to produce a print job in Five colours, CMYK plus a pantone colour. Is there a way to get Photoshop to generate or support a 5 colour file. an extra channel isn't regonized as an extra colour by quark express. At the moment the current answer is two tiffs over the top of each other with the upper set to over print, but this is a little clumsy!
View 5 Replies
View Related
May 6, 2003
I would like to put a huge flag on a picture like they do on the TV when the rugby/racing is on and make it look very realistic.
View 9 Replies
View Related
Jul 14, 2004
i have this border i made, a line weach consists from a number of colors, when i want to place it around a straight line shape i have no problem and all i need to do is to copy and paste and "free trasform" it acording to the angle of the shape. the problem is with a round shape, is there a way to control this line and make it round?
View 9 Replies
View Related
Oct 20, 2006
I was finding some of new font but I went to a lot of website also can't find that I prefer.
Anyone got website that download font?
View 1 Replies
View Related
Sep 6, 2012
When I try to paste in any collection of cells from excel using "paste special" C3D crashes. I'm using 2010. It crashes trying to paste into any drawing, and any group of cells.
My error is:
Unhandled Access Violation Reading 0x209519f8 exception at 478f56h
View 3 Replies
View Related
Mar 23, 2012
I get a pic from one website, nicely done. how can do similar this.reference image is attached
View 3 Replies
View Related
May 23, 2013
OK I've been a experienced photoshop user and I've been hit by a car. I have CS6. I am trying to remember how to special effects for Icons like beveling.
View 4 Replies
View Related
May 7, 2011
this project that im working on. Im trying to create a high speed effect, like your travelling through space or racing on a race track. you have those streaks in the design to give the illusion of travelling at high speed.
Im looking to use some football players on the design so what i should use for a background. The design will be quite small and im looking to create the design as an animated gif when its done.
View 8 Replies
View Related
Sep 13, 2011
I had a pc crash and am reloading all my old programs including VS 4. I found everything except a couple effect. One was a crown that could be adjusted and placed on a head, another was a wand that went across the screen with sparkling bits, another had butterflies, etc.
View 14 Replies
View Related
Jan 31, 2009
How do you insert the accented "a" and the accented "i" in Photoshop CS4? I've searched on the web and found reference to special character codes. Where do you find a list of these Alt-code combinations listed?
View 4 Replies
View Related