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
ADVERTISEMENT
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
Mar 23, 2012
Copy custom iproperties from one part to the other - possible?
View 6 Replies
View Related
Sep 24, 2012
I want to import some of the iproperties of one ipt file into an iam file.how to do it.
IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit
View 9 Replies
View Related
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
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
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
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
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
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
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
Jan 28, 2013
I would like to be able to add iproperty values to a derived part from the assembly..!
Breaking it down..:
When i run the rule, it creates a derived part from the Assembly i have open.
The iproperties from the assembly should be copied to the new Derived Part. or just set direclty from the rule, doesn't matter...
View 9 Replies
View Related
Feb 26, 2013
Is there a api to read part number value in properties "Project Tab" for a drawing document?
View 2 Replies
View Related
Sep 26, 2013
How to add a virtual part from an excel list to assembly using vb.net plugin. I`d like to know how to change i Properties of the virtual part through vb.net.
The iLogic code that I would typically use is:
Dim occs As ComponentOccurrencesoccs = asmDoc.ComponentDefinition.OccurrencesDim identity As Matrixidentity = ThisApplication.TransientGeometry.CreateMatrix
Dim virtOcc As ComponentOccurrenceIf v_qty >= 1 ThenvirtOcc = occs.AddVirtual(sVirtPart, identity) Try iProperties.Value(sVirtPart & ":1", "Project", "Description") = oProp1iProperties.Value(sVirtPart & ":1", "Summary", "Title") = oProp1 Catch End Try.......
so for the plugin I need to re-write this
Dim _invApp As Inventor.ApplicationDim occs As ComponentOccurrencesoccs = asmDoc.ComponentDefinition.Occurrences
Dim identity As Matrixidentity = _invApp.TransientGeometry.CreateMatrix Dim virtOcc As ComponentOccurrence If vp_qty >= 1 Then virtOcc = occs.AddVirtual(sVirtPart, identity) 'Try ' iProperties.Value(sVirtPart & ":1", "Project", "Description") = oProp1 ' iProperties.Value(sVirtPart & ":1", "Summary", "Title") = oProp1 'Catch 'catch error when oProp1 = nothing 'End Try
How should I re-write the text in bold , so it works?
View 4 Replies
View Related
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
Apr 18, 2013
how could I synchronize my drawing with the referenced part?
I have a "User Defined Propertie" called "RBMATNO" in the part and in the drawing.
View 3 Replies
View Related
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
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
Oct 23, 2013
I have two part files: Part A and Part B. Part A contains a sketch block, Block A, which will be used as a basis for Part B.
I derive Part B from Part A using a "Derived Part" to bring in only the sketch block (Block A) from Part A. When I do this, Inventor sets every dimension in Block A to "Export" and creates a custom iProperty for it. Then the Custom iProperties list in both Part B and Part A is cluttered with every dimension from Block A.
Is there any way to prevent it from creating all of these custom iProperties?
Inventor 2013
View 2 Replies
View Related
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
Nov 21, 2012
I am trying to export a user parameter that is a text string to a custom I property. I am able to export other parameters to custom properties that are numarical values. I export check box is missing on the text user parameter.
Is there a way to acomplish this with I-logic?
View 5 Replies
View Related
Nov 2, 2011
I am using ilogic in Inventor 2011 to update my iproperties when I save a .dwg file. I am having problems with some custom iProperties I have created that are of the type 'number' and are initially set to 0 (zero). After the iLogic rule has run and the user has entered a numeric value the type of the custom iproperty has changed to 'text'.
The ilogic code I am using is:
If iProperties.Value("Custom", "Nominal ID") = 0 Then
iProperties.Value("Custom", "Nominal ID") = InputBox("Enter The Nominal ID (Enter 0 if no value is available)", "Nominal ID", 0)
Custom_iProp_Nom_ID = iProperties.Value("Custom", "Nominal ID")
End If
I am using Vault 2011 and would like to map this property to a numeric property so I can perform <= and >= searches.
View 2 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
Aug 25, 2012
Any way to use iLogic to create custom iProperties from the cells in an Excel spreadsheet (both text and numbers) for a .dwg template. The only thing even close has been a user who already knew how to do it and was having a different problem. I am using Inventor 2012 and Excel 2003 and have very little experience with VB. I currently have a family of assemblies, consisting of two parts linked to an Excel spreadsheet to control the various parameters for each variation of the assembly.
I need creating an iLogic rule that will:
Go to a specific tab (I have four different tabs/worksheets) in an Excel spreadsheet.
Make a specfic row of that worksheet the current row based on the part number used to generate the models of the assembly shown in a .dwg.
Use the contents of a cell in that row (text or numeric or a combination of both) to generate a custom iProperty for the .dwg template.
Use the custom iProperties to fill in the title block of the template.
View 4 Replies
View Related
Jun 13, 2013
When you do a Save As or Save Copy As in Inventor the part number in the iProperties is automatically updated to match the new filename. I would expect the Document.SaveAs method in the API to act in a similar way. However I found out that this is not the case.
SaveAs: Document.SaveAs(filename, False) does not update the part number. The new part will still have the same part number as the original part. This can give problems since in the BOM parts with the same part number are interpreted as the same physical part.
SaveCopyAs: Document.SaveAs(filename, True) does work as expected and the part number will update correctly.
Is this a bug in the API? or is there a reasonable explanation for this?
Inventor 2013 SP2
View 5 Replies
View Related
Feb 18, 2013
I've occasionally run into a problem where when I right-click at the root of the browser tree and select iProperties, the dialog will not show. The application acts as if the dialog is active (in particular, Windows makes an annoying ding every time I try to click somewhere on the Inventor UI) but I cannot see it. If I recall correctly, this only affected some files, and I could usually get around it by opening the dialog from the main menu rather than from the browser.
Now I am experiencing something similar with the Derived Part dialog. After I select a part file to derive from, the dialog for selecting individual elements never actually appears on the screen, but Inventor seems to think it's there, as the part I am deriving from is displayed in the viewport and the browser tree is locked out. Again, it seems as if the dialog is active but invisible: If I press Enter, I get a derived part, and if I press Escape, the preview disappears and nothing new is put in the browser. Of course, I can't choose which elements of the base part I want to derive from. Right-clicking the derived part entry in the browser and selecting "Edit derived part" produces the same result -- evidently, an invisible dialog box.
I am running Inventor 2011 SP2.
View 3 Replies
View Related
May 16, 2013
When using Inventor with Vault, we have a problem when categorizing custom content center parts in Vault. In short, custom content center parts are incorrectly categorized as "Content Center" and automatically released - as there is no property that we can use to identify these files.
I need iLogic code to trigger when custom content center files are created/saved, wich adds the following custom iproperty "IsCustomContentCenter=True".
View 1 Replies
View Related
Sep 13, 2012
I use inventor 2012. In some projects the cc parts cannot be saved as a custom part (error message: Unable to create component), but in some project it works. I checked all projects settings are same.
View 2 Replies
View Related
Sep 30, 2013
I'm trying to figure out how to create an iLogic rule that would create a Custom iProperties and put in what version of Inventor the file was last updated with.
View 8 Replies
View Related
Apr 10, 2012
I've some user-defined iProperties in my idw-file. As soon as I set the file to "read-only" (via explorer RMB->properties) these iProperties are not shown on the drawing sheet when i open the drawing. ow to abandon this effect?
View 3 Replies
View Related
Dec 22, 2011
I search a way in a Csharp program to read iproperties without open file in appentrice because it's time consumption. When we right-click on the file in the windows explorer, the iproperties come instantly.
View 1 Replies
View Related