Is it possible to add materials to a 2D drawing? I'm working on a floor plan and would like to add flooring materials to it but not sure how or if this is possible?
I have a drawing with the x and y as grid references, I have an excel spreadsheet with point information with grid references which are within the range on the drawing. How do I put the excell info onto the drawing?
I have recently run across an odd issue when adding text to a drawing in Civil 3D. The problem comes with creating a new text item in an existing drawing. In this drawing, if I insert a text object, Civil freezes up for several minutes. Once it is un-frozen, the text pops up as it should and everything works as normal. This happens for both single line and multi line text, with any of my text styles, and across all layers that I have tried. Other regular drawing objects do not cause any problems, and there are also no problems editing any existing text objects.
To troubleshoot, I have created new drawings and added text, but they do not have problems. I have also opened other existing drawings, but no problems with those either. I am worried that the drawing file may be corrupted, but audits and recovers don't show ay errors, and I have purged out everything not in use.
The strangest part is that if I open the same drawing in Map 3D, I have the same text insertion problems, but when I open it in plain CAD or in Raster Design, the text will insert with no problems.
I'm having trouble adding a plot stamp to my drawing in AutoCAD 2002. My drawing is in meters and the page in paper space is 0.841m wide by 0.594m high. I can not figure out the setting for the plot stamp to put it in the bottom left corner. This is my first time trying to use a plot stamp so things will need to be explained most likely.
I was adding text and leaders to a drawing and after the text was entered I pushed the escape key. It then asked me if I want to save my text. It also had a check box asking me if I always want to perform that so it wouldn't keep popping up with that question. Well, I had checked that I didn't want the text and I also checked the box to always perform that answer. And now it won't save any text that I write. It just keeps the leader. How can I get the text to stay and undo the box that I checked to always answer that way (to not keep text)?
I have written a program that basically replaces certain mvblocks, tags actually, in several drawings, the purpose being to change the displayed label of an object.
I have just 2 of the 3 affected drawings open and just 1 of those 2 is acually active at the time the program runs.When I run the program the tags in the open and active drawing get replaced fine.
The tags in the open but NOT active drawing appear unchanged but a "regen" causes them to go away but the new tags do not appear, if I save, close, and reopen the drawing, as the drawing is reopening I see the new tags but the label text is offset and just prior to the drawing being fully open (back at "command" prompt) the tag text does move to its correct location. a save now saves the drawing correctly so on subsequent openings everything is correct.
The tags in the unopened drawing, when I do open it, once again, I see the new tags but the label text is offset and just prior to the drawing being fully open (back at "command" prompt) the tag text does move to its correct location. a save now saves the drawing correctly so on subsequent openings everything is correct.
Regardless of the state (open, unopen, active, inactive) I am running each drawing through the same subroutines to delete the old tag and put on the new as I am passing the drawing DB to the subroutines, the only difference being that I am putting a document lock on the open drawings documents before I start the subroutines.
I do have the CommandFlags.Session flag set on the command that launches the program. So, what am i missing that the new tags are not showing up in the open but inactive dwg until the drawing is saved and reopened, and then in both, open and inactive and the unopened dwg the label text appears offset until the dwg opens completely?
inserting or adding an image to the drawing file.. i ve the reference point and the bmp file path.. but the error "Run-time error '-2147467259(80004005) Method 'Add' of object '_IRxSketchImages' failed" is flashed.
I am trying to add an entity on a new drawing (document) with a new layer.
Following is the code snippet I have right now.
[CommandMethod("TEST")] public void Test() { Document newDoc = Application.DocumentManager.Add("acad"); Database db = newDoc.Database; DocumentLock docLock = newDoc.LockDocument(); try { using (Transaction tr = db.TransactionManager.StartTransaction()) { BlockTable bt = tr.GetObject(db.BlockTableId, OpenMode.ForRead) as [code]..........
PTPUtils.CreateLayer() method creates a new layer in the given DB. However, the code gives me an "eKeyNotFound" exception in the line p.Layer = newLayer.
If I remove the p.Layer line, the code works very well. But the entity only goes to the default layer "0".
I am adding a center aligned attribute to a drawing that is not open in the autocad editor. the alignment works if i call the function from the main thread like this.
But if the method is executed on another thread (which it is when handling a msmq message) then the attribute is added but the alignment doesn't display even though the property is set (and can be verified in the attribute editor).
How can i get the attribute alignment to work in another thread?
code is below:
public class Do { public static void AddAttribute() { var path = @"c:WAM444B4-002.dwg"; using (var database = new Database(false, true)) { database.ReadDwgFile(path, FileShare.ReadWrite, false, password: ""); Transaction transaction = null; try {
We are civil engineering company, and most of out work is to get drawing from a civil architects and add our layer on that drawing, but when opening those drawing we get the message that there is ObjectARX missing, and from that point on our life become very difficult, we cannot copy paste objects, and lots of other basic action cannot be complete without crashing autocad.
I am using AutoCAD 2010, but i saw it happening with all the versions of AutoCAD.search for enablers are set on in Option.
I am about to recieve an order to provide drawings to a new client who has requested me to author an new blank drawing title block for the required drawings. The company does however have a Logo and other necessary details.
My question is: What format should the logo be in and how do I transfer this into the drawing title block, bearing in mind that I will most likely have to change the size to suite the various size drawings sheets, namely A0, A1, A2 etc?
I have attempted to search for this information on CT and having found the topic been denied request to open whatever. This is a copy of the notification receive when attempting to open a topic:
"Forbidden You don't have permission to access /forum/showthread.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
i've been trying to write a lisp shortcut for drawing cleanup but it keeps asking me for a profile name to load and i cant figure out how to add my .DPF file to my routine.
I scanned and live traced a drawing of mine. I want to add color to make it a proper vector illustration for example:
But when I try and change the colour of the outline of say the skin, this changed the outline of everythign else (hair, clothes) because the lines are all joined. How do I only change the colour of the outlines surrounding certain areas?
How can I make an imported scan of a line drawing "transparent" and add color fills to various sections, using the freehand tool ? I have done this many times with an older version of CorelDraw, but in CorelDraw- x5 the
imported scan includes a white background (even when I select NO FILL), so that my freehand tool selections are either on top of, or hidden behind the white background.
Eventually after I copy and paste with the clipboard enough times within one drawing, the ability goes away and I can no longer copy and past one item from one drawing to a separate drawing. I need to use the clipboard function because that is the only way of getting an item from one drawing to another.
I have download a clear clipboard function but it doesn't work. Closing CAD and restarting does not reinstate the function.
I have created an iLogic panel which allows me to control my revision a lot easier and puts my entered data into the parameters of the sheet itself, is there a way to have this show up on the drawing itself for a template?
I am trying to put together a lisp routine for exporting a Civil3D drawing to basic autocad entities and convert it to a clients layer standards.
I don't want any user input, so I see two problems with the routine at the moment.
Step 2. SAVEAS - I want the drawing to be saved in the same directory as the current drawing, either called "CLIENT_export.dwg" or preferably "Export_{current drawing name}.dwg". If the dwg exists I want it either to overwrite or increment a suffix number.
Step 4. At the moment it askes the user for a selection, I want it to select "ALL"
;;;Purpose to convert a Civil3D drawing into CLIENT layer standards.
My Autocad has started a new behavior. When (in Win7) I double-click on a drawing file in Windows Explorer, Autocad opens the drawing file and also starts a new drawing, all in the same session of Autocad. Is there some system variable or Windows variable that controls this?
When exiting a drawing by clicking on the small X in the upper right corner of the drawing, my program routinely "stops working". I get the error message that it has stopped working and it closes. No chance to save work in other drawings open at the time. I often have three or four drawings open so my only workaround is to go through each and save, then close the one I want to close, let the system crash and reopen the other drawings. It does not crash every time but several times a day.
The layer is on and the ground levels on the architectural drawing in model view show the number and the box surrounding them however in the drawing window be it in the numbers have dissapeared and we are left with only the boxes ?
Setting up a tabulated ipart drawing template. Which is better...one drawing file with a table or individual drawings for each tabulation? Also does one method work better than the other when introducing vault?
I've recently made a new drawing template with ilogic prompts for entering data for all fields within the template. It also sets view sizes etc. I have lots of master drawings, which are reused when sizes etc change for a contract, which i would like to transfer to this new template. Drawing Resource Transfer Wizard does not offer this function.
I could get all drawings in a folder copied to specific sheet size on the master template.As the template will probably be developed further in the future I'm very loathed to do this take manually.
Recently upgraded to Civil 3D 2013 and drawings opened up fine. Now today any drawing that opens shows the plan view as last saved but then after loading takes the drawing and shifts it into a 3d view similar to a crossection. Is there a setting somewhere that has been changed? I noticed after a windows 7 update was preformed.