AutoCAD Inventor :: Custom IProperties Not Updating In Drawing When Update Assembly Model?

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


ADVERTISEMENT

AutoCAD Inventor :: Update Drawing Properties From Model IProperties Automatically

Jul 1, 2011

I like to keep the properties of my drawing the same as those of my model. Currently I must remember to hit the "updat copied properties" button in the drawing to discard any old drawing properties and replace them with the properties from the model.

Is there any way to automate this task (perhaps on saving the drawing?) I presume an iLogic rule could be created in the drawing template, just not sure how to go about it.

View 7 Replies View Related

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 :: Custom Multi-Value Menu In Drawing IProperties?

Jul 10, 2012

how to make a multi-value drop down menu in drawing iProperties? 

I want to make a list with aluminum extrusion sizes where I can pick it's name from a list of names. Similar to the custom iProperties "Design State".

View 5 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 Inventor :: ILogic / Modify IProperties Of Model That Is Associated To Drawing View

Jul 11, 2013

I'm trying to do this with iLogic, and i'm not getting anywhere. What I need, is to be able get to the iProperties of an associated model that is referenced into a drawing file.  I want to make it easier to update the iProperties from the drawing file, without having to open the model file. 

Factory Design Suite Ultimate 2012
AutoCAD 2012 | Inventor Professional 2012 | Vault Professional 2012

View 2 Replies View Related

AutoCAD Inventor :: IProperties And ILogic - Transfer Custom Title To Drawing

Oct 26, 2012

I have a form that is loading automatically in my part model. where i write the part number, description, project and custom titles.

my questions are:

1 - when i write the part number i would like then when i click apply it opens the save box with the same part number.
2 - it's possible to check-in the file during the saving and keeping the file checkout?
3 -  i would like that some of the properties would be transfer to the drawing, like the description and the project (this two are from the part properties.
4 - transfer also for the drawing the custom titles to the custom i properties of the drawing as pre fill in.

View 1 Replies View Related

AutoCAD Inventor :: Drawing Not Updating To Assembly Changes

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

AutoCAD Inventor :: Not Updating Drawing Per 3D Model Changes

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

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

AutoCAD Inventor :: Updating Parts (IPT Files) After Modifying It On Assembly Drawing?

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

AutoCAD Inventor :: Update And Save Assembly Through ILogic In Drawing?

Jul 10, 2013

as a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.

In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table. 

doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
 
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.

View 4 Replies View Related

AutoCAD Inventor :: Open And Update Drawing From Assembly Via ILogic

Nov 12, 2012

The right click context menu on the top level assembly (on the model tree in Inventor) has the option of 'Open Drawing'.

Is there a way to do that via iLogic? Unfortunately I can't figure it out if there is. I would like to open and update the relevant drawing.

Also have tried it the other way around, that is to run my rues in the assembly from the drawing since the drawing is the parent. But I am not sure how to reference the assembly.

View 1 Replies View Related

AutoCAD Inventor :: Defer Update Of Drawing AFTER Assembly Has Been Revised?

Jun 27, 2013

Sometimes I need to revise an assembly/part and I forget to open the drawing first and check a few things before I do. Inevitably my B-Hole employees (that's right, you know who you are if you are reading this! ) don't constrain their section lines and I end up losing a whole bunch of annotations that I then need to put back.

Is there a way to defer the updates to a drawing outside of the document settings for that drawing? I need to open this up, tie down their section lines, attach the detail cuts, etc. then get it to update.

Inventor Professional 2013 (SP-2.3), Product Design Suite Ultimate
Desktop: Intel Core i7 3.4GHz, 16.0 GB RAM, Windows 7 Ultimate SP-1, 64-bit OS, (2) GeForce GTX 580 (331.81), Space Pilot Pro (3.16.1)
Laptop: Intel Core i7 3.9GHz, 16.0 GB RAM, Windows 7 Pro SP-1, 64-bit OS, GeForce GTX 780 (331.81), SpaceNavigator (3.17.7)

View 8 Replies View Related

AutoCAD Inventor :: How To Show The Model Parameters Into Assembly Drawing

Nov 12, 2013

I am working in one assembly. in that assembly i created all the part with using i part & same part i called in to the assembly & created i assembly. while creating drawing  i have facing problem to show the model parameters in to the assembly drawing table. How to link the model parameters in assembly parameters with using i assembly.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Model - Dimensions Of Assembly In IDW Drawing

Jul 2, 2013

I have a automated ilogic model that is then used within a 2D drawing, this 2D drawing then has dimensions on it referenced to the the model.

This model changes in its length the dimension associated with its length then changes but the dimension text then goes outside of the dimension boundary (does not stay central). Is there any code that can scan the dimensions and in effect tidy them up?

View 3 Replies View Related

AutoCAD Inventor :: Extract Rev Of A Model (part Or Assembly) From Drawing

Dec 7, 2012

I'm trying to extract the Rev of a model (part or assembly) from a drawing.  Since Inventor has independent revs for the model and idw I am trying to drill down and put the rev from the model referenced.  I got it to work for ipts and many iams using:

Dim oModelDoc As Document
Set oModelDoc = oDocument.Sheets(1).DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument

The problem I have is when the drawing only references an ipn presentation file.  The ipn ALSO has it's own independant rev!  I'm trying access the model the ipn references but cannot get it to work.

BTW, I do know about the ability to sync idw and ipt properties.  I have enable it for our template but we have a lot of legacy drawings that don't have this option selected.  I also haven't tested that method with an drawing that only references an ipn.

Code is below with offending section in bold:

' Find model (part or assembly) referenced by drawing if active document is a drawing
If oDocument.DocumentType = kDrawingDocumentObject Then
Dim oModelDoc As Document
Set oModelDoc = oDocument.Sheets(1).DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument

[Code]....

View 2 Replies View Related

AutoCAD Inventor :: Send Custom Properties From Selected Assembly View In Drawing To All Parts

Nov 4, 2013

I want to create a rule with CommandManager.pick who see the name of assembly and send a custom ipropertie to all parts of this assembly view in drawing, this is my none finish rule.

Dim doc = ThisApplication.ActiveDocument
Dim entity = ThisApplication.CommandManager.Pick(
SelectionFilterEnum.kDrawingViewFilter,
"SÉLECTIONNE UNE VUE")
modelName = IO.Path.GetFileName(ActiveSheet.View(entity.Name).ModelDocument.FullFileName)
PART = Left(modelName, 11)
EXT = Right(modelName, 3)
FIRST = Left(modelName, 3)

[code]....

I have the rule "SEND TO PARTS" in my assembly but i have this error message

MEMBER NOT FOUND. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

View 8 Replies View Related

AutoCAD Inventor :: Set Assembly IProperties Using ILogic

Jun 1, 2011

I wish to set the properties of an assembly using i Logic. I have the values of the properties in a part that is in the assembly. I wish to pass those values from the part to the assemblies i properties. I tried using the following code, but it gives an error saying it can not find the document "MyAssy.iam"
 
iProperties.Value("MyAssy.iam", ThisDoc.Path, "Part Number")=AssyNo

I'm not even sure that this is the way to do, but it's the only way I could think of to try.

View 9 Replies View Related

AutoCAD Inventor :: Modifying Custom IProperties In C#

Aug 11, 2012

I am using some code from the June 2010 "Mod the machine" posted by Brian Erkins.I keep getting an error in C# (express 2010), Please see attached screen dump.

I don't see any obvious difference in my code when compared to Brian's (in fact at one point I copied and pasted his code and still had the same error). Here is the

private void button1_Click(object sender, EventArgs e)        
{            
Inventor.Application invApp = null;            
invApp = (Inventor.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application");
Inventor.Document doc = invApp.ActiveDocument;            
Inventor.PropertySet customPropSet;            
customPropSet = doc.PropertySets["Inventor User Defined Properties"]; 

View 1 Replies View Related

AutoCAD Inventor :: Click On IProperties Of Assembly But It Is Grayed Out?

Jan 10, 2007

I am trying to click on the "Iproperties" of an assembly but it is grayed out. It is not in a library, it is checked out of the vault, there is no lock icon if I use Iassembly tools (which I just installed to try the unlock.

If I place it in a parent assembly, I can then access the "properties" but it is difficult to do that workaround and I cannot do an update on the mass properties unless I can access the "Iproperties".

Inventor 11 SP2 Build 344a
Vault 5.0 Build 11.1.145.0

View 4 Replies View Related

AutoCAD Inventor :: How To Get Iproperties Of The Selected Part Or Sub-assembly

Jan 19, 2013

I'm using Visual Basic 2010 Express and Inventor 2013. I can get the properties such as PartName, Description information of the all sub parts using below

Dim invDocs As Documents
invDocs = inv_App.Documents    
Dim i As Integer
Dim invDocument As Document
For i = 1 To invDocs.Count
[code].........           

Above code works perfect. But I want to get or change i property values of the selected part or assembly in the biggest assembly. I got below information:

Dim selSet As SelectSet
selSet = asmDoc.SelectSet
Dim compOcc As ComponentOccurrence
Dim obj As Object
For Each obj In selSet
compOcc = obj
'Debug.Print(compOcc.Name)
compOcc.Visible = False              
Next

But I do not know how can I get the properties of the selected part or sub-asm . How can I walk from "compOcc" to "invDocument.PropertySets.Item("Design Tracking Properties").Item("Description") "

P.S. I will check the selected part quantity. It must be only ONE! Control Code below:

Dim asmDoc As AssemblyDocument
asmDoc = inv_App.ActiveDocument
If asmDoc.SelectSet.Count <> 1 Then
MsgBox("You need to select only one part or sub-asm to change properties...!")
Return
End If

View 2 Replies View Related

AutoCAD Inventor :: ILogic Syntax For Searching In Excel And Update IProperties

Dec 17, 2013

I want a ilogic rule syntax for following process:

I have one excel sheet it consists around 5 sheets for Plate, Flats, Rounds, etc. When i am run the rule then it will ask and do the following:

Ask the thickness value.It will search thickness value in “D:LINUS KOTTEstock numbers.xlsx” in sheet 1If thickness value found then fill the stock number in iproperty(project tab-stock number)   

Here i am using different rules for plate, flat, round, etc.,

View 2 Replies View Related

AutoCAD Inventor :: Change Order Of Custom IProperties?

Apr 9, 2012

how to change the order of custom iProperties.  I would like to group like iProperties together to make editing a bit easier.

Windows 7 Pro, SP1
Inventor 2012 SP1

Due to the nature of our business, I am not permitted to attach any files showing models or .idw environments of any actual work-related components.

View 3 Replies View Related

AutoCAD Inventor :: Mass Custom IProperties Modification

May 18, 2012

Is there any easy way of adding custom Iprops to previously created parts and assemblies? A macro or something that could set up additional lines without having to go in and type them out all the time?

View 5 Replies View Related

AutoCAD Inventor :: Custom Iproperties Within Part File

Sep 18, 2012

we have a part file that has 2 custom iproperties in it.

Length and Width.

If I delete these properties its fine and the properties are removed.

However if I then save the file, the properties become available again.

View 3 Replies View Related

AutoCAD Inventor :: Adding Custom Iproperties With ILogic?

Nov 2, 2010

Is it possible to automatically add custom iproperties using iLogic?

I have a rule thats adds text to a propery, but when I run the rule in an old partfile i get the error:

"Can't find a property named DrawingNo"

Is there something like:

"Create iProperties.Value("Custom", "DrawingNo")"?

View 3 Replies View Related

AutoCAD Inventor :: Copy Custom Iproperties From One Part To The Other?

Mar 23, 2012

Copy custom iproperties from one part to the other - possible?

View 6 Replies View Related

AutoCAD Inventor :: Importing Custom Iproperties From Excel

Sep 5, 2012

I'm importing custom iproperties from an excel document into inventor using the code I've written below.  I've figured out how to bring up a dialog box to select the excel file I need, but I'm completely stumped when it comes to selecting the sheet within the file.  As it is now, I'm specifying the sheet in the code itself (Str. C).  My goal is after selecting the excel file from the dialog box, have ilogic list all the sheets within the excel file, then be able to select which sheet I need using a radio box, list box or some sort of prompted entry. 

DimfdAsOpenFileDialog=NewOpenFileDialog()
DimstrFileNameAsStringfd.Title="Open File Dialog"fd.InitialDirectory="C:"
fd.Filter="All files (*.*)|*.*|All files (*.*)|*.*"
fd.FilterIndex=2
fd.RestoreDirectory=True
[code]....

View 2 Replies View Related

AutoCAD Inventor :: Frame Generator / When Changing Member Type Does Not Update All IProperties

Nov 25, 2009

During some discussion with other uses of Inventor I was ask if I knew about a problem relating to Changing a member size in Frame Generator and the iProperties maintain the old members properties.

The basic problem is as follows:-You start with a simple frame, create all of the members save and then added to a drawing. The members frame come from the content centre which have been copied into a Custom Library to enable addition parameters to be added along with addition iproperties being automated such as DESCRIPTION.

Once the frame and associated members have been created and then save, if a user wants to change the size of the member inventor has to create a new part file and then inserts into the frame generator frame. However, I have found that if you review the iProperties of the new file the DESCRIPTION is the same as the one that was replace, however it was strange to see that the STOCKNUMBER and PART NUMBER was updated correctly. It seems to be only a problem with the DESCRIPTION property.

View 9 Replies View Related

AutoCAD Inventor :: Custom Drop Down Under Cost Center In IProperties

Dec 9, 2011

 I'm using 2011 and I would like to add a drop down menu under the cost center box so I pick from a list of processes we use for purchasing. Is it possible to add a drop down list there?

View 1 Replies View Related







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