AutoCad :: Running Macro For Multiple Drawings?

Nov 4, 2011

I'm running ACAD Map 3D 2009. I have to run ONE custom macro on a number of drawings that are stored in a particular folder.

Basically all I need is to:

open
run custom macro
close
go on to next drawing.

I just don't know how to write LISP.

View 3 Replies


ADVERTISEMENT

AutoCAD .NET :: Running Macro From Ribbon Button

Jun 21, 2012

I have created a ribbon bar in autocad 2012 using API and  c#. On ribbon button i am executing a Command method which display a wizard for copying some files.

Now i want to run a macro before executing the ribbon button command method. Which display a message box with yes and no . if user click yes command method will executes itself and display wizard for copy files.

If user click no command method will not execute and return. This will allow user to use macro for customizing the file copy process.

View 4 Replies View Related

AutoCAD Inventor :: How To Make Button On The Ribbon For Running Specific Macro

Jun 16, 2011

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

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Running Code As Macro (custom Command In Ribbon)

Dec 23, 2011

So I can run the following code from the command line with no problem:

  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Civil-Linetype"))
  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Survey-Linetype"))
  (WRK-Layer_Insert_all "CSW-X-FM_Layers_List")

However when I put it into a macro (custom command to be used from the ribbon) it spits out the following in my command line:

