I've had a simple lisp I've been using for years that suddenly disappeared. It required that you identify a block name, tag name, and the value that you want the tag to be. All of this is performed via command line, so it is scriptable. Since I lost it, I've been experimenting with -attedit. This command comes frustratingly close to what I'm looking for, except it only appends an existing tag, or replaces a specific string within the tag; I can't get it to replace the entire tag, regardless of its value.
1> Any lisp routine that does what I describe? or 2> How to make -attedit replace a tag value without regard to what the value currently is (like a * wildcard)?
What I want to know is if there is a way to make a hotkey or at all save specific options for specific tools. Let's say I'm using the 'Paintbrush, Opacity 70%, Hardness 075, Size 4.00' as my "standard outline tool". Can I some how save that preference (and any other tool such as "Specific Eraser Op. 100%, Hard. 100, Size 10.00) so that I can easily switch between "Ouline Brush" and "Specific Eraser" . Maybe to the 'f-buttons'
I'd like to be able to make maybe 5 specific tools:-Outline Brush
-Small Eraser -Big Eraser -Detailed Color brush -Big Color Brush.
I need to save a drawing file and give it the name of my desire using a single command, I don't want to issue "saveas" and then specify the name in the file name prompt. This problem is has been faced when I was using ScriptPro and I couldn't succeeded to do that. Hence I need to know if it is feasible to do the stuff using a single command. It will be preferred if I can choose the location to save the file also rather than save the file to the default location.
I would like to know how to write a routine to thaw all layers in current drawing and multiple xrefs; then freeze all, then thaw only certain layers globally for a drawing that is open. Such as a dimension plan will thaw only *-BLDG, *-DIMS, *-RD-*, *BNDRY.
I would like to create one that will fit every project which has a different xref name.
How can I, or can I apply a specific layer to a specific command?? When I choose the dimension command, i want it to automatically become my "Dim 1" layer without having to select it, then select the layer. Is this possible??
what im trying to do is make my own linetype for specific jobs, ie a number of different lines named different things. so using the acad.lin file i have altered it and reloaded it but all my text doesnt look big enough or too big, i am using different drawings etc so i could be on a 1:100 or 1:50 etc, i would draw a polyline and it would be 70mm thick, the line obviously changes but the text height doesnt
Why my AutoCad 2009 will not let me select new layers to a specific group layer filter. It was working just fine and yesterday all of sudden it will not let me add new layers to a specific filter. Is there a button or command that maybe would have changed that function. Everything else seems to be working on the Layer Manager.
I was wondering if there was a way to always make a specific drawing open when AutoCAD starts. For instance when you start it, the file that always opens is acad.dwt
I was wondering if there was a way to make it open a drawing you might be working on. Then you always wouldn't have to click so many times to open it and find the folder it was in and so on. You start AutoCAD and there it is when AutoCAD starts. You can get right to work and not have to look for it.
I know I can make a button on the ribbon for running a specific macro. But, is this possible for iLogic rules? I would love to be able to run rules and launch forms from the ribbon!?
I', using CS4 on Windows 7. I'm making a 24x36 poster with lots of images on it. Each image is it's own layer. Some of the images are too big and I need to make them smaller.
Instead of just using Control+T and holding shift to make them smaller, I'd like to be able to specify in inches what the resized image should be (like 5" wide for example). Is there a way to do this? I see the % boxes, is there something similar for inches? I can't figure it out. I've got Options turned on under Windows.
I'm looking for a way to resize all the layers in my document to a specific size. I'd like to resize every layer to be exactly 6 inches in height (while keeping proportions constrained). I can manually transform every layer to do this but I haven't found a way to do this automatically to all layers, I've tried to do it as an action but it's recording it as a percentage and not a fixed height, so it doesn't work on the other layers that aren't the exact same size.
Im sitting here with a projekt, where it would be great to be able to put a specific code on some specific materials. So we are able to export it to a calculation program and use the material parameters.
To give a quick example, i have this 400mm thick wall, with 200mm concrete and 200mm bricks. If i give this wall a code, a keynote or a custom parameter, im able to export it without any problems. But my wall will be shown as one wall in my calculation program, and that makes sense ofc.
But is it somehow possible to make a specific code for each layer of material? Lets say i wanna make one price for my bricks, and one price for the concrete. To do that i need to know the specific amount of concrete and so on with the bricks.
I know i would be able to find this exact amount, by making a schedule of the wall material, and then sort it by name and area or volume. But these values is kinda dead in a way, since i cant export them directly to my calculation program.
So what would be sweet would be a way to code the specific materials or layers in my walls, so i could export them as two diffrent elements, and make two diffrent prices. One for the concrete and one for the bricks.
I'm using the animated gif extension that allows one to edit gifs that are in the .agif format and I was wondering if there was any way to quickly add in a certain layer into each "frame" of the gif. This is mostly for overlaying text onto a gif and it gets tedious duplicating, moving and merging all the layers one by one.
Is there any way I can choose some Master layers to be present on selective pages only? For example in a 50 page document I have a master layer having a square and a rectangle. Now this should be available on pages say 1-10, 11-23. The rest of the pages should not have them.
I want to define a curve which will have stuff in it, and then have lots of images around the curve but not going over it at all so there is a smooth edge.
I am redoing a series of photos using a specific set of layers and filters, it takes quite some time to open all the stuff for each photo. I sthere a way to automate all or part of this process?
Is there a way to make the color select tool not only select a specific color but related shades as well. I have a graphic that is mainly shades of gray but with black outlines and divisions as well as other colors mixed in. I want to shift all the shades of gray to shades of dark yellow without have to select each shade individually.
Im trying to find a particular block amongst hundreds. I know the name of the block also what layer it is on i just want to be able to find that block through a search so i don't have to spend ages scouring the drawing to find it.
I am trying to first get all the layouts name and add specfic layouts names to the list and call a specfic function.
So far this what I got so far.
I am able to get list all the layouts in the drawing.
List all the layouts in the current drawing
<CommandMethod("ListLayouts")> _ Public Shared Sub ListLayouts() ' Get the current document and database Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument