AutoCAD Inventor :: Working With Multivalue Lists Of Other Parameters

Mar 22, 2013

I'm writing an input check function (check certain inputs to be positive, or within a certain range). I'm a mechanical engineer with basic coding experience, mostly with basic matlab experience (some c++), so I don't fully understand VB structure, classes, objects, etc.

I'm giving my function a mutlivalue list of the names of parameters, converting to an ArrayList,  then using 'For Every Item" in array list If>my condition>then display input box. And I have it working, but probably not the "proper" way, though if it works, it works. My real question is if I can use a multivalue list of parameter names and create a sister MV list that contains the parameter values. Currently I have to hard code a MV list with quotes aorund the names, and one without quotes. I've played around with various ways of using multivalue.set/setlist, val(), CDblAny() and other functions, but  always end up with either class mismatches, an MV list with a single evaluated parameter, or an exact duplicate of the original paramter name MV list.

Example of my brute force efforts:

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:     684 StartFragment:     314 EndFragment:     652 StartSelection:     314 EndSelection:     314
SyntaxEditor Code Snippet
'MultiValue.SetList("testList",ggg)
'MultiValue.List("testList") = MultiValue.List(Parameter(ggg))

Full Input Santitation

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:   14751 StartFragment:     314 EndFragment:   14719 StartSelection:     314 EndSelection:     314
SyntaxEditor Code Snippet
MultiValue.SetList("posParams", "hopAngle", "hopOutID", "hopOutClearance", "ringThk")

[Code] .....

Inventor 2013 SP 1.1

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Creating Cut Lists Or Sorted Material Lists

Mar 6, 2013

This morning the shop brought back a set of drawings and requested that I provide a cut list for the fab department. Our drawings consist of an assembly drawing and materials list on the first page with several individual parts on each of the following pages. I am looking at including a column in the ML for the operation ( laser, saw, shear) and sorting the list by it. However when I do this the Item Numbers on the list are all confused. If a person were to look at a balloon on a drawing and then attempt to find it in the list it would be difficult and time waster.

The questions.

1. Is there a way to renumber the item list after sorting the material?

2. If I place an assembly view off the edge of the sheet for each of the following sheets and then place a materials list on each sheet, is it possible to create a plugin that would find which parts are on the sheet and hide all the other parts on the list? I have just started going through the "my first plugin" tutorial and this sounds like a place where it should be useful but I don't know which tags I need to look for.

View 7 Replies View Related

AutoCAD Inventor :: Trigonometric Functions Not Working In Parameters

May 6, 2013

In my Parameter equation dialog box: "cos(.5)" is red"(.5)" is black.

