AutoCAD .NET :: Standalone Exe To Convert DXFs To DWGs

Jan 3, 2012

I'm developing on a W7 64bit machine  using VS2010 and AutoCAD 2010. Using COM, I've converted a VBA application into an .exe that runs but it is very slow (much slower then the 32bit VBA code used to run). Since we produce a lot of DXFs out of our 3D application, we want the conversion to be automated (hence, no more running inside of AutoCAD).

The current version just references the AutoCAD 2010 Type Library and the AutoCADObjectdbx COMs.For each DXF, the code does the following:

1. Adds new layers

2. Loops thru all entites (currently using a selectionset)

a. Changes the entity's layer based on a collection key and it's linetype to "bylayer"

b. For PolyLines and LWPolyLines, sets the constantwidth to 0

c. For all Text, changes the style to "SIMPLEX", the Scalefactor to 0.7 and looks for a special text value which indicates the drawing scale ("dscale").

3. Sets the drawing's DIMSCALE and LTSCALE to a multiple of the "dscale"

4. Scales all entities by "dscale"

5.  Purges All

6.  Zoomextents()

7. Saves the drawing as a *.dwg file

8. Closes the drawing

9. Logs some statistics on each file converted.

It seems as most of the time is spent in Step 2. I can obviously do steps 2,3 & 4 by reading/modifying  the DXF as a text file very fast. But I would rather keep all the processing inside of AutoCAD.So here are my questions(based on using COM):

1. What additional references do I need work directly with the drawing's database?

2. Are the NET transaction examples under this category valid when going through COM?

I've zipped and attached the current project (VS2010 project)  for possible reference

View 5 Replies


ADVERTISEMENT

AutoCad :: Convert DWGs To TIFF

Apr 14, 2011

I'm new to AutoCAD and scripting in general with AutoCAD and was looking for some insight.

I need to convert DWGs to Tiff. I have about a million sets of a million DWGs and need to convert different sets at different times.

I'd like to write a script or batch plot type utility that will:

Turn off a layer
Choose monochrome
Save as tiff.

I started looking into the raster function, but to be honest, I'm so green at AutoCAD I'm not even sure if that's the correct direction.

View 9 Replies View Related

AutoCAD 2010 :: Convert Standalone Installation Of 2010 To Network?

Jan 28, 2010

How to convert standalone installation of AutoCAD 2010 to network one without uninstalling the existing standlone version.

View 9 Replies View Related

AutoCAD Architecture :: Convert PDF Files Into Editable DWGs?

Apr 10, 2012

convert PDF files into editable and dimensionally correct DWG files?  I've used auto-vectorization software programs before and the results are thousands of vectorized lines, arcs and circles, etc. 

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Generating DXFs From Spreadsheets

Sep 27, 2012

I'm trying to create a series of DXFs for quick import into our CNC software.  There's a bit of a gap between the design software (sadly not AutoCAD) and the CNC software, and we use AutoCAD to switch between them. 

However, it takes FOREVER to manually create and layer hundreds of individual pieces and save them all as individual DXFs.  Is it possible to generate a series of DXFs from spreadsheet data? Each DXF will just be a closed 4-sided polyline with a specific layer name, and a filename based on the name of the piece.  That's it, nothing too complicated.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - How To Trigger Standalone EXE

Aug 10, 2012

Is it possible to have an iLogic rule trigger a standalone .exe?

View 4 Replies View Related

AutoCAD 2010 :: Changing From Network Back To Standalone - XP

Nov 14, 2013

I have a couple of floating licenses for an old inventor series 11 product.  The license server is down and I need to change these licenses back to standalone licenses.  I tried uninstalling and reinstalling as standalone but it will not let me activate the software with the serial numbers on the back of the packaging.  

View 2 Replies View Related

AutoCad :: Transfer Standalone Copy Of 2013 From One Machine To Another

Oct 9, 2013

I am trying to transfer a standalone copy of autocad 2013 from one machine to another. I have already uninstalled it from the old pc, and when I got to install it on the new pc it asks for registration. When I put in the numbers it tells me that it is not valid.

How can i De-activate it from the old pc if it is already uninstalled?

View 9 Replies View Related

VideoStudio :: DV Quick Scan Standalone?

Nov 16, 2010

Does DV Quick scan works as a stand alone app outside Visual studio?

I'm not a VS user so I can't try it myself.

And what do you use to capture HDV?

View 3 Replies View Related

AutoCad :: Hyperlinking To DWGs

Aug 27, 2013

I had a thought of creating a DWT template containing a bunch of hyperlinks to our job/model directory. The philosophy is that you would start your ACAD session and be presented with a series of links (prepared in the DWT) to various job/drawing directories and models. This would make it easy for the use to simply boot up ACAD, and then they are only 1 or 2 clicks away from accessing their job DWG.

For the most part, setting this up has been pretty easy. But I have a few questions as to ways to smooth out the process even further.

1. Is it possible to remove/disable the hyperlink 'open warning' message when trying to access a DWG via a hyperlink?

2. Is it possible to enable single click access to hyperlinks? This template/launcher DWT will be the only drawing in our office to utilise hyrperlinks, and I would like not to need the CTRL+CLICK to access the linked files/folders. This is of course not a huge issue, but I am curious about it.

3. Is it possible to have a text/attribute tag (containing a FIELD) within a BLOCK to display the path/file name of the hyperlink of the BLOCK. ie. the BLOCK will have the hyperlink, rather than the text within the block being linked. I hope that is clear.I will probably have a few more questions as I progress with this project.

