AutoCAD 2010 :: Block Replace Lisp For Multiple DWGs

Mar 8, 2012

I am looking for a lisp that can run a block replace on multiple drawings.

Something similar the the express tools block replace I suppose, just able to process many drawings at once.

I'm trying to change attributed approval stamps to attributed inter squad stamps and don't want to have to go through all 150 drawings and do it myself.

View 1 Replies


ADVERTISEMENT

AutoCAD 2010 :: Lisp To Replace Text With Block / Or To Draw Circles Around Mtext

Mar 23, 2012

I need to lay one of our existing blocks ontop of every power outlet on a floorplan (the power outlets are currently shown as a simple shape (eg. either a rectangle, triangle or circle) with text next to it.

There are hundreds of power outlets, so if there is a lisp routine for replacing any part of the power outlet with the block, eg. replacing text/mtext with a block or replacing a pline with a block.

I have found a very successful lisp routine for replacing circles with blocks, but this obviously only works on the power outlets that are shown as circles. So a simpler way of looking at it could be a lisp for drawing a circle around mtext/text then I could simply use the circle to block lisp to place the blocks.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Applying Layer State To Multiple DWGs

Jul 31, 2012

A quick way to apply a Layer State to multiple DWGS?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Replace Nested Block

Aug 7, 2012

I have a dynamic block that has a nested temporary block inside it. What I am wanting to do is replace the temporary block with the permanent block. I have tried several different variation of coding but I cannot seem to get this bad boy to work. have used:

(vla-put-name (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))) "tempBlockName") "newBlockName")

this gives me a duplicate names error. 

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Modifying A Replace Block Script

Nov 26, 2012

Is there a way to modify this script so you don't have to manually choose the blocks. Instead have it find all block names starting with "Supply Diffuser 24x24" and replace them with a block in the drawing named V01.
 