(WRK-Insert_Standards_Block '("S:

View 2 Replies View Related

CorelDRAW Graphics Suite X5 :: Error Running Macro Using Symbols

Sep 28, 2011

I am new at creating a recorded macro in Corel X5..I have done the steps to record a macro for changing a text colour within a symbol...i get an error debug message ActiveShape.Shapes(26).PowerClip.EnterEditMode

what i want to do is change a coloured text from black to white that is symbol. i have several different text that are in symbol and it is a pain to enter each one and change a colour.

View 8 Replies View Related

AutoCAD Architecture :: Cannot Open Drawings From Previous Releases In 2013 Running On Windows 8

Jan 7, 2013

I have ACA 2013 (student version) running in the Windows 8 environment. I cannot open anything drawn in a previous release nor can I open a drawing created in ACA 2013 that was installed on the Windows 7 platform.

I have tried to drag in the drawings through design center. That worked for a while now when I try that it causes ACA to crash. Also I have tried multiple drawings that were created in several different versions of ACA. (2004, 2006 and 2009)

As a side note I was able to open those files in ACA 2013 running on the Windows 7 OS.

View 2 Replies View Related

CorelDRAW Graphics Suite 12 :: Running Script Multiple Times Produces Multiple Copies?

Sep 1, 2011

I have this script that basically makes a shape expand by adding an outline, conveting the outline to an object, and then welding the whole thing together.

I have the script set to execute with hotkey ctrl+numpad+

The odd thing is, when I run it once, it seems to work fine and only one object is left, but when I hold down ctrl and press numoad+ over and over again, it seems to produce a new copy of the object everytime.

I'm not sure why this is happening, but I need to get it to stop. 

Sub Expand()    EventsEnabled = False        'Dim vars    Dim c1 As New Color    Dim OrigSelection As ShapeRange    Dim OrigColor As Shape    Dim width1 As Double    Dim height1 As Double    Dim minSize As Double    Dim Thickness As Double        'copy color of current selection    Set OrigColor = ActiveShape    If OrigColor Is Nothing Then Exit Sub    If OrigColor.Fill.Type <> cdrUniformFill Then Exit Sub    c1.CopyAssign OrigColor.Fill.UniformColor        'get thickness to increase by    Set OrigSelection = ActiveSelectionRange    OrigSelection.GetSize width1, height1    If width1 <= height1 Then minSize = width1    If width1 > height1 Then minSize = height1    Thickness = minSize * 0.035        OrigSelection.SetOutlineProperties Color:=CreateRGBColor(0, 0, 0)    OrigSelection.SetOutlineProperties Thickness, ScaleWithShape:=True        'weld    Dim s1 As Shape    Set s1 = OrigSelection(1).Outline.ConvertToObject    Dim s2 As Shape    Set s2 = s1.Weld(OrigSelection(1), True, True)            'auto reduce    's2.Curve.Nodes.All.AutoReduce 0.001    's2.Fill.ApplyUniformFill c1        'delete remnants    OrigSelection.Delete    s1.Delete    'OrigColor.Delete            EventsEnabled = TrueEnd Sub

View 5 Replies View Related

AutoCAD Civil 3D :: Line Label Macro For Multiple Labels

Apr 12, 2013

Is there a way to create a macro to label a line with a particular style?

I label my feature lines with three styles: multiple - segment grade, multiple - segment start elevation & single - segment end elevation. I want to make a macro for each of these that I can put on a button. It would be nice to combine the two multiples too if that is possible.

Civil 3D 2012 SP3 | Win 7 64-bit SP1
Xeon E5-1620 @ 3.60GHz, 16GB Ram | NVidia Quadro 600

View 2 Replies View Related

AutoCAD 2010 :: Moving Multiple Objects With A Point Filter Macro?

Mar 1, 2013

I am attempting to do a macro that will allow me to select multiple objects and then move them in only ONE axis. For example, If I want to move a wall, the door and the window in the Y axis to align with another wall across the hall. I have attempted to do this in a button macro, but so far its limited. Here is the macro

^c^c_move;\.xz;@;

This will allow me to click the customized button, then select ONE object by a displacement, and it will only move it in the Y axis and allows me to choose the point with a mouse click of the final location.

When I try to select more than one object, it kicks me ahead in the commands and prompts for (needs Y). how I can figure out the correct macro?

View 9 Replies View Related

3ds Max :: Running Multiple Instances Of 2013?

Apr 24, 2012

BackBurner stopped working for me when 3DS Max 2012 came out so my work around was simply opening multiple instances meaning I'd have one "Max" rendering a scene while I worked in another "Max" while at night, having 2-3 simultaneous instances of 2012 rendering out animations. This really came in handy for doing multiple projects at the same time between render scene passes.

I can run 3 stable 3DS Max 2012 on the same machine without a problem, I can even run 1 x 3DS Max 2013 and 3 instances of 2012 at the same time BUT I'm unable to run more than one instance of 2013... it boots-up 2013 but then just hangs and doesn't do anything. I tried using BackBurner but it doesn't work so basically, it seems like I'm stuck running only one instance of 2013 at a time.

Is there a setting somewhere I can enable multiple instances again? I did take a look at Deadline but they don't support 2013 yet.

View 9 Replies View Related

Photoshop :: Running A Script On Multiple Images

Jun 23, 2006

is there a way to run a script on many images at once

View 2 Replies View Related

Photoshop :: Running Multiple Batch Actions On Same Folder?

Jul 27, 2012

We run Actions on a group of images using CS4 with the File->Automate->Batch function. We use this to take, for example, 200 images from a set folder, run an action to change them into a different colour and save in a different folder, we need to do this 20 times on the same images running a different script each time to change them into a different colour and save them in the same folder (with different file extensions)
 
Is there a way we can instruct Photoshop to run all of these 20 scripts (one after the other in a queue as it where) without having to "Babysit" it and ask it to run each one off ourselves?

View 1 Replies View Related

Illustrator :: CS6 Running Action On Multiple Files In A Folder

Jul 19, 2013

I created a action in Illustrator CS6 (on a PC) which opens PNG files, scales them onto a 8.5 x 11 page, saves them as a PDF into a output folder on my desktop and then closes the page. The action works great and does exactly what I had hoped for.

Here is my issue: I now have a need to do this on multiple files at the same time. Using the Illustrator Help menu, I found out about Batch processing. The tutorial says that a batch can be run on a single file or on a folder of files. Bingo! That's what I want. Problem is, I can't get it to work.
 
After setting up the batch with the following settings: (note: I didn't use a destination folder because I have the action saving the pdf into an output folder on the desktop).

According to the help page, it said to use Override Action "Open" commands which Opens the files from the specified folder and ignores any Open commands recorded as part of the original action. I thought this is what I needed to open all the files in the folder, because when recording my action, I had to use the open command to open a png file. It wouldn't just let me choose a folder. If I don't have the open command in the action, nothing happens.
 
My main issue is getting multiple files from within my input folder to open when running the action. The only file that opens is the file that I recorded while creating the action. If I remove that file from the folder, nothing happens at all.

View 2 Replies View Related

AutoCAD VB :: Plot Multiple Drawings Using VBA

Aug 1, 2013

I am trying to write some VBA code to print several drawings present in a folder.

I am not a VBA expert. I wrote some little macros in excel but it is the first one in Autocad.

I have a small code that opens a drawing, counts it, closes it and then loops for other drawings.

I have a code that print a drawing by defining some printing parameters.

Separately, both work. But when I call the second one into the loop, I get a error:

"Run-time error '-2147418111 (800100001)':

 Automation error

 Call was rejected by callee."

I'm using Windows 7 and Autocad 2012.

See my code below:

Option Explicit
Dim filename As String
Dim filepath As String
Dim full_filename As String
Dim i As Integer
Sub print_trial()
[Code] ......

View 2 Replies View Related

AutoCad :: Copying Between Multiple Drawings?

Jul 6, 2011

I'm having some trouble while copying between drawings. I am attempting to merge a number of floor plans which are all saved as seperate drawings into 1 drawing. However whenever I copy the floor plan over to another drawing, some of the lines/objects seem to be displaced.

View 4 Replies View Related

AutoCad :: Export Multiple Drawings To PDF

Dec 4, 2013

I am new to AutoCAD and have to export many drawings to PDF format to send them out to clients. I was wondering if their was a Macro or some other way to export drawings into pdf form without having to open each file and pressing export to pdf button?

View 9 Replies View Related

AutoCad :: Plot Multiple Drawings All At Once?

Sep 5, 2007

I am trying to plot multiple drawings all at once. I work with many drawing sizes varies from size A to size E. What would be the best way to plot all drawings to 11 X 17 paper no matter what size the drawings are set to? These drawings are not xref or anything. They all are separated files. I tried using Set Sheet Manager; it will only plot to whatever that size is. I want all drawings to be plotted on 11 X 17. I did some research in the forums here and was not able to find what I was looking for.

View 2 Replies View Related

AutoCAD 2013 :: Publishing Multiple Drawings To PDF

Jan 28, 2013

I've started having a problem with the Publish command when publishing multiple drawings to PDF.

When I plot a drawing using the plot command, I don't have a problem.

When I publish one drawing using the Publish command it is also fine.

It is only when I try to publish multiple files that the problem occurs- the PDFs are produced, but the it is as if the drawing contents (paper space) has been shifted up by 10mm or so, cutting off the top of the drawing, and creating a larger margin at the bottom of the drawing. I use exactly the same page setup as for the single drawing plot.

There seems to be no setting that would change this, and the fact that publishing a single drawing works suggests that there is some kind of bug. At the moment i have to plot every drawing individually (or get my colleague to do it- it works fine on his machine, same page setup file!)

See attached example.

View 8 Replies View Related

AutoCAD Inventor :: Multiple Sheet Drawings With One BOM

Mar 27, 2012

I have a multi sheet drawing I am creating.  My BOM is on the first sheet.

I have noticed that when I place views on my subsequent sheets, the balloons restart from item 1 again.  Is there a way to link them to the BOM on sheet 1?

(Colossians 3:23-25)

View 4 Replies View Related

AutoCAD 2013 :: Combining Multiple Drawings

Dec 21, 2013

Combining multiple drawings in one go, I have 100 drawings (each has its layout) stored in 100 dwg files. I’m wondering if there is a way to combine them in one dwg file in one go assuming that they don’t overlap.

I need then to edit the title block of all of these layout knowing that this title block is an Xref.

View 5 Replies View Related

AutoCAD Inventor :: Saving Multiple Drawings To DXF?

Dec 22, 2011

Can I save multiple drawings to dxf in same time? I`m so tired to click "save copy as" with every drawigs. Autosave with flat pattern is not an option because orientation of the piece  is so bad so many time of the cases

View 9 Replies View Related

AutoCad :: How To Search Multiple Drawings For Text

Aug 18, 2008

I have multiple cad drawings (300 *dwg's)that need some items changed, is there a way to seach multiple cad drawing in my project for specific instances of text in each drawing?

Do the drawings have to be open? Can you seach just thru the project with out opening each drawing, how does this work?!

View 9 Replies View Related

AutoCad 2D :: Amend Block In Multiple Drawings?

Dec 5, 2013

I have amended our drawing frame (a block) in our templates so I now have a set of 82 I need to amend the frame in. So is there a easy way of redefining a block in a number of drawings or do I just do each drawing separate ?

View 3 Replies View Related

AutoCad :: Publish Multiple Drawings To PDF - Autosave?

Jul 5, 2011

I'm weaning myself off of Adobe's PDFMaker and learning how to publish.

I've got everything working but I'm prompted at an Adobe prompt (Save PDF File As...) for every sheet
which is overwhelming when I have multiple drawings with multiple sheets.

I don't know how (or if it is possible) to make it just save to the default name and continue onto the next one.

View 3 Replies View Related

AutoCAD LT :: Unable To Open Multiple Drawings

Aug 26, 2013

I usually open several drawing and use"drag and drop".

But something has happened.

Now, I can only open one drawing at the time. When I try to open the second drawing, the program close down the first.

What have I done ? and what shell I do ?

View 6 Replies View Related

AutoCAD Map 3D :: Editing Text In Multiple Drawings At One Time

Jan 31, 2002

I need to change a text item in about 200 drawings. I would rather do this at one time if at all possible.

View 4 Replies View Related

AutoCAD Architecture :: Copy Viewports To Multiple Drawings

Jun 3, 2011

Is there a way to copy a viewport with all its layers setup from one drawing file to another drawing file?

I can copy the viewport and activate it, but the layers setup for that viewport goes to default. So it turns everything on.

I can't make a layer state in the old file and import in new file, because the new file does not have all the same layers.  So not all my layers would be turned off in the viewport.

View 4 Replies View Related

AutoCAD 2010 :: Data Extraction From Multiple Drawings

Jan 14, 2013

I am working on Data compliation and trying to extract data from multiple AutoCAD drawings. The data extraction wizard works well and extracts all the data from the drawing. I wish to segregate the data and want some certain set of data e.g. in P&ID drawing, I need only instrument Tags which are connected to DCS and likewise...

Is there any way to filter such kind of data and get the required results?

View 3 Replies View Related

AutoCAD Civil 3D :: Find And Replace Multiple Drawings

May 13, 2010

I have to revup a heap of drawings by modifying the drawing block of each drawing (simplying changing Rev C to a different letter ) and adding in todays date. Is there a quick way i can modify all drawing blocks without opening and modifying each drawing manually? Unfortunately, the drawings are all standalone and dont reference an external drawing block.

I am using Civil3D 2010

View 9 Replies View Related

AutoCAD Inventor :: Creating Multiple Drawings For IParts

Oct 18, 2011

I've created an iPart (for this discussion, lets just say a cube..)with 6 variations of the same part (its height has a choice of 6 different values in the iPart table)..I've created a drawing (idw) which dimensions the cube in one of the 6 instances..

..Is there any way to replicate the drawing another 5 times, with each referencing each instance of the iPart?

I was imagining copying the drawing 6 times and change each one to look for a different instance (a bit like when you go component - replace in an assembly..) then the drawing to automatically update the altered dimension.

this would save me producing and re-drawing 6 separate idw files for the same thing where only one dimension changes each time!

View 4 Replies View Related

AutoCAD 2010 :: Changing Text In Multiple Drawings?

Jan 6, 2012

I am trying to change text in hundreds of drawings. What I have is a line of text say "the brown fox" and I need to change it to "the black dog". I have probably 1500 drawings I need to do this in. I am not versed in scripts of lisp. I know the ACAD commands to do this but could develop a script file to batch this.

View 3 Replies View Related







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