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
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
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
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
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
Mar 23, 2012
Copy custom iproperties from one part to the other - possible?
View 6 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
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
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
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
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
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
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
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
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
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
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
Apr 7, 2009
i would like to be able to make a change in iProperties ( part #, description, stock number), and then automate/sync that change to the .idw of that part/project after the .idw is created.
is this possible? do i just need to fill out the iProperties BEFORE i make the .idw,
I really hope this is possible, we are going back and reorganizing all of our previous work and putting everything in vault now.
View 9 Replies
View Related
Jan 6, 2014
Sometimes I change the dimensions of a material I use but then I have to open Iproperties and change the description by hand. This can create problems as you can understand especially when I forget to update the Iproperties.
Then I had the thought to automate it. Lets take a steel bar as example. I have thickness and width as parameter, both are exported and available under IProperties/Custom. But they show as 200 mm and 10 mm. I would like to loose the units. I tried also UL but then it reads 200 ul and 10 ul.
What I like to get are just the numbers, no units. I like to use it to create this "steel bar 200x10" where the 200 and the 10 are linked to the Parameter and will change when I change the dimensions av the steel bar.
View 9 Replies
View Related
Dec 22, 2012
How can I get the "Location" iProperty using Inventors VBA?
Please see the attached picture!
I am using the following code to get other iProperties, thus.....
Set oStockNumberProperty = oCompDef.Document.PropertySets.Item("Design Tracking Properties").Item("Stock Number")
StockNumber = Trim(oStockNumberProperty.Value)
This works OK.
View 3 Replies
View Related
Nov 11, 2013
I would like to copy and paste all iproperties from one part to another, without retyping it all.
What i was thinking about is:
1. Exporting all iproperties to .txt
2. Run a import .txt rule to iproperties.
Is it possible? If so, How could i accomplish a task such as this?
Privacy warning: Since I live in a country that has traded liberty for the illusion of security, all of your posts to me are being monitored and saved by the United States Government.
View 1 Replies
View Related
Mar 12, 2013
I am trying to figure out if it is possible to change the iProperties default field names. For example, in iProperties, under the Project tab, i want to change the field "Stock Number" to "Drawing Number". I know that i could create my own custom field in a seperate tab, but i think this way would have a much cleaner look and simpler workflow. If it is possible, is it something that i can incorporate into an ipt template? Or will this only change on my system?
I am working in Inventor 2012 Pro
View 4 Replies
View Related
Oct 18, 2013
I am sure this is extremely simple to do but I am missing something. I am wanting to set the Description of a part in the Iproperties using values from the parameters. For instance, if the part has a length value of 10 and a width value of 5 I want the Description to say: 10 x 5 Floor Sheet
I cannot figure out how to extract the parameter values and place them into the iproperties. Here is what I have tried: iProperties.Value("Project", "Description")=" =<Length> x <Width> Floor Sheet"... This gives me the following result in my description: x Floor Sheet
View 4 Replies
View Related
Dec 8, 2011
The crash happens everytime I try to open iProperties from the .iam(Assembly) that I use it in. The only other .ipts I use in the .iam is two small rings. I can open iProperties for the .ipt if I open the .ipt for it self, thou I have .iams that use .ipts that are nearly similar to the one causing the crash, that open iProperties just fine.
View 1 Replies
View Related
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
May 21, 2013
I would like to export the Current Offset from Parent Assembly Origin values (X Offset, Y Offset, Z Offset, X Angle, Y Angle, Z Angle) for each part in an Assembly. These values are found in each component's iProperties under the Occurrence tab.
View 9 Replies
View Related
Nov 16, 2012
Using Inventor 2013. As you know it's impossible to chang iproperties values of the library parts in inventor session (for instance in asm file). The error message comes "readonly".
But when you open iproperties of the file in windows file explorer then it's possible to change iproperties values while library parts open in inventor session in asm.
Normally I copy the file location path of the library part and open this path in the windows file explorer and find the part and right-click on file and change iproperties values which I want to change stock number, part description etc...
Is it possible to create VBA code or API which can open iproperties box of the selectet part outside of the inventor session in windows file explorer?
View 5 Replies
View Related