Does Excel need to be installed for Trigonometric functions (I don't have Excel)?

View 2 Replies View Related

AutoCAD Inventor :: Default Value Multivalue Setlist

Jan 3, 2012

I've created a setlist with the following ilogic

MultiValue.Setlist("Dnr",1,2,3,4,5)

Is it possible to set a default value for "Dnr", for example Dnr = 3.

View 2 Replies View Related

AutoCAD Inventor :: How To Populate Multivalue PARAMETER

Jul 24, 2012

How to populate an Inventor Multivalue PARAMETER using a For cycle in iLogic according to a variable index corresponding to a different number of array items?

for example:

i grab some data from a Rule and populate an Arraylist variable. I trace the number of instances using a counter. after the data acquisition I want to populate the Multivalue Parameter with the acquired values.

No problem browsing the Arraylist parameter: MyArraylist.(Index)... but what about the Multivalue parameter?

the MultiValue.SetList("Multivalue Parameter", Value 1, Value 2, ... , Value N) provide a defined number of data and cannot be set dynamically according to an Index.

View 2 Replies View Related

AutoCAD Inventor :: Setting MultiValue List To Parameter

Jan 21, 2013

I have the following rule:

If OD=900 mm And Filter_Type = "Aerob" ThenMultiValue.SetList("FilterSize", 0.2, 0.3, 0.4, 0.5, 2.2, 2.3, 2.4, 2.5)End IfIf OD=900 mm And Filter_Type = "Donaldson DLM" ThenMultiValue.SetList("FilterSize", V3/7S, V4/7S, V8/7S)End If
 For first condition everything is ok. But when the second one is valid it gives error:

Conversion from string "V3/7" to type 'Double' is not valid.

Maybe I should add that the parameter "FilterSize" was made as Text and multi-value.

AIP 2014
Windows 7 x64
Dell Precision T7400 Intel(R) Xeon(R) CPU X5472 @ 3.00GHz (4 CPU's), 8Gb RAM, NVIDIA Quadro FX 5600 1536MB GDDR3

View 2 Replies View Related

AutoCAD Inventor :: ILogic Multivalue List For IPart Selection?

Jul 8, 2013

I have a form with a multi value selection containing name vaules from an iPart.

I want to make a selection from the field in my form and swap out my iPart in the assembly for my selection. 

I thought that something like:

Dim iFactory As String

MulitValue.SetListInComponent ("FileName:1", "Param name", "list of params.......")

Parameter("FileName:1", Param name") = "PK 407"  'could be any thing selected from the list of params..

iFactory=Param name

iPart.ChangeRow("iPart Factory File Name:1", iFactory)

Such that the part would be swaped out for what ever Param name = as a result of user selection.

I get the following error from this: Object reference not set to an instance of an object.

View 1 Replies View Related

AutoCAD Inventor :: Fill Multivalue List In ILOGIC With Produced String (FILTER)

Nov 4, 2011

I try to filter an Excel List and therby fill certain Multivalue Parameters with the filtered data.

The filter works fine an provides me a string looking like the sytax for the MULTIVALUE.SETLIST command.

B6string = FilterReturn  &  Chr(130) & B6String = 75‚80‚250‚65‚45‚250

Unfortunatly this string gets exactly as ONE entry in the Parameters Value listing !

MultiValue.SetList("B6_Lochbild_Länge", B6String)

I also tried

MultiValue.List("B6_Lochbild_Länge") =  New Integer () {B6String}

and also

B6string = Chr(148) & FilterReturn & Chr(148) &  Chr(130) & B6String

with the same effect !

View 2 Replies View Related

AutoCAD Inventor :: ILogic - MultiValue Parameter - Get Named Range From Embedded Excel

Jan 9, 2013

I have a MultiValue Parameter that I want to populate using a named range from an embedded excel spreadsheet. I would like an iLogic solution if possible because I need other people to be able to understand the code without too much difficulty.

One of the sample snippets given allows access but not if the excel file is embedded.
 
'GoExcel.NamedRangeValue("Part_Width")
 The code below works but not when using a named range.
' Load bearing housing typesMultiValue.List("parameter1") = GoExcel.CellValues("A1","A20")
 Is there something I'm missing? I was hoping to use something like below
' Populate MultiValue Parameter from excelMultiValue.List("parameter1") = GoExcel.CellValues("3rd Party:Embedding 4", "Sheet", "myNamedRange")

View 2 Replies View Related

AutoCAD Inventor :: Using Different Part Lists

Mar 29, 2012

I'd like to know if it's possible to use two different styles of part list in the same project.

For example, one for assembly drawings and another for single part drawings.

View 4 Replies View Related

AutoCAD Inventor :: How To Align Multiple Parts Lists

May 22, 2012

Is there a way to align multiple Parts Lists?

I have an i Assembly with 7 distinct members.  I have a parts list displayed next to each member.  I had no problem getting the views to align, but am running into a wall with getting the Parts Lists aligned (other than just eyeballing it).

View 5 Replies View Related

AutoCAD Inventor :: Multiple Part Lists In 1 Drawing

Jan 29, 2013

I am currently working on a product where I want to make 2 part lists in my drawing of the same assembly. The first parts list has to view all the parts that are always delivered with our product, and the second one has to show the optional parts and features that could be delivered with the product.

I want both lists to be categorized the same way (comments, material, name), I want the numbers of the list to be chronological (also I don't want the second parts list to start the numbering at 1) and I want both lists to stay connected with their balloons.

Is there any way this can be done, like adding or removing part links to the list manually?

View 1 Replies View Related

AutoCAD Inventor :: Splitting Parts Lists Into Two Sections

Jun 7, 2012

I have a really long parts list and would like to know if there is there a way to split the parts list into two distinct shorter lists.

This is how it is done in Solidworks.  Just wondering if splitting BOM's is possible in Inventor.

[URL].......

View 4 Replies View Related

AutoCAD Inventor :: Editing Two Part Lists On IDW File?

Feb 14, 2013

I thought I'd be efficient & use one assembly with a couple View Reps to represent two variations of our product. But I ran into a problem editing two part lists on an IDW file. Most of the parts are identical.

I have two part lists on an IDW for the same asy & each part list is filtered for one of two View Reps - works great!But I discovered when I edit the item number order in one part list to harmonize with the other, the other one gets re-ordered also & no longer harmonizes with the first one.

Inventor Suite 2013 Ultimate

View 1 Replies View Related

AutoCAD Inventor :: Condensing History Tree That Lists All Function

Feb 13, 2013

How can I condense the 'history tree' that lists all the function? Like, putting multiple sketches into one folder and then being able to expand it to display all of them?

View 2 Replies View Related

AutoCAD Inventor :: Multi Line Text In One Cell In Parts Lists

Dec 6, 2011

We are using inventor 2011 and I would like to make the text wrap where I want it to not where the cell length determines. Can I do this in the ipropeties of the part? When I edit the parts list to move wrap the text manually the text turns blue of course, but this also negates the updating of parts automatically. In the part I use an expression to ensure that the description reverts back to the iproperties of the part ie =<G_L> X <G_W> - <MATERIAL>. I would like it to insert a text wrap then proceed to the next line with <STOCKNUMBER> - <PARTNUMBER> so I would look like:

12" X 6" - G40.21-44W
PL. 1/2 - PL-100

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Create Parts Lists Out Of View Representations?

Sep 4, 2012

Is it possible to have iLogic rule create parts lists out of View Representations? [URL] .......

View 9 Replies View Related

AutoCAD Inventor :: 2012 Parts Lists Not Showing Correct Part Numbers In Assembly

Nov 4, 2011

Having problems with parts lists not showing the correct part numbers of the parts included in the assembly. In some cases I've made a new part by renaming an existing part but when I create a parts list it shows the part no of the original existing part used to create the new part, even though the new part is the one in the assembly. Also I have just had a number of similar assemblies and needed to produce parts lists for them. I created the first one and then used 'save as' to rename the drawing including the parts list. Then when I re-opened the newly renamed drawing I assigned it to it's new assembly. However the parts list did not update to show the new part numbers included in it's new assembly.

Is all this a glitch in the system or is there something in the set-up which is causing this problem?

View 7 Replies View Related

Revit :: Titleblock Parameters Not Working

Jun 13, 2012

I have been having this issue in both Revit Architecture 2012 and 2013.  I have loaded in my parameters for my title blocks ("Addition", "City, State, Zip", "Address", and "Lot#/Block#) in the same way I have done it in any other project.  but for some reason in this project after I have loaded in my parameters and set them to my sheets and I am still not able to select them and edit them on my sheets.

View 1 Replies View Related

AutoCAD VB :: Access To User Parameters In Parameters Manager?

Aug 3, 2011

How can you access user-defined parameters/function defined in the Parameters Manager dialog?

View 1 Replies View Related

AutoCad :: Linking Constraint Parameters To Action Parameters?

Sep 21, 2011

Im wondering if its possible to link either a constraint dimension to an action parameter or vice versa. Or using a linear parameter's value in an user parameter formula.

Its a 2D cylinder, for winding purposes we just have a rectangle, with a distance from the Y axis for radial.

Parametric dimensions: B=thickness, C=Lenght, R=radius
User parameter: A=Diameter (R*2), Mass in kg ((((pi*(c*b))*(A+B))*1.25)/1000)/1000

For the BOM, i need A, B, C & mass

For drawing references for peoples on the floor, to distinquish a cylinder from a stick, we put lines at the top and bottom of the cylinder, 1mm distance inbetween them.

I figured that making a linear parameter + stretch on the thickness to replace the B parametric dimension, allowed me to make an array of that line, with increments of 1mm as i stretch the cylinder. The thing is that the mass formula cant take the value of action parameters....

Other alternative is to keep the B parametric dimension, and add a linear parameter as above for the array. But then i have 2 places to adjust, and from a test i made, if i change the R dimension, the linear one does not follow. Its very frustrating.

What i was hoping autocad would be able to do is distance1 for array to be same as B dimension, but it does not allow me to do that, unless im missing something.

View 0 Replies View Related

AutoCAD Inventor :: How To Get Parameters Name And Value Using API

Jun 29, 2013

How can we get the parameters of a inventoer object using vb.net.?

I have 3 parameters named d1,d2,d3 .I want to get these three parameters name and value using API programing  using vb.net.

View 1 Replies View Related

AutoCAD Inventor :: Grouping Of Parameters

Nov 26, 2013

I was wondering if it would be possible to do the following:

Parameters who can vary for lets say a rectangular profile with:

80x50x2

80x50x3

100x50x2

That these data sets/parameters are grouped/linked to eachother in the Parametric Table.

So when I'm doing my analyses with the profile of 100 and I change the wall thicknes from 2 to 3mm the 100 changes to the 80 variant automaticly, or asks me which version I want.

It would be handy to avoid mistakes with non excisting combinations of profiles.

Is there a custom app for Inventor that allows you to manage parameters easier? (Grouping wise to keep a better overvieuw.)

View 1 Replies View Related

AutoCAD Inventor :: Add To Linear (mm) Parameters?

Mar 15, 2013

Creating User Parameters, can we use trigonometric functions? and can we add these to linear (mm) parameters?

Can we add the Values irrespective of Units i.e. Inch/ Deg/ Unitless

Example: d0 (In) = d1 (In) +d3[ul] + (sin(Variable_Angle))

In value = In Value + ul Value + deg Value

View 6 Replies View Related

AutoCAD Inventor :: ILogic Reference Parameters

Oct 9, 2013

I'm having some difficulties with iLogic and reference parameters.

I have made a tube with a weird shape and I want to measure the longest length. So I have to cut the tube in a certain angle in relation with the center to measure the length.

The problem is that this angle is really hard to calculate.

So I tried making a rule where I can make my angle shift x degree and then measure the longest length. If the measurement is larger the previous measurement the angle will shift x degree again until the measurement is smaller than the previous.

So I made my starting angle 0 degree, I know this is for a fact not the longest length. And then I tried this rule. (before making a While rule).

And I noticed that on screen the measurement changes. But the reference - parameter stays the same. So it gives me the measurement on the starting angle & after rotating it again gives me the starting angle.

How can I get the parameter to update itself in between?

Dim measurement_length As DoubleDim measurement_length2 As DoubleMessageBox.Show("Start angle ", "My iLogic Dialog", MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1)angle_measurement_spec = 0RuleParametersOutput()InventorVb.DocumentUpdate()measurement_length = [code].....

View 1 Replies View Related

AutoCAD Inventor :: How To Delete All Linked Parameters

Nov 13, 2011

I have lots of files that are linked either by length, height, etc.. Is there an option to delete all linked parameters. I would also like to keep the part history (cuts and extrudes).

I wonder if there is an option to delete all at once like iLogic option-"delete all rules" or should be deleted individually.

View 5 Replies View Related

AutoCAD Inventor :: How To Erase Unused Parameters

Oct 31, 2011

I am using Inventor 2009 SP2, OS is XP Professional 2002 SP3.

I copy a file which has lot of parameters, I want to delete some of them, but Inventor Parameters pop up window just has buttom to add a user Parameter, without button to erase one.

Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory

View 9 Replies View Related

AutoCAD Inventor :: Parameters In Weld Symbols

Mar 12, 2012

I am creating a weldment that is controlled using parameters that are linked to an Excel spreadsheet (using Inventor 2012). One of my parameters is the size of the weld bead. I am able to add the parameter to change the visible size of th fillet and groove welds but am unable to have the weld symbols update to show the parameter value. How to add the parameter to the weld symbols? Or is this not possible?

View 1 Replies View Related

AutoCAD Inventor :: How To Delete Unused Parameters

Jan 14, 2013

I have assymbly wich linked to excel sheet.

I can delete the excel sheet from the assmbly and its parts too, but I can't delete the unused parameters in "List parameters "

And, I can't link a new excel sheet to this assembly, even if I changed the name or made a new one,why?

I use inventor 2012

View 4 Replies View Related

AutoCAD Inventor :: How To Copy User Parameters

Apr 23, 2012

I need to copy about 15 user parameters from 1 part to about 300 others.  I used the DA to copy the iproperties but the user parameters are also needed. 

View 2 Replies View Related

AutoCAD Inventor :: Exporting Text Parameters

Jan 9, 2013

Is there any way of exporting text parameters from an assembly to individual parts without using i Logic? I am also unable to import text parameters to a . I am from an excel file.

We are currently using ilogic to change part text parameters from the assembly but it is a sticking plaster at best, as the rules need to be rewritten when parts are added and deleted from the assembly. We are trying to update our etched job number (which in many cases contains letters) from a single point on the assembly model which should populate all part files, and make it robust for all our CAD users, who do not use iLogic in their day to day duties.

If this is not possible (exporting text parameters the same way numerical parameters are handled) is there any plans of getting this included in upcoming versions?

View 1 Replies View Related







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