View 7 Replies View Related

AutoCad :: Sharing Read Only DWGs?

Sep 3, 2012

I need to send a drawing to a client but don't want them to be able to edit it, but want them to be able to xref into their drawings.

I have added the dwg to autodesk 360 but it does not show any of the xref files (it has 8 and they are necessary).

I cant seem to work out how to DWF, can you save as dwf in infinite model space or does it always come out as a layout? I would like if I could save it as a dwf and for it to function like a dwg in model space.

View 2 Replies View Related

AutoCad :: Attaching XRefs To DWGs

Nov 29, 2012

I have been sent some drawings with came in 2 zip files. 1 zip contains the floorplans. the other contains the sheets.

if i load the sheet, it will tell me the drawing is missing in a pop up box with a status of "not found". i f i try to attach it nothing happens.

View 9 Replies View Related

AutoCad :: DWGs For Slideshow Presentation

Mar 21, 2011

I need to show crisp large format cad drawings in a slide show presentation. Any professional way to do it?

View 4 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 LT :: Opening 2000 Dwgs In 2012?

Apr 3, 2012

Is it possible to open an AutoCAD LT 2000 drawing in AutoCAD 2012?

View 1 Replies View Related

AutoCAD LT :: Set DWGs That Goes Into Sheet And Model View?

Aug 15, 2011

I already set up the dst file, but doing this I have just set the dwgs that will be in the sheet list tag. How to set the dwgs that goes into the sheet view and model view? I know that you can have different folders there and organize your dwg files as details, elevations etc.

View 2 Replies View Related

AutoCAD 2013 :: Generate Thumbs From Old DWGs

Mar 2, 2013

Any archiving or library tool that would develop a preview contact sheet - JPG, PDF, etc.. of a folder of say 700-1000 basic DWG drawings of manufacturing assemblies (not complex building layouts or anything).

We've got a ton of old drawings that we need to sift through and I don't want to open each one. 

I'm thinking there's some 3rd party something.

View 6 Replies View Related

AutoCad 2D :: How To Bring Z Axis On Survey DWGs To Zero

Nov 1, 2011

I have this drawing which has the z axis all over the place.. I believe there is a command that can be used to bring and flatten the entire drawing down to zero Z height, so I can get on with proper 2d interrogation of the drawing.

View 1 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 Civil 3D :: Opening Template Gets 2 DWGs?

Sep 18, 2012

When I open my template I get 2 drawings, can this be fixed?

View 5 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 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 2013 :: Create A Pdf Drawing Compiled Other Dwgs?

Apr 4, 2013

Basically I've been asked to compile a series of my best work into a collection that our sales guys can take with them as an example of the service we provide to our customers. I'm trying to figure out the easiest way, because I have a pretty big library of 3D drawings.

When I do an actual project, I toss everything into a single .dwg and just print from paper space. I have an AutoLISP script that takes all the paper space layouts and prints them to a single .pdf file with a specific name relative to the project with the current plot time and date.

I could just create a new file Library.dwg and copy/paste all of my past work into it, then make a ton of paper space layouts, but the end result would be gigantic. I'm still running AutoCAD 2013 on a crappy laptop because I won't get the budget for a real rig until the end of the month.

One thought I had was that maybe there's some way to make a viewport in paper space that directs to a model space of an external .dwg, but all of my searches turned up nothing. In fact, now that I think about it, it's driving me nuts that it isn't a feature already. Making a paper space viewport that points to an external .dwg would make my life significantly easier.

One reason I don't want to just go back and print the original pages as they exist is that I want to use the same title block template for all drawings, and mine has evolved over time. I also want to add notes to each page, and I don't want to modify the old drawings at all.

View 1 Replies View Related

AutoCAD 2013 :: Internet Explorer 10 Not Opening Dwgs

Aug 21, 2013

Since i have all kinds of Autodesk products on my computers, i didn't notice this. But a third party programmer (not for CAD) mentioned that IE10 does not open DWGs like its predecessors IE9, IE8 and IE7 did. Is she talking about DWFs or did IE actually read DWG files?

View 8 Replies View Related

AutoCAD 2013 :: Possible To Pull Audit Trail On DWGs?

Aug 23, 2013

We have several people in our firm in and out of drawings.  Is there a way to pull an audit trail? of sorts in order to find out who worked on drawing last?  Or is this information stored somewhere in the file?  

View 4 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 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

AutoCAD Architecture :: DWGs Switching To Read-only During Multi-user Use

Nov 24, 2008

We've been having some issues that have only recently cropped up. If I am in a drawing named FP-00.dwg and I am working, saving regularly, etc. everything is fine. If a co-worker opens up the same file, he will sometimes (10%) NOT receive the read-only pop up and he will open the same drawing with full rights. Then, if I go and try to save, I will be alerted that the file is in use, and my file will be switched to read-only. When I have to do a saveas, the file then changes the default name to: FP-00.fdwg (notice the "F" in front of .dwg).

I posted this to the AutoCAD Architecture group, b/c we are currently using Architecture 2k8.

No one has changed out Open/Save options, and we haven't been losing the connection with our server.

I'm attching a PS of the Open/Save setting.

View 7 Replies View Related

AutoCAD Civil 3D :: Quantity Takeoff Criteria - Copying Between DWGs

Dec 6, 2013

how to drag and drop quantity takeoff criteria between civil 3d 2013 dwg files, but I can't seem to get it to work. 

View 1 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







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