AutoCAD Inventor :: Calling A Standard Window IProperties?
Feb 14, 2013
The explorer Windows when selecting file from the context menu to bring up the iProperties. Properties window creates a file C:Program FilesAutodeskInventor 2013BinDTCPexe.exe?
As most applies the program DTCPexe.exe to cause property to C:Part.ipt?
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.
In an object type Project I have a form with a button that calls another sub of the same form, the code looks something like this:
Private Sub CommandButton1_Click ()
'Set a Part Document as active document Dim oDoc As Inventor.PartDocument Set oDoc = ThisApplication.Documents.Open ("C: Users oZteC Documents Inventor Experiment part1.ipt", True) oDoc.Activate
'Call "ModelParameters" within the same form Call ModelParameters
End Sub ____________________
Public Sub ModelParameters () .... End sub
I want to move the sub "ModelParameters" to the object type PartDocument, the problem is when I move it the call doesn't work. I want to run something like this:
ApplicationProject> Form> ClickButton ----> call to ----> DocumentProject> ThisDocument> Sub
I would like to make an Inventor AddIn with commands (functions) that can be called from other standalone applications. I have tried to create a COM interface for my AddIn, and that works with rather small effort, but I think I have heard that it should be possible to do this without the COM interface. I would like to avoid COM if possible. if I need to do anything special in the AddIn to make the function visible and how I on client side calls the function.
I have a top level assembly created from multiple subassemblies. In my drawing view, I would like to add leaders calling out the subassemblies. Is this possible with Inventor 2013? It seems easy - am I missing something?
I tried adding leaders, and selecting the model properties, selected the subassembly, then picked part number. The leader always reverts back to the part level.
Product Design Suite Ultimate 2014 Vault Professional 2014 Windows 7 Pro SP1 HP-Z400: 2.67 GHz 12 Gb Ram Nvidia Quadro FX1800 driver 276.42
I have been trying to create a macro to control an assembly. The problem is that I need to access a certain parameter in a specific part in the assembly. I can get the exact parameter by using the "name" of the given parameter, ex .Item("d7") to call the parameter d7. The problem for me has been what name do I use to call out a given part, I have been using .Item(Index number), ex .Item(12), but this number can change as parts are added, deleted, or suppressed.
The question is what "name" should I be using and how do I use it. I have tried
Is there a way to make the pop-up window that comes up when you delete a photo have "delete from disk" be the standard option highlighted in blue instead of "Remove"?
Or a way to use the keyboard to move the selected option? I know about the keyboard shortcut, Alt Ctrl Shift Delete, just wondering if there is a way to mess with the pop-up window selection. I have LR4 on a mac.
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
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.
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.
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.
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.
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.
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.
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.
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 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
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.
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"
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.
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?
I have written a vba macro to automatically check that the description and material properties of a ipt file are correct.
If they are not correct, eg "no description" has been entered then I need to automatically open iProperties so that the user can then input a description.
I need a parameter from an iPart to show up in my Parts List by using the Stock Number iProperty, then CHANGE with each variation of the iPart (PLATE BC-01, PLATE BC-02, PLATE BC-03, etc). I already have the parameter exported, named 'BOTTOM_A.' Stock number has the expression: '=1/4" HRS x <BOTTOM_A>.'
However, this only works for that particular part. The number does not change when I place a Parts List for PLATE BC-02 and PLATE BC-03. All three have the same number. I found that the number corresponds to the active part. If I double-click PLATE BC-02 in the ipt file to show it, the number for the separate Parts Lists will all correspond to PLATE BC-02.
I've attached an image of the Parts Lists after double-clicking PLATE BC-02 in PLATE BC.ipt. I can include more if needed.