AutoCAD .NET :: Display Of Proxygraphics When Saving Dwg Using ReadDwgFile?
Dec 4, 2013
I want to handle multiple DWG files containing MagiCAD proxy elements.
An easy and very fast method is to access the files using the ReadDwgFile
Database db = new Database(false, true);using (db){
db.ReadDwgFile(dwgfile.FullName,FileOpenMode.OpenForReadAndAllShare,true,null); // open the dwg file
And then save the files using:
db.RetainOriginalThumbnailBitmap = true; // retains thumbnail previw imagedb.SaveAs(dwgfile.FullName, true, DwgVersion.AC1024, null);
However, when using this method, the display of MagiCAD proxy entities are not saved. The DWG fil still contains the proxy entities, it's just the AutoCAD representation of the elements that have been altered.
Is there a method to handle 3rd party applications when using the .ReadDwgFile?
Create a dwg with a xref, set VISRETAIN to 1. Freeze some layer and change color for some layer of the xref. Save the file.Next time when you open the file those layers should stay at the same status as you saved.
Now try to open the dwg with DATABASE.ReadDwgFile(). Make some change if you want then save the dwg with DATABASE.SaveAs(). Open the dwg in ACAD and see if those layer stay at the same status as you saved.
On my computer I can see the DATABASE.VISRETAIN property is TRUE after ReadDwgFile(), but xref status can't be retained after the dwg been saved by DATABASE.SaveAs().
After closing and reopening my command prompt, I find that it is now at the bottom left of the screen and no longer part of the main graphics window. How can I get it to display at the bottom of the main display?
For example, Stairs have a stringer componet in plan display configuration but does not have a stringer componet in the Low Detail configuration. I need the stringer to show when I go to low detail how can I add a stringer componet in low detail.
I had my automatic save set up for every 10 minutes but files were not being saved regularly. I deleted files from the Temp folder thinking it was full and now there are no .sv$ saving at all. How can I make drawings save automatically every 10 minutes?
I am currently writing a book that will initially be sold as a PDF but may later go on the i Book store, however I don't have a Retina display myself and what is the best practice for making screenshots from a normal display look acceptably sharp on a Retina display?
I have Photoshop along with the iOS simulator that shows how the iPad or iPhone will look if they can be used in some way but I mainly need to get menu items and dialogue boxes from various applications in OS X and Windows looking good on Retina screens. I really don't want to pay out for a Retina display purely for this task that would only take a few hours of work at most.
New to this video editing game, just have a question regarding 4.3 and 16.9. i have a Canon XM2 which has a setting in the menu for 16.9 wide screen format. When this is selected on the camera the view finder shows a distored image (squshed). I have also found a setting that when 16.9 is turned off you can display 2 horizontal lines on the display. my question is am i better off shooting footage with the 16.9 turned off on the camera and then using Videostudio pro x4 to create the 16.9 format(if this can be done).
I have started editing photos using the Photo Fix Options in Instant Fix. I have then switched to Photo Editor to fine tune my edited picture. When I use save or save as, to save the edited picture both the edited and original appear in the files. If I start in in Photo Editor and save there is an option to uncheck that reads "Save in version set with Original" However I am more comfortable with beginning in Instant Fix and then switching to photo editor. For some reason when I go to save after switching from Instant fix to Photo editor the uncheck feature is no longer available. step by step instructions to save revised photo afterusing Instant Fix first then Photo Editor.
If I create a file in Photoshop without coming from Lightroom or duplicate a file in Photoshop that I opened from Lightroom, is there a way to save the new file from Photoshop to the desired directory on my local hard drive and simultaneously have it added to my Lightroom catalog? Or do I need to save the file then import the file into the catalog? I'm working with CS6.
Everytime i press the shift key and quotation mark key for the double quotation mark to display on my text on PS cs5 doesn't work. It display a double arrow instead.
I'm working on one of our standard layouts for a client. Our typical drawing setup is the base drawing file, surrounded by our Xref'ed border. On said border Xref, we have all the information that does not change between drawings (Revision history, address of job site, etc). The only things that change - and, thus, are not on the xref - are the title of each individual sheet and their number; in the case of these objects, they are located on the drawing file itself in the appropriate position. They are, however, the same font as the text in the Xref - "Standard". Or, at least, they're supposed to be.
The text in the base drawing file seems to be a different version of the text from the Xref - a much blockier, sharper-edged version than the Xref text. My first response was "Okay - I'll just copy/paste the text from the border into my base drawing file, and force the existing text to match the properties of the imported text."
This, however, did not work. The imported text automatically assumed the same form as the existing text. Here's a screenshot from the base drawing, illustrating this (The "Mechanical Plan" also exists on the base drawing, and not the Xref):
I copied the existing text from the base drawing (In this case, the "Mechanical Plan") and pasted it directly into the Xref itself, to see what would happen. Apparently, it wants to stay blocky:
In the latter example, I even tried to force the blocky text to assume the properties of the smooth text via MA (Match properties). I specifically need to make the text in the base drawing conform to the style that the text is assuming in the Xref - which is to say "Smooth."
I was entering some notes, with fractions, in a M text window. The popup that opens when entering fractions asking how you want to display the fractions. I accidentally turned it off, how do I get it back?
I'm trying to import a pdf underlay in AutoCAD 2012. However, every time I have imported it, the frame of the underlay shows up, but the pdf itself doesn't show up.
Contrast = 100 Fade = 0 Monochrome = No Show underlay = Yes Path is correct
I've tried importing image underlays (PNG files), and they work fine. Also, the pdf file is pretty big (about 100 MB), so I didn't know if that affected its ability to display.how to get this to show up?
I just got ACAD LT 2012 and am trying to set it up for a two screen displayI'd like to put all the icons and command line on one screen and use the second screen exclusively for the paper/model space.
I'm trying to import a pdf underlay in AutoCAD 2012. However, every time I have imported it, the frame of the underlay shows up, but the pdf itself doesn't show up.
Contrast = 100 Fade = 0 Monochrome = No Show underlay = Yes Path is correct
I've tried importing image underlays (PNG files), and they work fine. Also, the pdf file is pretty big (about 100 MB), so I didn't know if that affected its ability to display. How to get this to show up?
A dwg obtained and developed from autocad 2009 was opened with autocad LT 2012 but could not display on the LAYOUT, although it does show on the MODEL.
I have tried to SAVE AS using the 2012 Autocad LT, but the drawing still wont display on the LAYOUT.
The undefined areas of a slope map now have a hatch to them and are plotting black. This map was created a month ago in 2012 without issues, upgraded to 2014 and now the undefined range has hatch!
With standard CAD objects it is possible to control their display on a per viewport basis by using the layer manager and freezing any unwanted layers in a particular vport.
I'm having trouble controlling the display of FDO objects from an SDF file in the same way though.
How do I get rid of this "pin point" in my display. It shows up when displaying an isometric or perspective view. I would like to make a nice screenshot without it. There must be a variable somewhere?
Attached is a drawing containing a big rectangular lwpolyline and two relatively small lwpolylines near the drawing origin. One of these smaller plines is on a layer that has a dashed linetype associated with it. That layer is also red. When I zoom in on that pline, however, I won't see the dashes unless or until a regen occurs. As of this writing, after trying a few things, I'm almost resigned to including a note telling the client they might have to REGEN in order to see non-continuous linetypes display properly.
I get a display error during the execution of some of the commands used in AutocadLT with Windows 7. It occurs when I choose a command along the bottom of the display area just above the command window (offset seems to be the worst offender. As soon as I choose the command, the computer locks up for a second or two then the screen goes black. Most of the time it will come back with a white screen in the rawing area and I will have to use the regen command to continue editing. it will sometimes do this numerous times before I can complete the command. (offset).
The error displayed from the task bar is:
Display Driver stopped responding and has recovered Display driver Intel Graphics Accelerator Drivers for Windows 7(R) stopped responding adn has successfully recovered.
I use image insert to attach aerial photographs. I would like to use the FDO raster connection, but I keep having a problem with the raster image losing it's display order. I use "display order" in the display manager and move the raster to the bottom, but for some reason it keeps popping above the line work and I have to keep sending it to the back.
I put images in drawings quite frequently as they change from year to year and we monitor a large number of projects yearly. Is image insert still the quickest solution or is there a way to ensure the image will retain it's display order when I do a data connect?
I am trying to create a ribbon of my own, and the code and execution is fine, but I am not able to put the images.
my images are not more than 1 kb in size and are stored in the resources.resources1.... how do I get them to display.
I am trying to work with the available code found in one of the training sessions,
'Code starts
'on one of my subs I am calling this function
'ribBtn.LargeImage = LoadImage("FR.png")
Private Shared Function LoadImage(ByRef ImageName As String) As Imaging.BitmapImage
Dim bi As New System.Windows.Media.Imaging.BitmapImage()
bi.BeginInit() bi.StreamSource = GetEmbeddedResourceStream("MyRibbon_Autocad." & ImageName) bi.EndInit() ' When i debug the code, the code is exiting at this point, i am assuming it is not getting initialised. Return bi End Function
Protected Shared Function GetEmbeddedResourceStream(ByVal ResourceName As String) As Stream Return System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(ResourceName) End Function
I dont see any error, but the ribbon is getting generated but withut any images, just a plane ribbon.
I have several shp files ordered in the display manager. Three Polygons, one line and one point shp. the problem is that the bottom polygon that is supposed to draw order last continues to show up above all other files during plotting to PDF or other digital file. I have tried to disconnect and reconnect the problem shp, reorder several times but nothing changes. This is making it impossible for me to plot a file in the way is it being displayed.
Many times when I try to attach a xref and do a zoom extents, I cannot find the drawing. I change my limits to -999999,-999999 and 999999,999999 but still nothing. This seems to be a random problem.
Windows 7 x 64 Nvidia GeForce GTS 450 8 GB Ram Intel Core i5-2310 @ 2.90 GHz v. F.107.0.0 AutoCAD Civil 3D 2012 SP1
Using AutoCAD Map 3D 2010, I'd like to create a new legend for my map ("Tools > Create Legend").I'm trying to follow the steps shown on this video: URL....but there's no "Tools" option in my "Display Manager" tab.