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


ADVERTISEMENT

AutoCAD Inventor :: Form To Update Mass IProperties For All Parts In Assembly?

Sep 6, 2013

I would like to make a form that updates / creates custom properties for ALL parts in an assembly so that i dint have to go through them one by one.

Is there any sample code anywhere or a good code resource?

View 1 Replies View Related

AutoCAD Inventor :: Using ILogic To Retrieve IProperties Form Model Into Drawing?

Jun 7, 2012

I'm trying to put a little iLogic rule in my drawing template which triggers as soon as the drawing is opened.  The rule asks the user whether the component he's making a drawing of needs to be painted or not.  If it gets painted, the paint area (one side only or both sides) needs to be calculated.  The result of this is then referenced by a text note in the title block.

I can do the radio boxes with the questions, as well as their If loops, but only when I'm in the model.  Due to our, admittedly inefficient workflow, we never have time to specify "minor details" like paint area or spec during modelling, only when we get to drawing level.  I'd like to put the iLogic rule inside the drawing template.  I'm having trouble referencing the iProperties of the model from within the drawing's iLogic interface.

What I have so far is this rule, which I can run inside the model:
 
'set dummy variable equal to total areatotal_area = iProperties.Area'start radio box with questionsText1 = InputRadioBox("Will this component be painted?", "Yes", "No", Text1, Title := iProperties.Value("Project", "Description"))If Text1 = True ThenText2 = InputRadioBox("How many sides will be painted?", "Both sides", "One side only", Text2, Title := iProperties.Value("Project", "Description"))If Text2 = True TheniProperties.Value("Custom", "Paint Area") = total_areaElseIf Text2 = False TheniProperties.Value("Custom", "Paint Area") = total_area/2End IfElseIf Text1 = False TheniProperties.Value("Custom", "Paint Area") = 0End If

adding a line or two so that I can run the same rule, but from the drawing.

View 9 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 Map 3D :: Auto-Refresh Layer After Inserting Feature In PostgreGIS Via FDO Provider

Sep 6, 2013

I am editing a Postgis table using the OSGeo FDO Provider for  PostgreSQL/PostGIS in AutoCAD Map 3D 2012. As i have noticed that the serial type of the ID field does not give an automatic value to de ID field after inserting a new feature in the layer and after checking in (AutoCAD Map seems not to understand de nextval(sequence_name) function in the DEFAULT property of the ID field(thats how the autonumeric numbers work in PostgreSQL)), i am using a database side trigger which gives the next sequence value to the ID field of the new record. The trigger is launched BEFORE inserting a new record.

The problem is that after executing the trigger, in AutoCAD Map all the fields are still shown as null, and they are not displayed until i manually refresh the layer.

Is there any way to auto-refresh the layer after checking in a new feature?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Code Part Iproperties To Custom Iproperties

Sep 19, 2013

I was looking for some iLogic Code for Inventor 2013 that would cycle through all the parts in an assembly grabbing the quantity of each part and setting it equal to the custom property "Qty" of each part.

Having a little trouble creating the for each loop and setting reference to each part without referencing each part by specific name.

View 6 Replies View Related

Photoshop :: How To Disable Linked Smart-object Auto-update / Refresh

Nov 27, 2013

Working in the CC3D features, I am constantly making changes to my bump map. Every time I step-backwards, or make a significant change to the bump texture (smart object?), CC auto-saves the layer. This specific file is a very very large document (3 gigs in the bump texture layer alone), and the 3D layer has lots of lights and is very complex.

This auto-refresh/update really bogs down the time that it would take me to make my changes. I have a very fast machine (I know it's fast, I dont need to list my specs), and I have all shadows disabled.
 
How do I disable linked smart-object auto-update/refresh?

View 3 Replies View Related

AutoCAD Inventor :: Form Picture - Parameter Driven Picture On A Form

Apr 10, 2013

I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.

I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...

Is there a particular reason why the Picture Parameter only can be a text parameter?

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

[URL]

View 3 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

4 GB RAM

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

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

230 GB hard drive, 136 GB free space

View 5 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 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.

[URL]

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 )

[URL]

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 Inventor :: ILogic - Replace Or Refresh Embedded Excel Spreadsheet

Sep 20, 2013

For Creating my own templates i want to use iLogic and embedded Excel-Spreadsheets. The embedded Sheet has its own data, but i want to create a rule to refresh the data from an external Excelsheet.

For now i use the following rule:
 
For I = 65 To 90 '65=A 90=ZBuchstabe = Chr(I) GoExcel.CellValues("3rd Party:Embedding 1", "Platte", Buchstabe & "1", Buchstabe & "999") = GoExcel.CellValues("G:KonstruktionVorlagenMaterialgrunddaten.xlsx", "Platte", Buchstabe & "1", Buchstabe & "A999")Next I

it works well, but wont insert a new single-sheet or refresh formats, i have to add the same code for each sheet. And its REALLY slow.

Is there a possibility to refresh or replace the whole embedded file via a simple iLogic-rule?

View 1 Replies View Related

AutoCAD Inventor :: 2013 Materials Refresh Styles / Will Not Pull In Updates

Mar 17, 2013

in versions of inventor prior to 2013 we were able to quickly and easily refresh a part styles, and thereby obtain the master information for materials, colours and any other style.

