AutoCAD Civil 3D :: When Open Drawing It Is Not Becoming Active
Feb 28, 2012In the last couple of days civil3d has started not opening a drawing as the active drawing
View 1 RepliesIn the last couple of days civil3d has started not opening a drawing as the active drawing
View 1 Repliesusing dwgDB.saveas on a drawing database that the user has open but NOT current on his screen?
For example, the user has DWG1 open and DWG2 open and currently active, my program modifies DWG1 (inactive) and when the program tries to run...
dwg1DB.SaveAs(filename, true, DwgVersion.Current, dwg1DB.SecurityParameters)
it errors with an elock violation, even though I lock the document with dwg1DOC.LockDocument before I try to save and unlock it after.
The same code runs fine on the current document so at this time I just ended making the other document current just to save it then switch back to previously current document.
What am I missing to save a document that is open but not current?
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?
How to save active drawing file with filename..
View 9 Replies View RelatedI have several closed ployline shapes in a particular layer, I need to know a way to:
a) pick all the entites on that layer
b) export to a dxf file each individual entity on the layer (yes, each entity saved to a separate dxf)
I am almost positive I can answer 'a' on my own using an object collection and a conditional statement? I am really more interested in how to export an entity from current open drawing to a dxf file in .net
After a recent crash civil 3d now asks me to type in the full path and file name for a file i want to open after selecting the open option on the menu or toolbar.i know there is a variable that requires re setting but i don't know how.
View 9 Replies View RelatedI don't know how I had done this before. When I had a previous version of autocrat I could Open autocrat and it would not Open drawing 1. I'm wanting to know if it is possible to have this feature again in civil 3d. Both in 2012 and 2011 civil 3d.
View 3 Replies View RelatedI want to insert a stored block into a drawing (model space). Below is the code I'm using and I get
Runtime Error '5': Invalid procedure call or argument.
Sub Dummy()
Dim COESTD_obj As AcadBlockReference, InsPtStd(0 To 2) As Long, COESTD As String
COESTD = "C:JimHYDROCAD_DwgsBlocksZ_COE_STDS.dwg"
InsPtStd(0) = 0#: InsPtStd(1) = 0#: InsPtStd(2) = 0# 'Set insertion point as 0,0,0
Set COESTD_obj = ThisDrawing.ModelSpace.InsertBlock(InsPtStd, COESTD, 1#, 1#, 1#, 0#)
End Sub
I'm new to the style library and how to take an existing drawing that was created on one standard, and changing it to another standard I just created. The new standard has different dimension styles, text, and layers. I've added all the styles to my style library and I've set the new standard to the active standard in both the styles and standards editor and the document settings. If I create a new view, it comes in on the new standard, but the existing views are still on the old. How to I get the existing views on the new standard?
View 2 Replies View RelatedI have my CUI properties set to start on model space, but everytime I open a new drawing it starts on the layout1 tab. I would like new drawing to start in model space. Just a preference thing.
View 1 Replies View RelatedI have an issue with opening assembly files as they always open as Master not Last Active.
Have I missed an option on another tab or something else?
64-Bit Inventor Professional 2012
Build 219, SP2
I have two tables on a drawing one showing a parts list the other changes to dimensions.
The table to show the dimension changes is a configuration table pointing to an ipart.
iLogic is used to update the ipart but you have to right click to update the Active Member in the ipart to see the drawing update.
Is there a way to automate the 'update active member'? (on the ipart table - this does update the drawing)
I just have the one row in the table, it's purpose was to pass the values onto the drawing (as the part resizes I didn't want the dimensions moving so opted to tabulate them) - hoping they would update!
or
Is there a way to have a table update parametrically i.e. I've tried .csv as a source to the table but can't force an update. This way I could scrap the ipart & just import the values to a table.
The table also includes some txt comments which change with the ipart properties.
I am trying to have one drawing with B size and E size sheets I am trying to get the border, title block and standard to change when the sheet format changes. I can get it to work when I run the rule but have hard time find information to just change when sheet format changes. And I can't find anything or I should say a sample of how to. I think I found the code just don't know how to make it work. Here is what I have so far.
SubMain()
IfActiveSheet.Size="E"Then
ActiveSheet.TitleBlock="G&T (E)"
ActiveSheet.Border="G&T Border (E)"
EndIf
IfActiveSheet.Size="B"Then
[code].......
I am having an issue when opening and saving files is very slow when I have a project active in the Project Navigator.
If I have an active project, and I open a file via Project Navigator or Windows Explorer, the process hangs for 15-20+ seconds at the 'Opening C:xxxxxxxxxxxxxxx.ac$' point, where it is creating the temporary file.
If I 'Close the current project' in the project browser and open the same file via Windows Explorer, the process takes less than a second.
We are using AutoCAD Architecture 2013 on machines running Windows 7. When multiple AutoCAD drawings are open on most machines in the office the icon in the Windows Toolbar shows multiple stacked AutoCAD images, and when you hover over those icons, all of the open drawings appear in thumbnail across the bottom. (This is a very nice feature!)
Unfortunately one machine in the office is not doing that with AutoCAD. That machine will show multiple icons and thumbnail previews for PDFs, Word files, etc., but not AutoCAD. Is there a setting that can be changed to make the thumbnail drawings for ALL open drawings appear when hovering over the icon in the Windows Toolbar? (That computer will show a thumbnail preview of the active drawing, but not all open drawings.)
I'm running Autocad 2013 Civil 3d, when I open a particular drawing the cursor turns to a circular shape as if it is downloading something, but it is actually not loading anything. This circular cursor does not let you do anything with the drawing, you just have to keep hitting esc until it gives you a fatal error message that says "FATAL ERROR: Cannot write to undo file (probably disk full)" and it kicks you out of autcad. How to get rid of this ciruclar cursor?
View 6 Replies View RelatedI have been using the sheet set manager with very few problems for years until - you guessed it - I was upgraded to Windows 7 OS v6.1 and Civil3D 2012 IDS.
Up until then, I was able to open layouts in different drawing files through the sheet set manager while in an open file. Now, I get an error message (see attached) and have to close the file I'm in to open the other.
I can open files through the regular file open command and have more than one open at the same time, but it takes away the convenience of using the sheet set manager to avoid having to browse to the desired sheet layouts when copyclipping sheet layout drawing elements from one file to another.
I have studied every sheet set system variable to see if that was the problem, but could not find an answer. I have the same problem in Civil3D 2010. It happens to new and existing sheet sets in both versions and sheet sets made before the Windows update.
The screen flickers when I move the mouse around an open drawing. I just applied the latest patch to Civil 3D 2010. It was not doing this before the patch.
Have Quadro 3500 video card. Updated the driver for that with no change.
Have a Logitech wireless mouse, M310. Up dated the driver for that with effect.
Changed to a wired mouse, no change.
Is there a setting in Autocad where I can set the refresh rate so that it does not refresh while moving the mouse. Or at least slow the automatic refresh rate down?
I create a drawing of an iPart, while doing so I have the iPart model open in the background. When placing a view on the drawing the active factory member is the default option, I have a bad memory so forget to tell Inventor that actually I would like to use a specific iPart member in this particular drawing view. I then spend a long time laying out and dimensioning the drawing. When complete, I create a second sheet and copy all information from sheet 1 onto sheet 2. I then double click on the main drawing view and change the model state to an alternative factory member. At this point I realise that the drawing on sheet one is based on the active factory member and start swearing.
The result of changing to a different member when the existing drawing is based on the active member is that ALL DIMENSIONS DISSAPEAR FROM THE DRAWING AND HAVE TO BE PAINSTAKINGLY REPLACED. At this point I will usually REDRAW SHEET 1 so that further sheets can be created quickly in the future by selecting an alternative factory member.
can I change the software defaults somewhere in the setup to prevent the 'active factory member' being displayed as an option in the first place?
In CS5 you could move an open photo window by click and hold and move the window to wherever you wanted without Photoshop being the active app in the forground. In CS6 you can no longer do this. You first have to click the photo/window which will bring Photoshop to the forground, then you have to click and hold again to be able to move the photo to wherever you want.
Is this a bug or a feature in CS6?
If it's a new feature or the way it's suppose to work, I vote to make it like it worked in CS5....this is not progress! Mac Pro running 10.7.
I've been putting up with this problem for a while. I have a certified 3D device with a driver version that is certified (Quadro 4000) but the active viewport boundary highlight is out of place. The white lines in this image are my viewport boundary highlight which is out of position. This only seems to happen when I turn off the viewport layer. If the viewport layer is on the highlight appears as expected.
Windows 7 Professional 64-bit - Service Pack 1
Intel﴾R﴿ Core﴾TM﴿ i7-3820 CPU 3.60GHz; 16 GB DDR3 Dual Channel RAM
nVidia Quadro 4000; AutoCAD Civil 3D 2013, sp1
All of my images open way too small in the Photoshop active work window. (CS6) Is there a way to reduce the overall size of the active window?
View 1 Replies View RelatedSince Edge only has rectangles and ellipses built in as available shapes, how to I/we work with polygon shapes and active mouseover areas INSIDE of these shapes and non-active mouseover areas OUTSIDE of the shapes?
Problem/symptom: when I import a polygon, be it any file format from from Photoshop or SVG from Illustrator, a rectangular border/background (transparent) gets applied, leading to this rectangle defining the mouseover area of the shape - and not the shape itself (be it a star or whatever).
WHAT I WANT: the very shape defines the mouseover area. How do I achieve this?? See examle below:
WHAT I DON'T WANT: how is is now:
if I open a drawing with DocumentManager.Open("drawing.dwg", false) and it is already open (or the user has no rights to write to it), the drawing is opened in READONLY mode without warning.
Is there way to check if DocumentManager.Open("drawing.dwg", false) will open the drawing normal or READONLY?
How do I get my Sheet Set Manager to open up each time I open a CAD drawing? I turned it off and can't remember how to turn it back on. I use command SSautoopen, set to 1 but doesn't alway work. Sometimes if I close AutoCad and reopen it I can got to drop down menu and click on .dst extension and it will open but if I close out of it it won't open again unless I restart AutoCAD. I thought I used a command from the Express Tool menu but can't find it.
View 3 Replies View RelatedI downloaded multi-batch as someone here said they like it for batch plotting. Once installed, however, it has changed a setting in AutoCAD. I can no longer open more than one drawing at a time. If I have a drawing open and try to open another drawing it asks me if I want to save the current open drawing.
I can not close a drawing either without exiting AutoCAD or trying to open another drawing. I un-installed multi-batch but it did not fix the problem.
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
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 RelatedI have survey points in drawing A. I want those points to be available for drawing B. How do I do this?
(Coming from LDD where points were project based not drawing specific).
I have autocad civil 3d 2008 in my pc. From last 2 days I got a different problem i.e. when I am selecting open / save command from File menu graphical file select explorer is not opening just message in the command window . Previously I used to select files using graphical file explorer.
View 6 Replies View Relatedhow to test to see if a drawing is already open inAutoCAD using VBA and if it to make it the active document?I have a VBA macro to open xrefs by by just picking them in the drawing butI need to test to see if the drawing may already be open to avoid openingthe drawing a second time in "Read Only" mode.
View 9 Replies View Related