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
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.
I have cs5 and I have a whole bunch of old tiff's and I want to convert them all to jpeg's...is there a way I can do a mass conversion from one to the other. Also I want to change pix size and resolution. If so how do I do it?? I know it can be done on Elements, if I can do it on that then there must be a way to do it on cs5.
I have over 200 pdf files that I need to batch convert to tiff format. From what I've gathered, this can be done simply using Ghostscript. Unfortunately, I have no experience running GS as a command line program, and only installed it as part of Gimp. Any tool for gimp that could do this? or step by step, through the process of using GS to perform this task?
My Lightroom catalog contains a lot of PSD files (created in old versions of Photoshop, before TIFF was the default save format). They have layers. I want to convert these PSDs to TIFFs -- ideally TIFF+ZIP compression, since that seems to reduce the file size pretty significantly.
Is there any way to automate this? My current workflow goes like this: Open a PSD in PhotoshopFile > Save As, choose TIFF+ZIPDelete the PSD file.Lightroom detects the file is missing. Choose Locate on the file, select the .TIF version of the file, click OK.Click Confirm when prompted that the filenames don't match.Now I have a .TIF original in my catalog. This process requires a lot of manual effort. I can (kind of) automate the PSD > TIF conversion using Photoshop's Image Processor, but: Image Processor only allows LZW compression, not ZIP.After I delete the .PSD, Lightroom requires me to browse for each missing file and "Locate" it individually -- I can't do this with several files at once.
Other stuff I tried: Lightroom's Convert to DNG feature. This discards the layer information from my PSDs, so it won't work.Lightroom's Rename function. I thought I could rename the .PSD files to .TIF before converting them, thus saving the manual step of having to use "Locate" on each file. But Lightroom will not rename files to a different file extension, so this fails.Lightroom's Export feature with "Add to catalog" enabled. This is not what I want either, because it exports a file with LR edits applied. I want to replace the original file with a different format, while retaining all its LR metadata and edits in the catalog.
I want to convert a large tiff(490MB) into a JPEG in Photoshop with CS5. The "save as" options don't show JPEG as an option. The image is in 8 bit mode already, and I've tried cmyk and rgb mode. "Save for web and devices" is also not an option. The image is one layer.
how do I convert a large (1-3.4 GB) .pbs, .raw or .tif file to a pdf or back to a .psd? I made a large psd file to keep as much detail as possible for a 24" x 16" actual size graphic without pixelating and with sharp edges.
The vendor wants a pdf file. How do I convert back without reducing quality of the graphic. I am using photoshop CS4.
im having problems with saving my tiff files and converting. once i convert them to jpegs to email or go to the printers, they are changed and are washed out as if the org tiff before editing. when i open on my comp they are ok but when emailed to someone or once printed are destroyed. i dont
think is my colour management as org jpegs files are fine. below are some details of the process. the thumbnails on my mac are even off with colour.i open my file (pro photo RGB, 16bit, 3888x2592 10.1MP)i edit the photo. if saving in jpeg i change to 8bit and save with the embedded colour profile button clicked
How do I convert an HDR file into a tiff file. I see no opportunity to save as a different type of file from one of the 6 default styles. Also how do you print one of the defaults, there seems to be no right clicks in the HDR adjustments panel.
I use PS CS5 and LR4 on my Mac. I also have the prior versions of both on the Mac, too. I run the SL OS.
Here's my question: I have about 500 images in .PCD and I want to batch convert them to .TIFF format. Is there a plug-in I can use or should I go to a third party app?
I want to convert a black and white tif image to colour. I opened it in Photoshop, changed the mode to RGB colour/8, saved it as psd, but when I use the Replace Colour dialogue box, I just get my colour showing as grey-scale. What’s the correct way to proceed?
I am cleaning up the Hard Drive on my Mac G4. My scanned images are taking a great portion of the 80 Gig drive. I finished clearing my external drive by removing nearly 60 gigs of images by storing them on DVD. I will do the same for the Mac drive.
My trouble is that all my images are stored in TIFF format which takes up enormous space no matter the storage. Since I output images in various sizes, mainly prints, to 30 x 40 inches, I need a master image archived in the best format for such. However, I do not want to fill my drives, or DVD, with large files. Code:
1. How to fit properly A4 size Rectangle in the document? because after finish work when I converted the the cdr file to TIFF, it shows the image is not fit in the document and also the print does not comes out properly.
2. An other problem I have is, when I converted cdr file to TIFF and even JPEG, color of drop shadows which was black, is appears as a white color....what should I do? how to change the color setting?
I am trying to batch convert several thousand TIFF files to lossless JPEG-2000, but I can't get it to work.
When I open a single file and "Save as" JPEG-2000 with the lossless option checked, the result is truly lossless. But when I record this as an Action and then Automate/Batch this action, the output is not saved as lossless.
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.
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.
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.