AutoCAD Civil 3D :: Lisp Routine For Thawing Layers Then Freezing Specific Layers

Dec 31, 2013

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.

View 2 Replies


ADVERTISEMENT

AutoCad :: 2014 Lisp Routine To Change Multiple Layers Stripping Out Prefix

Jan 5, 2014

I have a user who crashed and all the layers were renamed with the prefix to:

9669-pbase|

He needs to strip out all the "9669-pbase|" prefixes in 1,000 layers. Is there a way to do this?

View 2 Replies View Related

AutoCAD Civil 3D :: Freezing XR Layers

Apr 18, 2012

Every time I open my drawing (which includes an XR ) I have to go through and freeze several layers of the XR file (mostly hatch/shading layers).  When I save and reopen, these shading layers are back unfrozen again and I have to go through and freeze them.  

Is there a procedure to keep individual XR shadings off after saves?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Routine To Delete Specific Blocks From Drawings?

Aug 25, 2005

I need a LISP routine that could delete specific blocks from drawings. I have over 100 drawings, each having 4 blocks that I need to get rid of.

View 9 Replies View Related

AutoCad :: Make Specific Command To Start At Specific Layers

Nov 27, 2013

Im using Autocad Structural Detailing 2013. Its is possible to make specific command to start at specific layers?

EX: Breakline ,by default start at "LAYER 88".
Polyline ,by default start at "LAYER 150".

View 2 Replies View Related

AutoCAD 2013 :: Freezing Layers In Viewports

Feb 6, 2013

I'm working with alot of overlapped x-refs and every layer for each x-ref will come in to the drawing. When I'm using the viewports I need to freeze all the layers for some x-refs that don't need to show in that viewport. Since each x-ref has well over 70 layers I am wondering if there is a simple way to freeze all the x-ref layers in the viewport.

View 3 Replies View Related

AutoCAD Architecture :: Freezing Layers In Xrefs Within Viewports?

Feb 21, 2011

I have an xrefernced drg , which i print from a layout/paperspace .I freeze certain layers using VPort freeze in layer properties and save the drg whenever i close and reopen the drawing the layers are thawed in the viewport again.

View 2 Replies View Related

AutoCAD Civil 3D :: Lock Template Layers - Can't Be Purged And LISP

Oct 30, 2012

In my seemingly never-ending battle with standardizing, I have created a template with all the layers I expect to use in the future.  The template will be used by both surveyors and engineers so I have layers that won't ever be used by surveyors.  What I don't want is the surveyor to purge the drawing and delete all the layers that the engineers will need.  I found the link below explaining and .lisp to replace deleted layers. 

[URL]

Now, I am completely new at .lisp and how to use them.  Also, this template is used in a program called BricsCad (some of the older generation still uses it instead of Autocad) and using .dws and checking isn't an option for them.

View 9 Replies View Related

AutoCAD Civil 3D :: Remove Phantom Parcels Lisp Routine

Apr 3, 2013

Any lisp routine that will remove "phantom parcels" in a drawing?  They are the parcels many topics on this discussion forum have topics on, that can be selected but can't be deleted by any simple means.

The drawing is relatively new...with minimal objects in it. Just some Feature Lines and 3D Polylines.  I have Sites in my drawing...but no parcels. Only thing in the sites are the feature lines.  When I do a Q SELECT for the parcels it selects and highlights my feature lines, which is weird.

View 5 Replies View Related

AutoCAD Civil 3D :: LISP Routine For Matching Point Properties

Nov 17, 2013

I'm trying to make a LISP routine that will match point style, label style, marker rotation, label rotation and layer for a selected point to multiple other points. I don't know what the exact variable names are or how to find them.

See the post below for code that is similar too what I'm looking for.

[URL]......

View 2 Replies View Related

AutoCAD Civil 3D :: Lisp / Net Routine For Converting 3D Polylines To 3D Faces

Apr 2, 2013

Any program or routine in lisp or net that can select a group of 3d polylines in the form of a tin and convert them all to 3d faces?

I know that I can take the 3d polylines and explode them to 3d lines.   Then I can use map clean to delete the duplicate lines.   Then I can create a C3D surface using the 3d lines.   Then I can extract 3d faces from the surface.  

View 9 Replies View Related

