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
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
May 21, 2012
I want to change the default date order which is displayed in iProperties from MM/DD/YY instead of MM/DD/YY.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
View 3 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
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
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
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
Mar 23, 2012
Copy custom iproperties from one part to the other - possible?
View 6 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
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
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
Jan 18, 2013
how to keep the Author and Designer name as capital letter
View 1 Replies
View Related
Nov 7, 2011
When I input data into title block I want to go Field txt->custom and have some rows multiple, in repeating order, I don't have control over that.
Example:
I want:
first row: rev #,
second row: by,
third row rev #,
fourth row: by,
and so on.
Right now I created prompt line "rev (1)", "by (1)", "rev (2)" and so on, but this still wont show the right order in custom props.
View 1 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
Jun 21, 2013
Is it possible to change the units of measure in the iProperties from lbmass to tons for instance? I deal with very large, heavy concrete objects and tons is the way we show mass. Also use cubic yards instead of cubic inches.
View 7 Replies
View Related
Oct 21, 2013
Within the drawing title block we have a 'Text' of type 'Custom Properties - Model' which pulls in a custom iprop from a model which is the models finished weight. This is a common way of auto populating title box entries.
The problem is that the sheet populates the text with the info related to the first viewport placed upon the drawing.
Whilst fine when planned for properly, I quite often encounter upon large multisheet detail drawings, that a user when detailing an IAM, will have forgotten to put the IAM view down first, especially later in the drawing series where the IAM is not required and the user is detailing IPT's.
What I am looking for is a way to change which viewport the border properties are related to ideally, so that if a user has forgotten to place the IAM but has placed 20 IPT's down, I could place an IAM outside of the maximum area, as the 21st object but fool Inventor into thinking this was the first viewport placed down, thus populating the border info correctly.
I don't know of a way to do this currently, either with current Inventor functionality, or by programmatic approach - our current fix is to have the user create another drawing sheet, place the IAM outside the maximum area, copy all his IPT viewports across from the first sheet, then delete the first sheet. Is it possible to change the object order of placed viewports with less disruption?
View 8 Replies
View Related
Sep 19, 2012
I'm working on a main assembly. I want to edit the i properties of components within a sub-assembly, this is fine for "RING:1"
iProperties.Value("RING:1","Project", "Description")="A79-H020B001"
but I get an error message when i try to edit the iproperties of a patterned component within the sub-assembly.
View 3 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
Mar 12, 2012
Is there any way to modify the order of the views that have been placed on the drawing sheet? We have a lot of times where we place an assembly view to drive the title block and then place the child components for detailing. Too many time the assembly view gets forgotten until you are done detailing the other parts, now instead of the assembly name showing on that sheet it is the first part you inserted. I would like to be able to select a view and tell Inventor that I would like this view to be the first view instead so I don't have to copy and past everything from one sheet to another. I used to have some code that looked at that first view but I can't find it anymore.
View 1 Replies
View Related
Sep 26, 2012
how do I re-order or change the order of images within a file?
View 2 Replies
View Related
Sep 25, 2012
I am using a symbol that includes a several text boxes. Each text box includes "prompted text" and "drawing properties". When I insert the symbol onto a drawing, the "Edit Property Fields" menu appears. In this menu, I can input my prompted field text or see the various "drawing properties".
My question is, how do I change the order that these property fields are displayed? It seems as if it depends on the order that the text boxes were created while defining the symbol definition. Is there any other way to change the display order?
View 3 Replies
View Related
Jun 18, 2012
I am creating a custom table in a .idw through VB. I was looking for the code that would tell it to make a column have units formattng. For example, instead of my thickness to be 0.5, I want it to show 1/2 in. I know you can do this manually in the table editor, but I cannot find any bits of code that will do it in VB automatically.
View 1 Replies
View Related
Mar 25, 2013
I've been using iLogic. I'm creating a template assembly that will be used for multiple jobs. Therefore, the job number will be changing. I want a custom iProperty in ALL parts and sub-assemblies (cleverly call it "Job #" maybe) that I can include an a separate property called "Drawing #" which whose value will be [some text]-<Job #>-[some more text]. I want to be able to update all the "some text" parts manually for each component, but I want the Job # to update automatically. I need this property because I have a column in all my Parts Lists called "Drawing #" which tells the drawing number for any given part or assembly.
Ultimately what I want to do is open a text or Excel file, enter the job number, open my Inventor drawing, and have every Drawing # entry in every parts list magically update to the correct job number.
I've managed to use iLogic to do just that with a single .ipt/.iam file. But I have dozens upon dozens of components in the main assembly. I'd like to run some rule or hit some button or do something that will cause the Job # property to update for ALL sub-assemblies and parts, so that all my parts lists reflect the change.
View 4 Replies
View Related
Dec 11, 2012
I am after writing part of rule for ilogic,i need the rule to fill out a custom property with information for me. I have a part that has 2 parameters
parameter 1 = Frontplanangleparameter 2 = Endplanangle
Custom property
iProperties.Value("Custom", "DESC2") =
I need the rule to examine both parameters and if both angles = 0 then DESC2 = ""And if any parameter >0 then
iProperties.Value("Custom", "DESC2") = bevel
View 1 Replies
View Related