AutoCAD .NET :: Adding AeccPoint To Drawing
Jun 13, 2011
How do I add a new AeccPoint (Civil 3D) to a drawing?I'm moving over from the COM side and I have hit a road block.
I can create 3d points to add to autocad lines but I have not been able to find any docs on adding stand-alone points to a drawing.
View 2 Replies
ADVERTISEMENT
May 27, 2011
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?
View 9 Replies
View Related
Apr 8, 2010
Is there a way to add bar code to a drawing which is a translation of Drwg. #. I saw iPropWiz program but don't know if that's the way to go.
View 9 Replies
View Related
Jun 8, 2012
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?
View 8 Replies
View Related
Jun 28, 2013
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.
View 3 Replies
View Related
Jul 14, 2011
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.
View 4 Replies
View Related
Apr 6, 2013
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)?
View 2 Replies
View Related
May 8, 2012
I'm adding an alignment to a drawing I recieve from a surveyor. The alignment is measuring in meters. How do I change it to feet?
View 1 Replies
View Related
Nov 6, 2012
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?
View 2 Replies
View Related
Apr 8, 2008
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.
View 6 Replies
View Related
Nov 29, 2012
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".
View 1 Replies
View Related
May 16, 2012
I would like to add at the top of my drawing border the file path for that CAD drawing.
For example:
C:Documents And SettingsNameLocal SettingsTemporary Internet FilesContent.Outlook6MI84FY33435_M_56_01 - Heating Ground Floor
This is something that I have seen in my previous employers drawing sheets but I would now like to add one to my own sheet.
I have looked into Plot Stamp command but this just seems to give me options for the date or tab name and not where the drawing is saved.
View 9 Replies
View Related
Oct 9, 2011
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.
[CommandMethod("center")]public void Add() { Do.AddAttribute(); }
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).
private void OnReceiveCompleted(object sender, ReceiveCompletedEventArgs e) { Do.AddAttribute();}
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 {
[Code] ......
View 1 Replies
View Related
Aug 5, 2013
adding an unused template drawing title block resource.
'UPDATE TITLE BLOCK SHEET 1ThisDrawing.ResourceFileName="X:TemplatesStart Drawing.idw"
ThisDrawing.KeepExtraResources=False
DimoDrawingDocAsDocument=ThisApplication.ActiveDocument
'If iProperties.Value("Custom", "V1Scale") = NullString
oDrawingDoc.ActiveSheet.TitleBlock.Delete
[code]....
View 7 Replies
View Related
Nov 4, 2012
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.
View 6 Replies
View Related
Apr 20, 2012
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."
View 7 Replies
View Related
Dec 27, 2013
I've created a couple of programs:
One - that will start a new project file, add our standard drawing sheets
two - Insert a bunch of wblocked components based on user input
programs 3 - 6 all do the same as program 2, just different components for different sheets.
I can run all these programs and they work (i need to do a lot of "clean-up" but they work)...
I have them set-up to open the next drawing.But i have to type in the next command, and continue until all my programs and done running.
My questions is how can I accomplish this without having to continually type in commands?I can't run these as a script, but is there another method?
View 8 Replies
View Related
Jun 18, 2012
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.
View 1 Replies
View Related
Nov 14, 2005
I have this drawing I made for hand few years back, and I was thinking to add some colors onto it in PS,
View 3 Replies
View Related
Mar 1, 2014
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?
View 3 Replies
View Related
Dec 16, 2012
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.
View 1 Replies
View Related
Dec 10, 2013
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.
View 5 Replies
View Related
Jul 26, 2013
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?
View 1 Replies
View Related
Oct 13, 2013
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.
(defun c:client ()
(setq old-echo (getvar "CMDECHO"))
(setvar "cmdecho" 1)
[Code]...
I don't have any experience with LISP or any other programming. I have just been cobbling this together from bits and pieces I have found on the web.
View 3 Replies
View Related
Sep 11, 2012
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?
View 1 Replies
View Related
Oct 31, 2011
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.
View 6 Replies
View Related
Sep 14, 2011
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 ?
View 3 Replies
View Related
Jun 21, 2013
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?
View 1 Replies
View Related
Mar 7, 2013
I want to insert another drawing layout tabs contents in current drawing.
It's easy for MODEL tab, but for LAYOUT tabs, I dont know how!?
I prepared a code for INSERTING MODEL tab in current drawing:
(defun INS_DWG (TAB path dwg P / blk)(setq blk (strcat ""*" path dwg """));(setq N (vla-get-count (vla-get-layouts)));;Number of LAYOUT TABS in dwg(if (or(= TAB 0) (= TAB nil))(command "INSERT" blk P 1 0)); TAB=0 or omitted ==>Insert MODEL;(if (= TAB 1));==>Insert the 1st LAYOUT in dwg file;(if (= TAB 2));==>Insert the 2nd LAYOUT in dwg file;and so on....);;;usage:;;(INS_DWG 0 "c:\test\" "test.dwg" '(0 0))
View 8 Replies
View Related
Sep 20, 2013
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.
View 6 Replies
View Related
Nov 28, 2012
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.
View 7 Replies
View Related