AutoCAD .NET :: Different Rendered Images For Opened And Unopened DWG Files
Sep 11, 2012
The following code will explain how it works:
[CommandMethod("RenderFromFile")]public static void RenderFromFile(){string dwgPath = @"C:TempRender.dwg";string imagePath = @"C:TempRender.png";Document doc = Application.DocumentManager.Open(dwgPath);RenderToFile(doc, imagePath);}
[Code]....
The command RenderFromFile will render the 3D drawing file at C:TempRender.dwg (see this file from attachment), and then write the output image to Render.png at the same folder. The rendered image is on the top view and has visual materials.
The command RenderCurrentView will render the current open 3D drawing, then write the output image to C:TempRender.png. The rendered image is on 3D view and does not have visual materials.
Both two commands call the same shared method RenderToFile(), but their output images are different. I don't know why they are different?
Method RenderToFile is a simplified version from Kean's code. I try to make the code short and simple to easily solve the problem.
View 2 Replies
ADVERTISEMENT
Jun 3, 2011
Is there a way to access the block libary without opening a drawing?
Or what object would you use to speed up drawing data extraction?
For example in other Cad programs you can open the drawing in a read-only mode or invisible and it speeds up the data extraction.
What would be a similiar method for Autocad 2011.
View 1 Replies
View Related
Sep 16, 2010
I am having trouble with the clarity of some photos being used in a project. The project has a mixture of both photos and video. The photos are inserted into the overlay tracks in the time line and some have a mask applied to them.
Some photos both with and without mask's appear pixelated both on the time line and when rendered.The file format for the photos are Jpeg and range from 1.85MB to 60MB in size and have no pixelation. In preferences i have in the image section both "anti-flickering" and "Cache image" checked. I have also tried the photos in the first time line and still are not clear.
View 5 Replies
View Related
Aug 15, 2012
I'm using AutoCAD 2013 64 bit and MS Visual Basic 2010 Express (and Excel 2007), and I'm trying to write VB.NET code to list all xrefs attached to a group of drawings. The list of drawings is in column 1 of an Excel spreadsheet, and I want to list all xref filenames in columns 2 onwards - one row per drawing.
The Excel part works fine. I just wish it was as easy to extract information from DWG files.
I created a "Windows Form Application" project in VB 2010 and added a button to Form1. Clicking on the button runs the code.
When adding references I added "Microsoft Excel 12.0 Object Library" COM for Excel (as per Excel website tutorial), and "acdbmgd.dll" and "acmgd.dll" (both with Copy Local=False) as per AutoDesk .NET tutorial. But I got warning messages saying Acdbmgd.dll and Acmgd.dll target a different processor. Is this different to the Excel COM target processor, or do I need to change the target processor for the whole project (and if so, how)?
I tried adding "AutoCAD 2013 Type Library" COM reference instead of "acdbmgd.dll" and "acmgd.dll" which got rid of the target processor warning messages, and I could then open the dwg files successfully, but still the project crashes.
Here's the code so far...
Imports Excel = Microsoft.Office.Interop.Excel
' do I need to include Imports for AutoCAD here? Various websites list AutoDesk.AutoCAD... imports here, but AutoDesk isn't an available option when I try adding this here - maybe because I have the wrong references?
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code]....
When I run the project I also get a "A first change exception of type 'System.Runtime.InteropServices.COMException' occurred in MyProject.exe" message. How can I rectify this?
Currently it crashes when it gets to the cadDwg.Database.Blocks line saying "Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))".
The xlsx file and the dwg files refered to in the xlsx file all exist. I've tried running it both with AutoCAD 2013 running and with AutoCAD 2013 not running. Still doesn't work
I feel so close, but what am I missing? I haven't downloaded the "ObjectARX for AutoCAD 2013 (32-bit and 64-bit)" from AutoDesk yet because (i) I have to get a licence, and (ii) it's a very large file, and (iii) I seem to be able to open drawing files without it, but just not access the data I want in the files.
I've got 1500+ drawings to look at by the end of the week. If this doesn't work it's back to AutoLisp (and maybe script files, but that's another headache).
View 9 Replies
View Related
Jun 14, 2013
I recently opened a project I worked on months ago and noticed certain materials in my rendered images had turned blue. I created a new rendering in which all materials came out great and I saved it. Minutes later I opened the new rendering and it too became blue. I worked on this project for months and have not made any changes to materials. All previously saved images in my file, the wall materials, stairs, and certain furniture have all turned blue.
View 6 Replies
View Related
Aug 16, 2013
I found a function on JTBWorld named listPageSetups, which appears to be meant for listing the pagesetups that exist in an "open" dwg file (as I can get it work for the current dwg). So,
(1) Can this function be used to list page setups in another, un-opened dwg, and, if so, how?
(2) If the answer to (1) is No, is there a LISP way to get a list of page setups from another, un-opened dwg?
View 9 Replies
View Related
Jan 25, 2013
Having upgraded to PS10 last year (from PS7), I find that I am unable to print from either editor or organizer.
A Fault message reads " The following images will be rendered at less than 220dpi at the requested print size".
Same message with all print sizes. The printer works perfectly with all other software and is a HP 895Cxi.
View 6 Replies
View Related
Aug 26, 2011
Brand spankin' new user to X4. I'm working on a fairly simple slideshow that starts with a 15 second MOV file, followed by 10 pictures at 3 second intervals along with some background music. The issue I'm having is that when I go to generate a WMV file (or any format), X4 renders multiple times and spits out multiple files.
I'm sure there's a setting somewhere that I haven't set properly...
View 5 Replies
View Related
May 4, 2011
I cannot edit .EMF files generated from PowerPoint 2007. I always obtain a blank image after introducing any resolution values at the input field. The same occurs with .WMF format. I need to import vectorial graphics from .PPT files with a specific resolution, and I do not see any other way to do that.
I have PaintShop Photo Pro X3 v.13.2.1.20 with last available patches and updates installed.
View 5 Replies
View Related
Feb 8, 2014
I am using Lightroom 5 also to color grade some of my short videos as it seems to be pretty handy. Unfortunately, for some videos the export fails with the error that the hard drive does not contain rendered images. The screenshot below shows the error message in German.
As I was using the same options for many other videos before, I was wondering what causes this error. The hard drive where I have the lightroom catelog is an external USB3 hdd with lots of space left.
View 2 Replies
View Related
Nov 15, 2012
Using X5, I've been assembling video clips taken on holidays into small, specific topic mini-movies (say about 2-3 mins long each) for friends and family, and I've noticed an odd effect of rendering using the MPEG optimiser option when creating a video file from a set of project parts.
All the source clips have a 16.9 aspect ratio. The project file has full, trimmed, and cut clips, plus text, voice over and music.
Put together in a project file, the various clips fill the small or large display windows, as one would expect. Trimmed and cut clips made not difference to the display when playing. But the rendered result of that project file shows irregular "jumping" of the image aspect ratio: sometimes, it's the full display window, at other times it looks like the image is full width but there are black bars top and bottom, and still other times the reverse - bars on the side with a full vertical image.
Those latter characteristics are symptomatic of a 4:3 image converted to 16:9, and I promptly checked to make sure the sources were all 16:9, and they were. The jumping seems to happen within rendered clips and when a clip transitions from one to the next, but not every time. When it happens within a clip, the display 'flickers" as the aspect ratio changes and its that flicker that originally drew my attention to what seemed to be happening.
View 2 Replies
View Related
Aug 7, 2013
i'm using Lightroom 3.6. I recently bought a new camera, Pentax K-30.
I photograph raw files in sRGB.
When i take a picture, it looks perfectly fine on my camera display. Colours, exposure etc. everything is just as i want it to be.
Then i import these files to Lightroom. At first everything looks fine, just until Lightroom renders the pictures. After that they appear way too dark, colours do not match and in total the result is absolutely not good.
How can i change the settings, so that the rendered pictures look just as on my camera display?
And i know that displays differ in colours presentation. It's not that, it must be the rendering (development) from raw to preview.
View 3 Replies
View Related
Oct 31, 2013
I made these bunch of other parts at school this time and they use 2013 and I use 2014 at home, will I be able to open them
View 2 Replies
View Related
Aug 27, 2013
My team is using AutoCAD 2014 and multiple people have noticed that while they're working, when they try to save the file it pops up a message saying the file is read only.
Multiple people on our team has had this issue and it only started recently. (We've had it installed a few months now).Could it be the new file tabs feature in 2014?
View 9 Replies
View Related
Sep 17, 2011
How can I control the number of opened files in AutoCad-2010 ? How to do that . I have to work in 2 files Simultaneously.
View 5 Replies
View Related
Dec 3, 2012
I ahve been happily using my photoshop but recently all my images are greyed out with small white and grey boxes so cannot view or change. I have clicked on the imagine open section in history and it makes not difference.
View 5 Replies
View Related
May 5, 2008
RAW images opened in CS2, Bridge or Lightroom have bands of different colors depending on the image and are unusable. Running Windows Vista 32 on Dell Desktop 531 w/2g of ram. Have been searching but haven't found a solution. I have not called Adobe yet.
Lightroom stopped running on Vista 32 windows error message says "Lightroom has stopped running windows is searching for a solution to the problem". At the same time Lightroom works fine on my laptop running Vista 32.
View 1 Replies
View Related
Oct 9, 2013
When I try to open a LDD file with C3D, the file locks up and won't open. It appears to happen only when the LDD file has an alignment defined.
View 8 Replies
View Related
Dec 30, 2013
I just starting working with AutoCad 2014 Lt....and its great. I have a problem with the interface when I have two drawings open at the same time that are xref'd...the screen starts flashing, mouse dragging and the operations are very slow. Example,. if I have the plan open and the elevations open in two separate model space drawings but the plan is xref'd into the elev for reference. Is this an issue for others? What is the fix? This didn't happen in our older ACAD 2005. It is distressing, and I thought it was a server issue, but if I work off my station only, it still happens.
View 1 Replies
View Related
Feb 23, 2013
I have installed CS6 trial version and an unable to view opened images (jpg, psd). Bottom of screen sayd "waiting for Bridge CS 6". What do I need to view my images?
View 3 Replies
View Related
May 7, 2013
I have new laptop with Photoshop cs4. I have a Nvidia Geforce GTX 660M 2G hard drive in the lap top. The colors look great in everything but Photoshop. Everything in Photoshop has a yellowish almost sepia toned tint. I have been trying to figure out what is wrong for several day... (and several hours for several days). I understand that Photoshop color corrects, but if I have de-saturated an image why does it still look sepia in Photoshop and B&W everywhere else?
View 6 Replies
View Related
May 21, 2012
today i'm using a batch file to load paint.net with the images name in the command line.
(this is my workaround)
however since i add images , I sometime forget to add those image names to the batch file, and they do not load.
so is there a way to add to paint.net the option to automatically load upon start the " last open images"
ie. the last images that were open before the program exited ?
View 5 Replies
View Related
Nov 20, 2013
My images are going gray when I open them.
View 1 Replies
View Related
Aug 3, 2013
I'm used to open my photos as smart objects. So I open them in Camera Raw, edit and open in Photoshop CS6 as smart objects.
My issue is:
In CS6 when I double click the photo and open it again in Camera Raw, I can't find a way to save the edits. I mean, if I close the photo in CS6 and open it again, Camera Raw keeps only the edits I made the very first time I opened the photo.
View 1 Replies
View Related
Aug 12, 2013
Why do images opened in CR coming with PS CC always show 2 EV to bright? The same images opened with CR coming with my PS CS6 on another machine open almost perfect every time.
View 1 Replies
View Related
Dec 2, 2012
I was using Photoshop CS5 (64-bit) fine yesterday but today each image I open shows a loss of colour, everything looks like a blue tinted grayscale.The same with RAW files opened in ACR and all files opened in Bridge.When I open a JPEG version in Microsoft Image Viewer the colour is fine.In Windows, the thumbnails look fine with full colour in the folders.The loss of colour only happens when the image files are opened in Photoshop, Bridge and ACR.
View 9 Replies
View Related
Nov 29, 2011
We used to use version 4 at work and loads of images drawn, my boss has converted to version 12 but when we open the drawings now all the text is in the wrong place and too big etc.
I have been given the task of fixing them all and wondered if there was an easy fix rather than clicking on each text box and changing each bit one by one, sitting with my fingers crossed.
View 7 Replies
View Related
Jan 10, 2012
I upgraded to PaintShop Pro X4 from PSP v9.0 and I noticed images are not opened in their own separate windows anymore? I need the ability to open an image in its own window and drag it around the workspace ...how to enable this in PSPX4 ??
View 8 Replies
View Related
Sep 4, 2012
Some of the images I have taken with my Olympus 7010 still camera, when opened up in PSPro X, are not showing correctly.A portion of the image is sectioned and the smaller part of the image has moved along horizontally, the effect being that for instance, a person's head is not on the body but further along the image. This only happens now and again but is annoying, the last time 2 out of 24 images were like this.They were loaded on to my pc via the camera's card,in a card reader.
View 6 Replies
View Related
Mar 8, 2014
The following message appears when attempting to install the trial version of PSE12 onto an iMac.."The following disk images could not be opened - Photoshop Elements_12_WWEFDJ.dmg error -4960"...The installer then hangs with the install extractor and does not respond.
View 8 Replies
View Related
Feb 19, 2014
Once I render and save a project, exit out, and come back in, the rendered files that I "saved" are not rendered. This all happened after the mavericks software update
View 1 Replies
View Related