AutoCAD Civil 3D :: Lisp Routine To Read From Directory Which Has Multiple Folders?

Jul 10, 2012

Having trouble with my lisp routine to read from a directory which includes several folders.  There is no problem when the files are all mixed in the directory but when dealing with hundreds of files, it makes sense to organize files by types.

Using (ade_aliasadd "BASE" "S:\") and there is no problems when the files are actually there and not in a subfolder called APN_DWG or EAS_DWG.  Should I be setting up the environment differently and if so how?

View 1 Replies View Related

AutoCAD Civil 3D :: Using Lisp To Do Drawing Cleanup - Adding DPF File To Routine

Jun 18, 2012

i've been trying to write a lisp shortcut for drawing cleanup but it keeps asking me for a profile name to load and i cant figure out how to add my .DPF file to my routine.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change A Specific Attribute From Specific Block To Specific Value

Dec 7, 2011

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

View 9 Replies View Related

AutoCAD Civil 3D :: Option Or Lisp Routine To Create 3d Boundary From Closed 3D Polylines?

Jun 18, 2013

is there an option or a lisp routine to create a 3d boundary from closed 3d polylines?

View 8 Replies View Related

AutoCad :: Why 2009 Not Allow To Select New Layers To Specific Group Layer Filter

Jul 27, 2012

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.

View 3 Replies View Related

Photoshop :: How To Resize Select Layers To Specific Inches

Apr 30, 2012

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.

View 18 Replies View Related

Photoshop :: Resize All Layers In Document To Specific Size?

Mar 22, 2012

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. 

View 12 Replies View Related

Revit :: How To Export Specific Material Layers In Wall

Jan 31, 2012

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.

View 7 Replies View Related

Paint.NET :: Mass Merge Specific Layer Into All Other Layers?

Jun 16, 2012

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.

View 1 Replies View Related

Photoshop :: Apply Adjustment To Specific While Also Keeping Layers In Order?

May 17, 2013

Is it possible for me apply an adjustment layer to specific layers? I also want to keep the layers in order for organizational purposes.

View 11 Replies View Related

CorelDRAW Graphics Suite X6 :: Master Layers For Specific Pages?

Apr 9, 2012

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.

Windows 7 [64-bit], Core i3 - 3.02 GHz, 4GB DDR 3 RAM

View 4 Replies View Related

Photoshop :: Redoing Series Of Photos Using Specific Set Of Layers And Filters / Way To Automate All

May 30, 2013

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?

View 1 Replies View Related

AutoCAD Civil 3D :: Offset Lisp Routine To Offset Selected Line?

Jun 7, 2013

I need an offset lisp routine to offset a selected line a set distance on each side of the selected line and change the layer of the offset lines to the current layer, and then keep prompting me to select the next line for offsetting until I'm finished.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Write A Lisp Routine That Invoke The Mleader Command

Oct 11, 2012

I'm trying to write a lisp routine that, when I invoke the mleader command, osmode is set to "nearest" & orthomode is set off. I then would like the original settings to be returned.

attached is what I have written so far:-

View 4 Replies View Related

AutoCAD 2010 :: Macro To Create Layers And Place Text In The Layers?

Aug 12, 2013

We use AutoCad to name our dxf files for our Burn Table and whenever we get a new part it is a repetitive task to input layers and common text.  So what I am curious is can AutoCAD input the layers and text automatically using a Macro?

I want the Macro to put in 6 layers and choose the layer color and title then input text boxes with word in 3 different layers.  There will be about a total of 10 different text boxes with text already put in the boxes by the Macro.

View 6 Replies View Related

AutoCAD 2010 :: Freezing Or Crashing Loading Specific Drawing

May 18, 2012

I have a drawing that I've been working off and on now for a couple of months and is particularly large (48MB).  I have finally put togther a concept in it which took me two days and when I tried to RENDER, AutoCad crashed.  All is still when until I tried to reopen the drawing, AutoCad loaded the drawing until 99% and froze.  I tried the .bak and that crashed AutoCad.  I also tried the .bak from an hour earlier and that didn't work.  Here are the steps I've taken so far:

-Opened drawing and .bak(s) in TrueView, converted to Standard, Opened the drawing in TrueView (no problems) and tried to open in AutoCad....same old issues.

-Tried inserting drawing as a block in a new drawing (crashed AutoCad)

What I can do?  Everything opens fine in Trueview??  I can resort to older files but that would be difficult.  Below are my computer specs.

Intel i7 980X Extreme
GeForce 460GTX SLI x 2
PC3-10700 12GB
Windows 7 64bit Pro
AutoCad 2011

View 3 Replies View Related

AutoCAD 2010 :: Bind Xref Layers To Master Layers

Mar 20, 2012

I am currently updating and coming up with a better system for are plant layout file for AutoCAD. When this project is complete, it will be set up so if someone needs to make a change they can just make a copy of the X-Ref file for the area they will be updating and hand it back in when there done. I will review the updated X-Ref then switch out the old X-Ref file for the updated one.

Problem: the problem I am having is when I am in the master drawing that contains all the X-Ref files, the layers list becomes enormous. There are about 30 to 40 different X-Ref files with 15 layers each. Those 15 layers contain the exact same information but you have to edit them individually.

Question: Is there a way to make the 15 layers in the master effect the corresponding layer in all the X-ref files? For instance, you hide the “Machines” layer in the master and it hides the “Machines” layer in all the X-ref.

Side Note: If you were going to make the suggestion “use Xbind” I’ve tried it and it doesn’t work well because “Xbind” creates a new layer you have to assign to things instead of making the layers relate to one another.

View 5 Replies View Related

AutoCAD .NET :: Simple Program To Gather Layers And Change To Different Layers

Jul 23, 2013

I am just starting to learn C# and .NET and I am trying to write a simple program to gather all the layers from a drawing in a directory, save them to a list, and use that list to change those layers to the appropriate layers. The way I want it to iterate is open the first drawing, gather the layers, ask the user which layer they want to change the original layer to, and when they select the new layer, it associates that old layer with the new layer so that in the future it won't prompt the user, it will just change it to that layer. Then it changes the layers and goes to the next drawing.

I wrote something very simple in LISP, but I need to make it more advanced and try to add in more features. Specifically I would like to be able to do everything in the background, without actually opening the drawings so I can avoid any user prompts or dialogue boxes.

I am at a complete loss at where to start though. There are so many members in the different namespaces for Autocad. Right now I am looking through acdbmgd.dll and acmgd.dll to try and find something useful, but I have no idea where to even start.

My guess would be to first define a method that gathers the layers from the drawing and saves them to an array. For example i would have multiple arrays for the different layers to which I want to convert the old layers, string [] 0layer, string [] walllayer that contains all of the layers to be changed to layer 0 and wall layer. Then I would compare the layers in the drawing to those arrays, if they are not present in any of the arrays, the program would prompt the user and ask which layers they want to change the existing layer to and add it to the appropriate drawing. Then all of the layers in those arrays would be changed to the different new layers.

At the very least, I am going to start making the different arrays to be filled. That much I can do. I'm just having trouble actually getting the data from the drawings.

View 2 Replies View Related

AutoCad 3D :: Won't Delete Layers In Drawing In Layers Properties Manager

Sep 20, 2006

There are some layers in my drawing that won't delete in the layers properties manager. I don't know why. It gives me 4 possible reasons:

- It might be layer 0 or a Defpoint (whatever that is).
- It is the current layer
- It is an Xref dependent layer
- It is a layer containing objects

But none of these, to my knowledge, apply. There could be things on the layer that I'm just not seeing, but I've looked thoroughly. I even zoomed out to the extents, highlighted the whole area, and clicked the erase tool, but it still won't go away. I got the file from another computer, so it might be an Xref dependent layer and the Xref'ed files just didn't come with it. How would I be able to tell - and how could I remove the Xref dependency?

Other than that, is there any other reason a layer won't delete? Can I force it to delete?

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Layers ON / OFF Automatically

Jan 25, 2013

I know that for layers ON/OFF in current open dwg file, I should use:

[I just want to On/Off for my "STAMP" layer]

(COMMAND "LAYER" "ON" "STAMP" "")
(COMMAND "LAYER" "OFF" "STAMP" "")

but I have more than 150 dwg file and I should open all of dwgs one by one and setting ON/OFF for STAMP layer for every drawing and it takes so much time!  

I just want to select files and LISP program set the STAMP layer to ON or OFF value.

View 5 Replies View Related







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