i find that now, with the new system of managing materials and appearances that if i need to update a part to reflect the material assests that reside in my materials and appearance library that i have to:

1. open the part, then set the part material to a material other than that i wish to update, then

2. delete the local/ document asset of the material i wish to update, then,

3.  assign the material from my material library to the part (to get the library assets to come through to the part).

it seems ridiculous that we have to delete local materials or colours prior to obtaining an updated material or appearance to get the new data into the part.

(the refresh styles command actually appears to be calling in the updates however the updates seem to treat the document assets as the most important. even when managing materials and appearances, the local/document asset seems to take priority over any library asset. again this is different to pre 2013, and is frustratingly slow to work around. all that used to happen in 2012 and prior is we would get a warning that the local style would be overwritten with updated style data = very quick and easy

View 8 Replies View Related

AutoCAD Inventor :: Refresh Content Center Pipe Fittings Error

Nov 3, 2011

I have created custom pipe fitting categories in my server based content center. I copied the standard familes over to a custom library and modified them. After updating the family tables, and hitting refresh in an assembly, the updates fail.

This is the error I get:

Failed: Standard is owned by Tube&Pipe. The part must be refreshed by Tube&Pipe application.

These parts were placed via "Place from content center" as I do not have the tube & pipe addin (2011 suite, not pro)

How do I get these compnonents to update / refresh??

View 4 Replies View Related

AutoCAD Inventor :: Set IProperties Upon New / Save

Apr 10, 2013

I want to make popup the i properties windows to fill or change in 2 ways:

» when creating a new ipt, iam and idw
» just before saving all 3

the properties I want to validate are

-  the title not filled
- if there is more than one line filled in comments

View 1 Replies View Related

AutoCAD Inventor :: IProperties - Opening Using VBA

Mar 7, 2013

I am opening, using VBA, the iProperties "Pop Up" box, using the following code....

ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute

If it is possible to open the iProperties "Pop Up" box at a specific Tab, for example, "Physical" or "Status" etc?

View 1 Replies View Related

AutoCAD Inventor :: Part IProperties From IDW

Dec 5, 2012

Is there any way to add an "iProperties" item to the context menu in the drawing environment, so that I can select a part on the drawing and access its iProperties, instead of having to "Open, edit iProp, Close," for each individual part? - Using Autodesk Inventor Professional 2012

View 2 Replies View Related

AutoCAD Inventor :: Same Part Different IProperties

Jul 3, 2012

Any way of having 2 files with different file name but identical designs what automatic updates the other one?

I need the same valve design with different materials, stock number and part names but I would like to make sure that both files are always updated to latest rev. Without having to remember to do it my self every time.

We are using vault?

View 4 Replies View Related

AutoCAD Inventor :: IProperties Dialogue Box

Jul 9, 2012

Is it possible to create a new TAB in the standard iProperties dialogue box for Inventor Models and Drawings?  I want a completely new TAB to hold unique company information fields without having to create Custom Property fields.

View 2 Replies View Related

AutoCAD Inventor :: How To Delete Value In IProperties Using VBA

Aug 26, 2013

While in assembly, i would like to select a subpart and be able to clear or delete the value of ex description without opening the part file.

I can delete properties in custom prop but i cant do it in description....

I've use design tracking properties but to no avail....

View 3 Replies View Related

AutoCAD Inventor :: Retrieve IProperties From IDW To IPT

Dec 20, 2013

In the past we filled in our changes, we did on the part, in the iProperties of the IDW. In the IDW we use some Custom iProperties for this. That's not usefull because you want this data in the 3D-model. Now I have written some code to automate this, which works really great. This code works in the IPT as well as the IDW. But what I want to achieve is: When my IPT is the active document, I want to read out the iProperties from the IDW to check if there is already filled some of these properties, because I have to deal with 'old' documents as well.

So my basis question is: How can I read out iProperties from an IDW into the IPT. I have found lots of solutions which go the opposite direction, IPT -> IDW. I want IDW -> IPT.

View 9 Replies View Related

AutoCAD Inventor :: How To Get Area In IProperties

Jul 26, 2010

I want to get out the Area in Physical Tab in i Properties, after that, I will show it out in drawing by add general notes

This is my program:

[code]
.....................

Dim oBlockPart As PartDocument
oBlockPart = mApp.ActiveEditDocument
..................
 
 Dim oGeneralNotes As GeneralNotes

View 7 Replies View Related

AutoCAD Inventor :: Add To The IProperties Dialog?

Aug 9, 2012

I need to add a "Gauge" value to show up in the iProperties dialog box under the Project tab, but I don't know how or if I can.

View 9 Replies View Related

AutoCAD Inventor :: IProperties And BOM Customization

Aug 15, 2012

I am now looking to work with custom iProperties that will populate our company's new BOM standard.  I have not done much with regards to customizing a BOM (I've always used the generic fields).  Now my boss has come to me and wants to use the following headings for our BOM....

REF ID, QTY. , DESCRIPTION, SHAPE, SIZE, LENGTH, MASS, TOTAL LENGTH, TOTAL MASS, COMMENTS, REF. DWG.
REV., REV. DATE

While I understand some of these fields will require the user to manually type information in (Comments and Ref. Dwg.)  The others, from my understanding, can come straight from iProperties or Parameters.  I am running INV Pro 2013. 

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved