AutoCAD Civil 3D :: Force Refresh Is Not Working?

Dec 10, 2011

I am trying  to make a simple app using .NET classes.

I made a simple Windows.Form in which are check boxes (on for each layer of the CAD drawing).

Just to set the visibility of each layer. Everything is working fine, but I have a little problem with refreshing a drawing.

Changes of visibility settings are applied  after a form is closed.

I need the drawing to be refreshed after every check box check change.

 I enclose a method with handles check boxes changes. 

private void LayerCheckedChanged(object sender, EventArgs e)
CheckBox s = sender as CheckBox;


View 6 Replies


AutoCAD Civil 3D :: Does Contour Labels Refresh After Modified Setting

Mar 11, 2013

just a general question regarding contour labelling.  Does it refresh automatically after I modified the labelling setting?  My experience is no. Here is what I did, given an existing surface.  Go to Surfaces -> Add Surface Labels -> Contour-Multiple at Intervals, I gave a decent interval, labels the entire surface with a few runs.  Later on I decided to say hide the contour label lines, so I would go to Settings ->right click on Surface->Contour Labelling Defaults->set Display Contour Label Line to False, click Apply.  So this setting will affect all the contour labelling created thereafter, but does it change the contour labels that I already created?  If not, how can I change those labels?

View 3 Replies View Related

Premiere Pro :: Create A Sequence Program Stops Working And Force Quits

Jan 21, 2014

When I try to create a sequence the program stops working and force quits, I have a school project due!!!

View 2 Replies View Related

AutoCAD Civil 3D :: Use Pressure Pipes For Force Main

Aug 27, 2013

I am wanting to use pressure pipes for force main. If you do how do you add an air release manhole?  I tried to use an appurtenance part as an air release manhole. If I set the plan display to use a block it skews the block. For the appurtenance part I do not see that the pipe inverts are available for the pipe label. I thought pressure pipes would be for water mains and force mains. So, I am wondering what others do for Force main Pipes?

View 3 Replies View Related

AutoCAD Civil 3D :: Force Grading Object To Polyline Boundary?

Mar 4, 2013

I am working on a complex industrial site.  And I would like a constant grade of 3.00% from my road intersections to the edge of curves.  I know if I used a corridor, I'd be able to tell the grading to project ot the edge of the road/curve. 

I'm just wondering if I can tell a grading object to project to a polyline or feature line along a intersection curve?  There are many reasons as to why I'm not using corridors for this project, but I don't want to get into that.

View 6 Replies View Related

AutoCAD Civil 3D :: How To Force Dims To Show Feet And Inches

Feb 27, 2012

I'd like to show feet/inches with arch units even when i have a whole number measurement. right now the dim for 16' shows as 16' only. i want it to show as 16'-0"

View 3 Replies View Related

AutoCAD Civil 3D :: Model A Force Main With Several Vertical And Horizontal Bends?

Sep 5, 2012

I am trying to model a force main with several vertical and horizontal bends.  Getting the network set up and drawing in the pipe segments with the styles is a sinch, what I am having trouble with is modelling the horiz and vert bends to show up both in plan and profile view.  I have done many sany and storm profiles but this is a first time with a force main.  Does Civil 3d have the capability of modelling these or is this more of an MEP type task?

View 4 Replies View Related

AutoCAD Civil 3D :: Force Corridor Rebuild Even If It Thinks It Is Current - 2014

Oct 23, 2013

How can you force the rebuild of a corridor in C3D 2014 even if the corridor thinks it is up to date? (no yellow exclamation shield icon).

We have .NET subassemblies that react to changes in the location of objects in XRef'd files.

In C3D 2012 when we changed the XRef'd objects position, we would right click the corridor and select rebuild and the subassemblies would rerun (no matter what).

In C3D 2014 if you select rebuild, the corridor does nothing if it thinks nothing has changed.

View 5 Replies View Related

AutoCAD Civil 3D :: Force Table And Table Text Height To Stay Constant Despite The Scale?

Feb 23, 2012

Is there a way to force the table and table text height to stay constant despite the scale? I can do it for Point Label Styles with an Expression. But in 2011 there is no way to build an expression for a table style.

I want to create tables in the drawing where the points are and then plot them from a drawing they're Xrefed in to. The tables are too small but zooming in doesn't make them any bigger because the scale of the viewport changes and they adjust.

View 4 Replies View Related

AutoCAD .NET :: Refresh Drawing After Block Modification

Nov 26, 2013

My code mirrors a selection by either the x-axis or the y-axis. It is working fine. Except, the drawing shows the result, when I move my cursor to the active dwg.

How can I refresh my drawing, direct after modification of a block? I use the code below to mirror a selected block by a button on a docking pallette:
private void btn_Vertical_Mirror_Click(object sender, EventArgs e){(new Modifikation()).Mirror("v");}
the code, which is called is:
public void Mirror(String axis = ""){//---------------------------------------------------------------------------------------------------------------------------------------Document dwg = Application.DocumentManager.MdiActiveDocument;Database db = dwg.Database;Editor edt = dwg.Editor;//---------------------------------------------------------------------------------------------------------------------------------------try{Auto

View 6 Replies View Related

AutoCAD Architecture :: Tool Palettes Will Not Refresh?

Dec 18, 2013

When I start AutoCad and also if I try to select the Refresh icon on the Pallett, I get a pop up that says "There was an error while refreshing.  The palette could not be refreshed"  Could there be a path that is broken, if so where would it be?

View 2 Replies View Related

AutoCAD Inventor :: Vault Files Won't Refresh

Oct 2, 2013

I search for a file in Vault 2014 and find it needs refreshing i.e. the double red arrows icon in "Vault Status" column. I hit the refresh button in the ribbon and the file still has the double red arrows icon and doesn't appear to refresh.

Inventor 2014?

View 1 Replies View Related

AutoCAD Inventor :: Refresh Sheet After IProperty Changes

Dec 4, 2012

is there way to refresh sheet of drawing when an iProperty is changed trough API? When I change for example revision Number, the sheet still show old number. The value is changed, because if I open the iProperty dialog, there is new value and also when iProperty dialog is close then the sheet (title block with this property) is immediately correctly updated. I know that I can use ActiveSheet.Update method, but this update whole sheet and it take long time. There nust be something better because dialog iProperty doesnot update whole sheet and it is vvery quick.

 Dim oISI As Inventor.PropertySetDim oDrw As Inventor.DrawingDocumentSet oDrw = ThisApplication.ActiveDocumentSet oISI = oDrw.PropertySets.Item("Inventor Summary Information")oISI.Item("Revision Number").Value = "test"oDrw.ActiveSheet.Update ' I would like to replace this line, this take long time


View 3 Replies View Related

AutoCad 2D :: Refresh Memory On Ordinate Dimensioning?

Jul 26, 2012

I haven't done this in several years, and my notes are apparently incomplete. Enclosed is an image of the type of ordinate dimensioning that I want, and also my faulty notes. Maybe someone here can add the missing pieces. When I follow my notes, for some reason the UCS is displayed, whereas in the past it wasn't. I am using Version 2000 if it matters.

Notes: Tools/New UCS/Origin this yields small selection square select top right hand corner, for the zero point, then from the Tool Bar: Dimension/Ordinate, to mark the corner with zeroes.Image00256.jpg

View 1 Replies View Related

AutoCAD Inventor :: Display Randomly Freezes And Won't Refresh

Feb 8, 2011

Anyway, I just updated to the Factory Design Suite Advanced package for 2011 which, of course, includes Inventor.  I have downloaded and installed all updates, service packs and hotfixes I could find btw.  What happens is I'll be working in Inventor on a solid model of ANY size (even a single part) and with absolutely no warning, the display window will freeze up and won't refresh.  What's really weird though is that Inventor itself is not locked up.  I can click on any of the buttons or any of the items shown in the browser as though the program's running normally.  I can check the task manager and it shows Inventor to be running normally.  The memory status bar in Inventor shows lots of available memory.  I can even hover over the display window in the area where the view steering wheel is located and the icon will change appearance as though it's working normally.  I can even save the file.  If I close the file, it responds like normal and goes back to the default screen.  If I try to open ANY file after that, however, the screen will not refresh or show me the file I opened, even though everything else works fine and the program isn't frozen.  The only way to restore full function is to completely close and reopen Inventor (on average I have to do this about once an hour).  Btw, I'm also working in a local directory stored on my hard drive, not a network.

My first inkling is that it's a graphics issue but I have played with all the display settings to no avail.  I ran a diagnostic on the video card and Inventor says that I'm running an Autodesk Certified driver.  All the specs are within reason I think.

My workstation specs:

Dell Precision M4500 laptop

Intel core i7 processor, 2.67 GHz


Windows XP Professional SP3, 32-bit, running in 3 GB mode

NVIDIA Quadro FX 1800M, 1 GB graphics card (just updated the driver change)

230 GB hard drive, 136 GB free space

View 5 Replies View Related

AutoCAD .NET :: Refresh Drawing When Modal Form Is Running?

Jan 3, 2012

Is it possible to refresh drawing content when modal form is running?

I placed sample project in attachment.

There is simple form with only one button.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Class1.DrawLineOnScreen() End Sub
After button is pressed, application prompting user for picking 2 points, and draw a line (based on picked points).
Public Shared Sub DrawLineOnScreen() Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor Dim pFirst As PromptPointOptions = New PromptPointOptions("First point: ") Dim rFirst As PromptPointResult = editor.GetPoint(pFirst) Dim pSecond As PromptPointOptions = New PromptPointOptions("Second point: ") Dim rSecond As PromptPointResult = editor.GetPoint(pSecond) If rFirst.Status = PromptStatus.OK AndAlso rSecond.Status = PromptStatus.OK Then Dim line As Line = New Line(rFirst.Value, rSecond.Value) Dim tr As Transaction = Application.DocumentManager.MdiActiveDocument.TransactionManager.StartTransaction Using tr Dim modelSpace As BlockTableRecord = tr.GetObject(Application.DocumentManager.MdiActiveDocument.Database.CurrentSpaceId, OpenMode.ForWrite) modelSpace.AppendEntity(line) tr.AddNewlyCreatedDBObject(line, True) tr.Commit() End Using End If End Sub
Problem is that line had been added to transaction (to Model Space block table record) but nothing change on a drawing. Line will appear on a drawing after closing the form.

In opposite situation, without using modal form (only console) everyting works fine.
<CommandMethod("DrawLine", CommandFlags.Modal)> _ Public Sub DrawLine() Class1.DrawLineOnScreen() End Sub

View 2 Replies View Related

AutoCAD Inventor :: Virtual Memory Counter Won't Refresh

Jan 3, 2012

I'm currently using Inventor Professional 2012, and have been experiencing problems with virtual memory usage.  In past versions of Inventor, the small bar graph counter at the bottom right-hand corner of the screen (Virtual memory counter?  Not sure what to call it...) would "re-fresh" after closing a model, drawing, etc. (i.e. Once closing the file, the counter would change from yellow to green, bringing the virtual memory usage back to zero).  However, this isn't happening with 2012, and I'm not sure if the problem is the way Inventor was installed onto my workstation, or if it's a problem with the hardware.  A temporary solution has been to shut down Inventor when the bar graph gets too far into the yellow range (or red), and then starting up Inventor again.

Specs for my workstation are as follows: Windows 7 (32-bit), processor is Intel(R) Xeon(R) CPU W3503 @ 2.4GHz 2.39GHz, 3GB RAM.

View 3 Replies View Related

AutoCAD Inventor :: Unable To Refresh Standard Components

Jan 10, 2013

I have some assemblies with standard components inserted from Content Center which I have published.

After some changes I do on some of them within CC, I can't refresh those that are already placed in assemblies. The window that displays the components out-of-date won't appear. Only the message precedes the appearance of this windows is shown and that's it, nothing happens.

For new Assembly I don't have this problem.

View 1 Replies View Related

AutoCAD Inventor :: Failure To Refresh Model Tree?

Jun 10, 2013

failure to refresh Model Tree after switching configurations - app restart required

We have a user who is getting this message several times per day and must restart his PC.  He is the only user of the Inventor Vault product using 2013.  We have redone his laptop and and given him a clean laptop with a fresh install of AutoCAD.

View 3 Replies View Related

AutoCAD .NET :: Programmatically Refresh Layer Usage Information?

Oct 12, 2010

In C# I noticed that when I loop through the LayerTableRecords in the LayerTable some of the layers in the drawing do not show up.  If I look at the layers in the UI it shows the missing layers with a grey icon for their status while the ones that it does detect have a blue icon for their status.  The status has to do with which layers that the drawing believes are in use.  In the UI you can press a refresh button and this will fix the problem.  I want to know how I can fix this through the .NET API, COM API, or command line.

View 7 Replies View Related

AutoCAD 2010 :: Screen Refresh / Dialog Box Disappearance

Feb 8, 2012

Why do the dialog boxes and right click menus disappear underneath AutoCAD 2012?  It does not happen every time, only most of the time.  I can roll the mouse pointer over were the box or menu is supposed to be and some of the buttons and textboxes will reappear but not all.

View 3 Replies View Related

AutoCAD Inventor :: VB Form Auto Refresh Iproperties?

Oct 8, 2012

I'm creating a VB.exe (Visual Basic 2010 Express) tool that displays iProperties for Inventor using a running session of Inventor. How do I automatically refresh the display on the form when you switch the active inventor document tab within Inventor?

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 4 Replies View Related

AutoCAD Inventor :: Refresh Previous Rule Before Next One Starts?

Jul 9, 2012

Is there some syntax that would refresh a previous rule before the next one starts?  I have a file where the constraint is not turning on when it is supposed to, but all I have to do is refresh the rule and it works.


View 9 Replies View Related

AutoCAD Inventor :: Refresh Vault Status ( In VaultAddin ) Via API

Jun 20, 2013

I´m working on an addin that needs the vaultAddin ( Inventor Vault / InventorVault.dll ) to update it´s vaultinfo via API.

Since the vaultaddins browserpane.control is an activeX control I can´t access it, and the addin has not implemented a hook to the browserpane.refresh() or browserpane.update() ( causes a crash )

So how do I refresh the vaultAddins information on "what´s actually going on in the vault" through API ?

It seems like I "just" need a reference to the same eventhandler the "refresh vault status" button is calling, but that might be wishfull thinking..?

( C#, VS2012 )


View 2 Replies View Related

AutoCAD Inventor :: Refresh File Versus Revert To Latest

Oct 14, 2013

difference between the "Refresh File" and "Revert to Latest" commands in the Vault browser within Inventor 2013?  We just started using the Vault Collaboration 2013 flavor of Vault. 

View 4 Replies View Related

AutoCAD Inventor :: Refresh Table Info From Excel File

Mar 21, 2012

I have a general table in my engineered print. It consists of basic columns with text. How can i have Inventor refresh the data if i change the Excel without having to delete and re insert a table ?

Autodesk Inventor Professional 2011

View 1 Replies View Related

AutoCAD Map 3D :: 2012 - Refresh Access Database ODBC Connection?

Feb 17, 2012

Here is the Scenario, Win 7, 64 bit, Office 2010, and yes I have installed 64 bit drivers, with Map 2012.

I have an Access Database with Water and Sewer information.  I connect thru FDO and every thing is great.  I make a change or add something to the Access Data Base and I don't see the change until I disconnect and then re-connect?  I was under the assumption that this was a live connection? Is there a way to refresh the connection without having to dis-connect and then re connect?

View 1 Replies View Related

AutoCAD VB :: Force New Toolbar Location With VBA Programming?

Dec 12, 2011

I had made a short function I AutoCAD that generates a user definable toolbar. The toolbar is placed using the

acToolbarDockLeft, acToolbarDockRight , acToolbarDockTop , acToolbarDockFloating

Methods of which I chose acToolbarDockFloating all nice but because floating hasn’t been saved in a workspace (yet) means that the toolbar is placed in the top left corner. To cut a series of tests and playing round with lisp and scripts and the likes I'm after a way of simply forcing the new toolbar in the dead centre of the screen using VBA.

I have googeld and the likes but cant find anything that resembles like

ObjToolbr.Dock acToolbarDockFloating 200, 200

(Presuming the location of the toolbar I want to force is 200 by 200)

View 1 Replies View Related

AutoCAD .NET :: Force Modeless Form To Keep Focus?

Mar 20, 2011

how I could force a modeless form to keep focus.  There is a sample on the ObjectARX docs but I can find anything for Dot Net.

View 3 Replies View Related

AutoCAD LT :: Way To Force Someone To Save As Immediately After They Start A New Dwg?

Oct 20, 2011

Our company is using 2012Lt and has a couple (3) regular templates we use. The problem is I have to keep going back to the templates and clean them out (txt styles, layers, etc) and what I suspect is happening is that someone starts a new dwg does some work and the auto save kicks in before they "save as".

Question, is there a way to force someone to "Save As' immediately after they start a new dwg?

View 3 Replies View Related

AutoCAD .NET :: How To Force Command Line Focus

Jun 28, 2012

How does one programmatically set the command line to have keyboard focus?

I'm programmatically setting an active/focused PaletteSet's visibility to false.

_paletteSet.Visible = false;

I would like to follow this line with code that sets the command line to receive focus.

The PaletteSet for other reasons has KeepFocus = true.

I've tried various Win32 APIs (SwitchToThisWindow, SetForegroundWindow, SetActiveWindow) to no avail.  I also tried SendCommand() and SendStringToExecute(activate=true,..) , etc.

I imagine there's a way to do this with the native APIs.

View 4 Replies View Related

Copyrights 2005-15, All rights reserved