AutoCAD .NET :: VISRETAIN Not Work With ReadDwgFile
Aug 12, 2011
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().
View 5 Replies
ADVERTISEMENT
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?
View 4 Replies
View Related
Aug 28, 2013
I have no clue what this error/warning message means or why I am receiving.
c:program filesautodeskautocad mechanical 2012acadmamg3dim.arx cannot find a dll or other file that it needs.
View 3 Replies
View Related
Sep 9, 2013
I keep running into a situation where I would like to be able to create an edge or a work axis at the intersection of a work plane and the surface of the part. I figured out a work around if the surface is flat, but I haven't figured out a work around for a curved surface.
How do I create work axis where work plane intersects curved surface?
Or put another way: How do I project intersection of work plane and curved surface onto the work plane in a 2D sketch?
I need to be able to draw a 2D sketch on the work plane, but get a perfectly matching projected line onto the work plane, from the curved surface, at the intersection of the curved surface and the work plane.
The attached jpg shows the intersection in question. I circled it.
View 5 Replies
View Related
Sep 29, 2011
All of my block updates work just fine when I use them in MEP 12, but we have a couple of drafters working in vanilla AutoCAD & for some reason the same commands/ blocks/ settings (same exact file even) that work in MEP do not work in regular ACAD.
Now they do "work" - the commands/ block insertion - but the annotative adjustment (i.e. 1/4" to 1/8" to etc) do not work until I select the block and add the desired scale to its annotative object scale list - why is this necessary? it isn't in MEP? The blocks work/ act properly annotatively once inserted and adjusted as mentioned above, but again, why? Why? Why is this necessary? All of the scale are in the block file as it resides in my block folder...?
View 2 Replies
View Related
Nov 1, 2013
In Photoshop CS5 some of the functions on 64 bit do not work, but everything seems to work on 32 bit. I have not searched for all the functions that don't work on 64 bit. I just use the 32 bit program, but I would like to know why the 64 bit program doesn't work right. I would like to be able to use it.
View 8 Replies
View Related
Mar 23, 2013
how to use lighting in AutoCAD but when i place the light in my drawing i can't see it. I have made sure the light is on and the default lighting is turned off but still i can't see it. I tried to render it presentation style but still nothing. Attached is a screenshot of what i am trying to do.
Cad Light.jpg
View 9 Replies
View Related
Sep 14, 2012
Although I use Civil 3d 2013, I have never used the map 3d program. I have GIS data and need to perform queries but I can't seem to figure out how to get a query to work.
I have the drawing open and the data is displayed. On the Task Pane I right click on "Current Query" and choose "Define". On the "Define Query of Attached drawing" dialog under "Query Type" I want pick "Data" which opens the "Data Condition" dialog. At this point you can choose Object Class, Object Properties, Database Link, Object Data or attribute. When I pick any of these options I get a "No Tables Found" message at the bottom of the dialog box (with the exception of Attribute). I'm therefore left with nothing to pick for the Object Data Fields.
View 3 Replies
View Related
Mar 19, 2013
Why does the revolve cut not work.I need to cut this section off
Also how do i remove the extra solid in the throat
Inventor 2013
View 9 Replies
View Related
Sep 15, 2011
My company used autocad 2009 and a printing Plug-in which was made by VB,they worked perfect.But when my company uses autocad 2010,the problem rises:The printing Plug-in doesn't work.
Although I downloaded and installed the Microsoft Visual Basic for Applications Module 32bit (from URL....), the printing Plug-in can not work with autocad 2010.the commands from the plug-in cannot be recognized.
Firstly I install autocad 2010,then VBA,next printing Plug-in.Is there anything wrong?
View 5 Replies
View Related
Sep 15, 2011
R2006
We have a .dvb file that we load on startup.
It does some things on the begin save event.
When I bring up the VBAIDE, I can see the few subs that do the work but what I'm wondering is:
Is there or can there be other code within the .dvb file that I'm not seeing in the AutoCAD VBIDE?
In other words, it there the possibility of some other compiled code inside the .dvb that does things in the background that isn't visible in the code window?
View 9 Replies
View Related
Apr 17, 2012
I am not having any luck getting intersectwith working in paperspace? I'm not trying to intersect with objects in model space, just all objects in paperspace.
View 2 Replies
View Related
May 8, 2012
(visual studio 2010 c# and AutoCAD 2010 )I'm trying to create a new layer with ARGB color but SetRGB doesn`t work this way.
// Color is a System.Drawing.Color
private static void NewLayer(string layerName, Color layerColor)
{
LY_Rutas = gbl_doc.Layers.Add(layerName);
LY_Rutas.TrueColor.SetRGB(layerColor.R, layerColor.G, layerColor.B);
}
View 5 Replies
View Related
Mar 8, 2011
Does IntersectWith work with 2011? If not what is the fix? Apparently I cannot find the apparent intersection point of two lines.
If I try to use IntersectWith, I get an error that it is obsolete.
View 3 Replies
View Related
Mar 13, 2012
in VB6 when we use vbCrLf it work and come in new line but in .net it is not working
Dim Str1 As String = " This is Test for First Line" Dim str2 As String = " This is Test for Second Line" Dim Str3 As String = Str1 & vbCrLf & str2 Dim acText As DBText = New DBText() acText.SetDatabaseDefaults() acText.Position = ed.GetPoint("click Point To Insert").Value acText.Height = 1 acText.TextString = Str3.ToString acBlkTblRec.AppendEntity(acText) acTrans.AddNewlyCreatedDBObject(acText, True)
View 3 Replies
View Related
Oct 7, 2011
No matter whether Dynamic Input is on or off, input needs to be @X,Y in order to draw with relative coordinates.
Many students have installed recently AutoCAD LT 2012 Educational version and this problem appears only with one of them. Dyn Input Settings seems to be equal on all computers.
View 2 Replies
View Related
Jun 10, 2013
I must be missing something on how Linetypes Work. I created a folder where I store all my shape files for linetypes, and added it as both a support file search path and a working support file search path. I tried to provide as much information as I could with the images below. When I try to bring in a linetype I constantly get a bad definition error. proper way to store and implement Linotype standards.
*GDRLAL,Aluminum Gaurdrail
A,.16,-.06,[GAURDRAIL,gaurdrail,s=1],-.06,.16,-.06,[GAURDRAIL,gaurdrail,s=1],-.06,.16,-.06,[GAURDRAIL,gaurdrail,s=1],
View 2 Replies
View Related
Jan 7, 2013
I have drawn my model and am trying to put it into viewports. I have followed the tutorials provided to the letter, but when I create the viewport nothing shows up.
View 1 Replies
View Related
Feb 9, 2012
There is a bug in inventor 2012, where the default dxf version does not apply. It's not a huge issue, but it's quite annoying. Basically, when saving a dxf, I need to change the dxf version each time, regardless of what the default version is (which I've set to 2004). In order to import the files into my cam software (for CNC), it needs to be the Autocad 2004 DXF, so every time I need to save a dxf, I need to go to options and press finish.
View 1 Replies
View Related
Mar 16, 2012
When I explode some work blocks they just disappear so I tried Burst but that did not work either .
View 5 Replies
View Related
Oct 21, 2013
why after selecting Dimension, Angular, then selecting two lines, I do not get the angle between them? I am using v 2000 if it matters. I enclose a screen shot of the two lines I need the angle of.
View 9 Replies
View Related
Jun 19, 2013
I am new user in autocad 2010 and i used softly this software but untill i could not get how to work in xref and what is the major benefit of this link
View 5 Replies
View Related
Apr 3, 2013
I'm using CTRL+V and CTRL+C (the only combos I use, and I use them all the time). They don't work now. None of the combos with CTRL do. I went to the customize keyboard menu and those combos are all nicely set up. I re-set them up, reassigning the same combos to the same functions. I got out of AutoCAD and back in. I regenerated the drawing. Nothing. I did notice that those functions, which are used in many programs, DO work in MS Word and Outlook. What did I do now?
View 3 Replies
View Related
Dec 1, 2013
I am trying to print only in black and white from Autocad, so that only line weights can make a difference, but it does not work. Everything turns out in colour, using the colours I used for working in Autocad.
View 8 Replies
View Related
Mar 23, 2011
im running AutoCAD 2010 as part of a Inventor Package and everything was working fine until i installed the Inventor 2011 ......(it was to try to sort something else out as the new features were introduced in 2011, but because of work policy were stuck using 2010......isn't work grand)
Ive uninstalled 2011 without anything going wrong with Inventor 2010 but its AutoCAD 2010 im having trouble with
If i create anything (could be a line or dimension) and then open the properties window or quick properties what used to be there isn't.....
- in the quick properties it says it cant define anything
- in the main properties window, instead of being able to alter the scale of the line / text & adjust lengths etc, the fields have been replaced, at the bottom of the fields are UCS co-ordinates initially i thought it was because installing 2011 has corrupted the files or done something weird and wonderful to them so ive tried:
-Repairing
-Reinstalling - Without Uninstalling the original AutoCAD 2010
-Reinstalling - With Unistalling the original AutoCAD 2010
Im running a XP 64bit machine with the latest service pack
Ill get a screenshot to add tomorrow to make it clear what im on about.
View 2 Replies
View Related
Mar 21, 2012
one of the pc at my work place seemed to be working funny, compared to the other pc.
For example, the command CO won't work, but instead i have to type CC to copy. The command MA doesn't work at all, and i don't know how to match properties.
Along the way, there are other commands that I encounter before. Basically, it jus feels funny for this PC.
Is there any way to restore every single setting without re-installing the autocad?
View 2 Replies
View Related
Mar 23, 2013
I have a doubt with the new text command. When i worked in Autocad2002, i could write my text directly in the command line, for example i could paste in a row all the options, followed by the text, but now i have to insert the text near the cursor after i insert the options...
It's possible to work with the text command like in Autocad2002 in the new versions? Writing all in the command line?
View 1 Replies
View Related
Nov 21, 2013
I'm having some problems with inventor fusion and autocad mep.I have a solid object that i would like to edit in inventor but i get the unknown command error when entering editinfusion
I went through the cuiload and loaded the cuix. file and now the icon editinfusion shows up on the ribbon. After selecting a solid object and clicking on the icon i get the same error message.
So i went to AutoCAD 2013 (not MEP) and did the same thing and it worked.
My question is, can MEP and fusion work with one another or does this strickly have to be AutoCAD and Fusion?
View 3 Replies
View Related
Nov 15, 2012
I am working in Civil 2012, and i want to have a label to display a measurement in inches on a customizeable titleblock border. The border itself is a dynamic block.
I seem to have succesfully created a label in the label style composer, unfortunatley it doesn't want to work in paperspace? All my labels get sent into model space? It is safe to say the label works, it just doesn't want to stay in my Layout tab?
View 0 Replies
View Related
May 6, 2009
I've just installed ACA 2010 on my laptop on Windows XP64 bit
When I select a command such as the wall or door command. The command starts then exits out before I can draw anything.
View 7 Replies
View Related
Feb 20, 2013
Every Time I open C3D I have to open my drawings.
In addition I have always an empty and irritating empty "drawing1" ....
View 9 Replies
View Related