AutoCAD .NET :: Updating Drawing / Database After Modifying It
Jun 30, 2012
I have written a command that replaces the given annotative scale of all objects in a drawing, with another annotative scale. Works great, except I can't remove the replaced annotative scale (with SCALELISTEDIT - DELETE button), unless I save the drawing and then open it again.
An annotative scale that is in use, can't be deleted. But since I can delete it after reopening the drawing, I am sure it is not in use anymore.
Is there a way to "refresh" the drawing/database, without reopening it?
View 5 Replies
ADVERTISEMENT
Nov 25, 2011
I don't understand why my parts aren't updating when I put a hole through them on the assembly drawing? I would expect the part (.ipt file) to get updated with a hole through it when I save the assembly drawing, however it doesn't. Do I have to change a default setting or does inventor no do this?
View 1 Replies
View Related
Jun 11, 2012
I am using 2012 autoCad. I have created an external MS access database in 2010. I want to map some fields like Polyline areas to DB field. DBConnect wasn't that much usrful to me for external databse.(Or I might be missing something).
Is there anyway that I can map AutoCAD-2012 Polylines to External database field so that updating polyline auto updates the database??
View 2 Replies
View Related
Feb 5, 2013
How do you create a block within a layer and set scale to same as other saved symbol blocks.
View 2 Replies
View Related
Mar 6, 2012
I am looking at modifying a drawing template that contains several layouts (A0 to A4 size pages). We want to be able to input drawing information for the title block in one place and duplicate the information across all of the layouts without manually copying it across (in an effort to enforce 1 dwg per drawing). Looking into this, one way looks to be using dwgprops to define the text content and then use fields to populate the required parts of the title block...
My question is this: Is there any way of setting it so that when a user starts a new drawing, a prompt comes up on the screen asking for the pertinent information before the drawing is started and the user forgets to put the right info? Lsp or other means can be considered.
View 1 Replies
View Related
Mar 12, 2012
Can you have a database and the dwg file open at the same time and not be in read-only mode?
For example: I have access database file open and editing it while in the dwg file with the graphical info that is linked to the database.
View 8 Replies
View Related
Aug 8, 2012
How i can get Database object of Drawing file with out opening.
View 1 Replies
View Related
Sep 29, 2011
I'm experimenting with treadsafe progressbar, that would allow me to stop the process.
but for some reason, on this line
Dim _db As Database = AcApp.DocumentManager.MdiActiveDocument.Database
AutoCAD crashes with fatal error This runs on the new thread, so i suppose it has something to do with it, but i have no clue, why this should be a problem.
View 6 Replies
View Related
Jul 31, 2012
I recently received a new computer with windows 7 and installed 2013. I now cannot link my database to my drawing.
View 5 Replies
View Related
Jul 13, 2013
I need to draw a couple of hidden lines into a drawing. I see that it is not in my database when I go to Modify/Properties, it does not exist. I am using either v 2000, or v 2007 if it matters.
View 5 Replies
View Related
Mar 14, 2012
I have an AutoCAD file which includes 3d points and lines which represent an existing ground survey. The scheme is approx. 8km and points are spaced in a dense grid. The survey was undertaken using aerial (Lidar) methods, before being rationalised using aerial imagary to identify linear features such as kerbs, fencelines, etc, which are included as 3d polylines. Items have been grouped by the surveyors and adopt individual cad layers and linestyles, etc.
Basically, I want to incorporate all of the points and all 3d polylines into my Civil 3d Survey database in order develop a roads design.
View 4 Replies
View Related
Jan 1, 2012
My master drawing includes things like network information, drops, V-lans and bandwidths,
I want to use a database to count various objects/blocks in a drawing. Ideally I want to write a macro button that enables me to export the information in the drawing straight into a database.
View 3 Replies
View Related
Mar 25, 2010
Is there a way to link the path of the survey data base in the drawing, so I do not have to set the working folder every time?
View 9 Replies
View Related
Feb 25, 2013
I seem to recall there is a method of substituting old drawing templates with the latest version on open drawings, but for the life of me can neither remember what the command is or enter anything into the ACAD Help search that results in anything remotely useful .
View 9 Replies
View Related
Aug 16, 2012
I have a drawing of a part that I want to change the dimensions many times.
When I edit the length and width in the part, the drawing updates automatically.
But is it possible to update the pdf file (of drawing) automatically after editing the dimensions in part?
Or do I have to update (save as to pdf) everytime I create a new dimensions?
View 4 Replies
View Related
Oct 5, 2010
I have crated a drawing of the part. Now I must be updating the drawing template. How I can update the drawing templates to old drawings?
View 6 Replies
View Related
Mar 20, 2012
We have the weight inour title block tied to the mass property.It is set to populate automatically and it does very nicely.
The issue comes when I have an assembly and in the BOM I set certain components to be reference. When I go to Iproperties and then under the Physical tab select update,
the value updates there, but not in the associated drawing title block.
View 6 Replies
View Related
Nov 25, 2013
As this software continues to change it's behavior of function over nite. I am assuming due to new updates in inventor. I can no longer get my drawing to update per changes made to the model. This started about 2 weeks ago.
Change are completed perfectly, I open the drawing and it still has the old model represented. When I right on the view and open the model. Model contains all of my changes, but the drawing does not seem to care or notice that changes have been made and saved. I even closed inventor and reopened.
Even though I'm paid by the hour I really do not want to delete all views and start all over.
So the only answer is to delete all views replace them re dimension them and of course add any time consuming sketches.
10-15 minutes change now is going to take 3 hours. WHY can't autodesk make a stable piece of software?
View 9 Replies
View Related
Jan 10, 2014
I wounder if there is a way to see which dimensions that have been changed when you update a drawing? (after changing the model)
View 5 Replies
View Related
Nov 10, 2013
I made a drawing and later changed the part to an ipart.
The dimensions of the table part in the drawing are o.k. but the iproperties, the contents of the logo doesn't update and it has a strange number string.
There is the yellow lightning symbol and even though i press update all sheets nothing happens and also the lightning symbol remains
View 2 Replies
View Related
Mar 4, 2011
I have a drawing of an assembly with approx. 15 parts. I dimensioned and notated everything on the drawing as I usually would, and everything seemed fine. I have now gone back to that assembly a while later to adjust the position of some of the parts. When I open the drawing, however, these changes do not show up in the drawing environment. All of the parts are still in their original positions, even though in the assembly they are in new locations.
I've checked and it seems that the drawing views are referencing the correct assembly model. I tried deleting and replacing the dimensions, but that does not change dimension value to be correct. I also checked to make sure the "Defer update" box in the Options window is not selected.
If I place a new base view of the same assembly in the same drawing, it shows up with the new locations, but the original base view will not update.
I really would prefer not to delete the entire drawing and start over.
View 7 Replies
View Related
Sep 11, 2013
I inserted a table from excel to autocad with copy-edit/paste special/paste link / Microsoft excel worksheet(code) and everything seems to work nice until I closed the excel. After that no automatic updates to cad files.
PS: I checked the properties of the excel table and it is linked.
View 4 Replies
View Related
Aug 9, 2010
I'm using Inventor 2011 with the style library. I have made some changes to my styles template and want to batch update a group of drawings to the new style. Is there a way to do this without opening each drawing and doing the update?
View 6 Replies
View Related
Aug 6, 2012
I am building a plugin which needs to change the xref path within a drawing without opening it.
here is my. I am new to .Net c#
[CommandMethod("refremap")]
public void refremap() // This method can have any name
{
//Get the document
Document Doc = Application.DocumentManager.MdiActiveDocument;
Editor ed = Doc.Editor;
[code]....
View 4 Replies
View Related
Aug 6, 2013
I am working on the AutoCAD customization and doing the same by VB.Net & C#.Net. But I just want to know the difference as mentioned below:
1. Insert Block In AutoCAD
Using VB.Net without using DataBase services..Only 1 statement is required to Insert the Block objAcadDocument.ModelSpace.InsertBlock(Required Arguments are here) Using C#.Net with DataBase services
There are many statments are there to insert only 1 block..Like Start Transaction, Lock the document, Get the Object Id Block etc...So my quetion is that when I have to use DataBase services and when not
what is the advantage of doing customization using DataBase services rather than go for wihout DataBase services.?
View 4 Replies
View Related
Jul 27, 2012
I know you can "pull" styles from a drawing (maybe the template) into your current drawing.
Is there a way to "push" them from the current drawing to another on?
Here is what I am picturing:
Right click on a style on the settings tab and choose "Send to Template"
"Template" would either be a predefined DWT file or it would open a standard file selection dialog to select one.....and this would copy the selected style into the template.
View 9 Replies
View Related
Oct 7, 2012
So I am using Inventor LT 2012 in a small company that makes conveyor rollers. Most of the time we make the same roller with only different values to the variables. So I decided to make a part with the parameters in an Excel sheet:
A customer call us, and they want a roller with x,y,z dimensions, I put in in Excel and the drawing is ready.
But, when I need to make a second drawing of that roller with different dimensions, the first one also change.
Is there any way to keep a drawing fix when it is done ? If possible, only making a dwg for each customer without having to make an ipt and excel sheet for each drawing would be awesome !
View 4 Replies
View Related
Dec 6, 2013
Is there a way to search the database/tables/whatever to determine if new layers are present in a drawing?
I want to run a script to reconcile new layers in the sheet drawings after having cleaned the xref drawings, and the script bombs if there are no new layers present in the parent drawing.
If I could determine what triggers the layereval/layernotify sequence (tblsearch?) I could include an if or while lisp routine that would invoke the layer command and then reconcile the new layers.
View 9 Replies
View Related
Nov 19, 2012
I'm using Inventor 2011 and when I go to change parameters using iLogic in an assembly model, (sometimes it is a component suppression, other times it is an iPart component change) it won't update the associated drawing file. I need to go into the BOM on the drawing and renumber the balloons, or change something else in order for the custom iProperties to update in the drawing template. If I just change the iPart component, then the BOM doesn't need to update making the renumbering of balloons redundant.
I'm using iLogic to update all of the iProperties and component references, then reattach balloons. What I would like to do is automatically update the custom iProperties drawing template fields, and renumber the drawing BOM.
View 2 Replies
View Related
Mar 20, 2013
I am using Mech 2007. I have created a template to use with new drawings, and want to know if there is a way to update all the drawings at the same time when updating the template.
View 3 Replies
View Related
Aug 26, 2012
Once I have the dwg open how do I get to the database?
Dim AcadApp As Object = Nothing Dim AcadDoc As Object = Nothing Try AcadApp = GetObject(, "AutoCAD.Application.18") Catch ex As Exception AcadApp = CreateObject("AutoCAD.Application.18") End Try AcadApp.Visible = False Try AcadDoc = AcadApp.Documents.Open("C:UsersPAULDesktopB-03-J-H135.dwg", True) Catch ex As Exception Exit Sub End Try Dim MyDb As Database = AcadApp.DocumentManager.MdiActiveDocument.Database
View 4 Replies
View Related