(defun C:CHANGEBLOCKS(/ printDebug ssAll ssAllTotal ss ssTotal ssCount ssCount2 ssTotal ssMainBlock ssMainBlock entListMainBlock ssBlocks entListBlock entListBlock2 entElementNewBlock entElementOldBlock entElementOldBlock2 oldBlockName) ;PROGRAM CHANGES MULTIPLE BLOCKS ;WRITTEN BY --- RAUL BENITEZ ;Command reference ;subst - returns a list with a new item substituted for every occurrence of an old item ;quote (or ') - easy way to make the string into a list. ;cdr - returns a list containing all but the first element of
[code].......

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Replace Block On Different Layers With Different Blocks

Jun 20, 2012

I was able to write a LISP that replaced each node with a block of my choice.However, now I need to find a way now to replace the blocks with different blocks.Each point shares the exact same block called "PILE". Different blocks are on different layers and have 11 different colors. I'd like to replace blocks on layer 1 with a block called "1" and blocks on layer 2 with a block called "2" and so on.I was hoping there would be an easy way to do this in LISP, but I've been unable to get any of my scripts to work.

I've attached a link that visualize what my drawing is currently looking like: [URL] ......

View 2 Replies View Related

AutoCAD 2010 :: Block Replace Rotation

Jul 26, 2012

I am using Express Tools Block Replace how do I keep the blocking being replace from rotating to the orientation of the block using for replacement? 

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Match Multiple Attribute Values From One Block To Another Block

Feb 12, 2012

I need to match few attribute values from one block to different block. I download a lisp file called; ca.lsp which can match the single attribute value. I modified it for more than one attribute value matching. It is ok but still wish to overcome two issues for batch prcess

1. picking up the blocks by selection

2. click the alternative block numbers of times to match the numbers of attribute values I needed.

How to modify this lisp I can run it by block name selections instead of picking selection which enable me to run batch process for numbers of drawing? That will be good...

Lisp & Demo file attached (Match attribute value, A, B & C to Attribute 1, 2 & 3).

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Globally Find / Replace Text Across Multiple Drawings

Sep 16, 2002

I am trying to globally find and replace text in Autocad 2000 drawings. If I have a folder containing 10 Autocad files, I want to open every file in that folder, while in each file, search for a certain line of text and replace that text, then close that file, open the next and find/replace text in that file.

I've created an autolisp file that allows me to open all the files in a certain folder, but I can't find any way, either thru autolisp or scripts, to allow me to find and replace text in each autocad drawing without using Autocad's "find" command to manually enter the text when each drawing is open.

I want to setup the autolisp file to accept input up front, save the "old text" and "new text" to variables, then use those variables as the lisp routine is running.

This version was used to automate creating PDF files. The command 'PDF' is a command from another Lisp file.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Routine Required To Replace / Place Block On Each Closed Polyline?

Mar 26, 2012

Does any Lisp routine available to batch replace all the closed polylines with an existing block?

View 9 Replies View Related

AutoCad :: Create One DWG File From Multiple DWGs?

May 13, 2011

creation of a single .DWG file that will be used by a different software program. My current 'base' file is made up of multiple xref's and .DWG files. When I try the 'Save As' option the newly created file shows a blank screen. I tried including the xrefs with no luck.

View 7 Replies View Related

AutoCad :: Opening Multiple DWGs In One Window

May 31, 2006

Is there a way to open more than one acad drawing without having to open multiple acad windows? Sort of like word. You only have one window open and you can toggle between many files.

I have acad 2004.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Working With Multiple Attributes Within Block?

Aug 8, 2012

I know how to retrieve the entity information from the block, but can't figure out how to write the loop statement to loop, look for first attribute, assign to a variable, goto next attribute, assign to different variable, etc., etc...

In my research, most programs I've seen it execute the loop, assign to a variable, then print/put that data somewhere, loop again and utilize the same variable to print/put the next data somewhere. 

I would like each attribute within a block to be assigned a separate variable.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Delete Block From Multiple Layouts

Apr 26, 2012

I got a model-file with several layout tabs and I want to delete a block in all layout tabs.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Multiple Block Rename In Sequence

Aug 15, 2011

how to write a LISP that enable me to direct automatic rename multiple block name?

Example is i have 3 block names as " A123 " , " A728 " , " A003 "

When i activate the LISP, it will automatic rename the block name to be " CAD1" , "CAD2" & "CAD3", whereby

the word "CAD" i can change whenever i start to use it change multipld block name.

View 9 Replies View Related

AutoCAD Civil 3D :: Quantity Summary Across Multiple DWGs

Nov 14, 2012

How to compile quantities for cost estimating when the data is scattered across multiple files. Aside from generating quantities for each drawing in seperate .csv files etc., is there some way to pull the data from all the drawings at once into a single summary file?

View 9 Replies View Related

AutoCad :: Managing DWGs Of Parts Used In Multiple Assemblies

Oct 29, 2012

We use simple line drawings of parts. Some of these parts are used in multiple products, however if a change is made to a drawing it has to be replaced in all the other locations

I have tried to get them to go to 3d modeling and xref in the parts but apparently that is not acceptable , since there is no master assembly, but instead folders of dwgs is there an easier way of managing this?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Stating All DWGs Opened In Particular Day

Dec 25, 2013

This lisp can be a great. User only has to given a date and the program will state all the drawings opened in that day.

View 5 Replies View Related

AutoCAD 2010 :: LISP Block Creation

Nov 6, 2013

I am working at an engineering firm. I have had to basically redraw all the openings since our clients seem to be using wipe out blocks for their doors and windows. Well I want to make a beam lisp that will ask the user to click an insert point, width, and angle then draw an appropriate  wipe out block with a dashed line down the center to represent our beam then rotate it into place.

View 3 Replies View Related

AutoCad :: Master Block Command That Can Auto Update Other Blocks In DWGs?

Jul 31, 2012

I'm looking for an option to keep master or source blocks together in one file that when changes need to be made I can just update them once and those changes reflect immediately in drawings containing said blocks. I had thought that the wblock command was used for this but it seems to just be another way to insert blocks similar to the design center.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Block Attribute Values In Paperspace Multiple Pages

Feb 25, 2013

I have several title blocks each in their own paperspace pages. Could have the attribute filled in, but more than likely only one page will have values filled in the attributes. I am looking for a VL method for finding which pages title block is filled in so that I can get those values and fill in the equivalent attributes for all of the other pages. Currently I am using a long set of :
 
(IF (setvar "ctab" "8.5x11") (IF(TBLSEARCH "BLOCK" "TB-8.5x11") (IF (/= "" (get-att "OWNER" "TB-8.5x11")) ; Function to read a named attribute(editblk "TB-8.5x11") ; Function to pull up the attdia(IF (setvar "ctab" "11x17") (IF (TBLSEARCH "BLOCK" "TB-11x17") (IF(/= "" (get-att "CUSTNMFIRST" "TB-11x17")) (progn ; At the last page ditch the [Code]..........

 The example is just a very simplified version of what I'm doing. I just need to find the information, if it exists in any page and store it for later. Afterward, I'll fill in each page's Title Block with the stored information.

I know that this can be done much more efficiently. As I am currently flipping through the pages too much action is occurring on the screen and it makes some people nervous. With VL I should be able to run the search quietly, but I would still like to (setvar "ctab" "to the page with the filled attribute value") after the LISP is finished storing values.

View 7 Replies View Related

AutoCAD 2010 :: Insert Multiple Block Definitions

Jul 9, 2012

I have a drawing with all my block definitions and the blocks inserted and annotated. Seems that in a previous version of Autocad, I could insert the drawing and cancel the insertion at some point of the insertion command sequence, such that the drawing was not inserted, but all the block definitions remained. I could then use the insert command and all of these blocks were available. Yes, sometimes this made my drawing memory size rather large and I would have to purge the unused blocks later to reduce the memory size of my drawing.

View 1 Replies View Related

AutoCAD 2010 :: Redefining Block In Multiple Drawings?

Feb 10, 2010

I had a set of drawings that I needed to redefine a block in and had to go into each drawing and redefine it seperately. Is there a way to redefine it once and then possibly select the drawings this block is redefined in?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Scaling DWGs From Imperial To Metric And Back Again?

Oct 24, 2013

I'm looking for a routine that I can choose to scale by 25.4 (Imperial to Metric) or .039370079 (Metric to Imperial).

We just got a CNC Machine that works with metric and people keep asking me to make changes in bothe formats.

I'm using CAD 2014.

View 3 Replies View Related

AutoCad :: Replace Block Moves Symbol In Block Location?

Apr 12, 2012

I have blocks with several attribute tags and layers. The problem I am having is somehow when I go to replace the block with a different one the attribute tags stay in the right spot but the symbol acts like it looses its coordinates and comes in a different spot. I cant seem to fix it. When I zoom all it block editor it zooms like I have a symbol way off the mark, but I don't.

View 2 Replies View Related

AutoCAD 2010 :: DWGs Fading From One Computer To Another?

Jul 11, 2013

For some reason my co-worker has a problem opening my dwgs. When he opens them, he is seeing some layers fade out---only on the Layout's, not the Model. Everything from my Titleblock, to the actual Drawing inside the viewport.

View 9 Replies View Related

AutoCAD 2010 :: Load Several DWGs Into Layers In One Drawing

Sep 1, 2013

I have a number of dwg-drawings generated from layers in MapInfo. I need to load these drawings into separate layers to get the same layer structure as I had in Mapinfo. How do I do?

View 5 Replies View Related

AutoCAD 2010 :: Update Block Attribute With Constant Value In Multiple Drawing?

Mar 27, 2013

I am looking for some code or something which can change the title block revisions from "01" to "02" in multiple drawings.

The title block revision block is set in attributes.

View 5 Replies View Related

AutoCAD 2010 :: 2012 Locks Up When Opening Old DWGs (No Canvas)

Aug 6, 2011

I just installed 2012 with the Inventor pro suite. when I tried to open multiple dwg's it locked up on certain dwg's and I got the error " no cavas click on new canvas". I read an existing post that said 

"I went into the CUI, current workspace, removed the Sketchbook Designer from showing in the Ribbon"

I could not find this in my cui current workspace and is this the best solution?

win 7 64 bit sp1
cpu intel xeon E5-2687W0@3.106
eight core
two solid state hard drives
32 gig of ram
Autodesk product design
suite premuim 2014 64bit
Nvida quadro 4000
Space Pilot ver. 1.6.2 2010

View 9 Replies View Related

Revit :: Customize File Names When Exporting Multiple Views To DWGs?

Jul 22, 2013

I am exporting multiple views as DWGs to create backgrounds.
 
When I set Naming: to Automatic - Short, it produces files named like:

FloorPlan-2D_L1_Interiors.dwg,
FloorPlan-2D_L1_Structural.dwg,
FloorPlan-2D_L2_Interiors.dwg, etc.
 
The 2D_L2_Interiors is the name of the view, and it is a FloorPlan so it adds that as a prefix. I am looking for a way to force Revit to ignore the prefix.
 
Is there a way to export these so they are automatically generated like:

2D_L1_Interiors.dwg,
2D_L1_Structural.dwg,
2D_L2_Interiors.dwg, etc.
 
Does the Naming: Manual (Specify file name) option have the ability to use fields for parts of the name, perhaps taken from Project Parameters or something? So in the filename box I'd be able to say {View Style}-{View Group}-{View Name}.dwg and end up 3D-Interiors-SomeViewName.dwg?
 
Or should I download Ant Renamer and call it a day?

View 1 Replies View Related

AutoCad :: Replace Old Block With New Block

Jan 7, 2014

I'm having trouble using the blockreplace' command. Every time I try it tells me the block name has invalid characters. The attached files is an example of the issue. I'm trying to replace the old block with the new block.

View 9 Replies View Related







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