AutoCAD Inventor :: Add Item To Multi-Value-List Of User Parameter (2012 API)

Jan 3, 2014

IV2012 API with VB:

How can i add an item to a Multi-Value-List of an existing User Parameter in Inventor2012 (Accessing API with Visual Basic) ?

My idea is for example:

uParams.Item(i).ExpressionList.AddItem(As String)

The problem is, that such a function "AddItem" doesn't exist.

View 4 Replies


ADVERTISEMENT

AutoCAD Inventor :: Export Multi Value Text User Parameter

Aug 26, 2010

I created a sketch that I would like to use in an iFeature.  The sketch dimensions are controlled with an ilogic rule referencing a multi value text user parameter, eg the text parameter pull down menu controls the size of the part.

Is there an easy way to get this parameter into an ifeature or derived part?

View 4 Replies View Related

AutoCAD Inventor :: Saving A Multi Value Parameter List Externally From The Part

Jan 17, 2013

I have an iLogic template part that has a multi value parameter. In this case the product code can be selected from a list of 4 codes. In futre we may need 5 and the 5th may need to be available to older parts.

I would like to avoid having to add the 5th as an option to every part we've ever made when the 5th becomes required.

I'd like to have the list of codes stored in an external file (Possibly an xml) and the template part reference that file to acquire it's list of available codes. That way I can add codes to the xml and all the files will have their list of available codes updated.

View 2 Replies View Related

AutoCAD Inventor :: User Parameter Expression List - Allow Custom Values?

Mar 21, 2013

Where do I find the "Allow custom values" option for a multi list parameter expression?

View 2 Replies View Related

AutoCAD Inventor :: User Parameter Driven Text Height - 2012?

May 15, 2012

We are having issues with text height and variations depending on how the text is added.

I am currently adding etching to sheet metal parts by using the user parameters (which are driven by 3rd party source, excel file) and using a cut extrusion -1mm.

We have developed a marco which detects the shape of each letter and adds etching to our sheet metal program manually. We do this to get rid of the double lines when you cut text into a part. Our process is design in Inventor, unfold then convert to DXF 2004, where we import to our SM programming package (Radan).

I have noticed that when using 10mm simplex if the text is driven by parameters and 10 point text is selected the charecter height is 9.9928mm, however if the text is added manually it measures 10mm exactly. Why is this happening? It is probably of no concern to most, but we would need to add extra charecters to our macro to account for the descrepency, and in turn would take the macro longer to run.

When the text is added by user parameters, you can briefly see the 10mm text height flash to 9.99mm when finishing the edit sketch. Changing this to 10mm again has no effect.

what is causing this, or have any alternative ways of adding 10mm simplex single line etching to a dxf from an Inventor 2012 SM part?

View 5 Replies View Related

AutoCAD Inventor :: Nested IAssemblies And Multi-item Parts

Feb 3, 2012

Nesting phantom iAssemblies within another iAssembly? We are having a problem with the BOM not generating the correct multi-item parts lists. Even though the individual iAssemblies act correctly when viewing there individual BOMs, when these parts are nested inside another iAssembly and switched (Table Replace) between individual items, the BOM shows all dash numbers as the current active one.

Any unresolved issues within iAssemblies and the BOM?

View 6 Replies View Related

AutoCAD Inventor :: Create Multi-value Parameter With ILogic?

May 1, 2012

Is there a way to create a multi-value parameter with ilogic?

Inventor Pro 2013 (PDS Ultimate)
Vault Pro 2013
Windows 7 64
Xeon 2.4 Ghz 12GB

View 9 Replies View Related

AutoCAD Inventor :: How To Set Multi-parameter / Iproperty Using Ilogic

Jun 26, 2012

How to set multi parameter, iproperty using ilogic (or smth else)?

I hav eparameters: d1=50, d2=100, d3=5. I need to set a new multi parameter/iproperty that the final value is:

Angle 50x100x5 (suppousedly code should contain smth like: "Angle", "d1", "x", "d2", "x", "d3") but I do not know exactly...

View 2 Replies View Related

AutoCAD Inventor :: Add Boolean User Parameter?

Aug 24, 2012

Looking for sample VBA code to get all referenced documents from an assembly and add a boolean user parameter to each (parts and sub assemblies).  I have been trying to modify peices of code I have found on this forum and Mod the Machine, but have had no luck so far. 

There may also be standard content center parts in the assembly as well that I would like to somehow identify so I can skip over them.

View 1 Replies View Related

AutoCAD Inventor :: Delete User Parameter

Apr 22, 2013

Most of the time, I delete an user parameter without problem. But, in a part, I got an error for two of them and I don't understand why.  I create a new parameter and redirect all dependencies from the old one to the new. (oldParam.Dependencies.Count = 0).

But when I try to delete it, I've got an error. Also, when I try to delete it by the interface, I don't see the Delete option.

View 8 Replies View Related

AutoCAD Inventor :: How To Add User Parameter (Text Value)

Jun 10, 2011

Parameters with a text value, How do I add userParameter? In iLogic 
 
Examples. DoubleValue)

Sub Main()    

Dim oCompDef As PartComponentDefinition
oComDef = ThisApplication.ActiveDocument.ComponentDefinition
Dim oParams As Parameters
oParams = oComDef.Parameters
Dim uParams As UserParameters
uParams = oParams.UserParameters
strVal= uParams.AddByExpression!("strVal", 0.15, "mm")
iLogicVb.UpdateWhenDone = True
End Sub

View 6 Replies View Related

AutoCAD Inventor :: ILogic To Populate Iproperty From Multi Value Parameter

Nov 3, 2011

I am struggling to find the right ilogic to extract the state of a multi-value text parameter and use it to populate a single i property.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Passing A Value From The Action Parameter To A User Parameter

Dec 1, 2013

I need to use the dimension created by an action-parameter as a variable in a user defined function but AutoCAD will not allow me (see attached).

How may I access the action-parameter's dimension ?

View 1 Replies View Related

AutoCAD Inventor :: Manage LOD In Multi-user Setting

Dec 10, 2013

We have multiple clients and each client has multiple projects. Each project gets its own master assembly that contains multiple equipment layouts. This allows us to show everything together. In each master assembly, we create LODs to display equipment layouts side by side for connecting things one to another and to avoid collisions.

Example: The master assembly may contain 8 equipment layouts. Each layout is for a sub-process within the whole process. We create LODs for different groupings of layouts so that we can zero in on anything in particular that we wish to focus on. By choosing an LOD in the open dialogue box prior to opening the master assembly, performance is improved because we're only opening what we need instead of everything.

Within an equipment layout are any number of assemblies. We can create LODs to show the layout without conveyors or to show different options we've developed to present as concepts for approval prior to detailed design. Sometimes we are adding assemblies to an existing layout so we'll create an LOD for existing, one for as built, one for purposed.

how to create or modify LODs. Therefore, we are getting LODs with users' initials or a date or "doohickey". We've got to come up with something that makes sense now and will make sense later.

Any guideline for managing LODs in a multi-user environment?

View 3 Replies View Related

AutoCAD Inventor :: Update User Parameter With Ilogic

Dec 28, 2013

Is it possible to update an existing User Parameter. While I can only  delete-create a new. In this case the connection is lost with BOMQuantity.

View 5 Replies View Related

AutoCAD Inventor :: Don't Have A User Parameter Linked To A Dimension

Aug 6, 2013

I'm having problems with the parameter menu. When I don't have a user parameter linked to a dimension in the model the parameter disappears out of the parameter menu.

View 2 Replies View Related

AutoCAD Inventor :: Changing User Parameter In Assembly

Apr 1, 2003

I have a part file ("part1.ipt") that has a user parameter called "Height". When I open this file as a part document, I can modify the "Height" parameter to change the height of the part. This functionality works great:

Set oPartDoc = oApp.Documents.Open(sPartFileName, True)
Set oParameters = oPartDoc.ComponentDefinition.Parameters
'change part height to 30 cm
oParameters.Item("Height").Expression = 30

Now, I am wanting to add this part to an ASSEMBLY document, then change the parameter to 30, but have been unable to do it.
I have this so far:

Dim oAsmCompDef As AssemblyComponentDefinition
Set oAsmCompDef = oApp.ActiveDocument.ComponentDefinition
Dim oOcc As ComponentOccurrence
Set oOcc = oAsmCompDef.Occurrences.Add(sPartFileName, oMatrix)

After I add all the parts, I highlight a part in the assembly pane, I click on FxParameters but I don't see the User Parameters for the part. Are the User Parameters not available when a part is placed into an assembly?

This assembly will have multiple parts added from the same file name, but the "Height" parameter needs to be modified for each occurrence.

View 5 Replies View Related

AutoCAD Inventor :: How To Export Text User Parameter

May 2, 2013

Is there a way to export a text user parameter?

View 8 Replies View Related

AutoCad :: Use User Defined Parameter To Drive Action Parameter?

Feb 7, 2012

it is possible to use a user defined parameter to drive a action parameter.

I have several polar and linear stretch actions i would like to drive from one parameter.

View 3 Replies View Related

AutoCAD Inventor :: User Defined Text Parameter In IPart

Aug 17, 2011

I am trying to make an iPart of a fitting where I can change the "Body type" and it will change all the parameters associated with that body type through iLogic.  Really I am just playing around in iLogic to see if this is something worth learning.  Back to the point, I would like to change a  multi-value user text parameter through the iPart table but I cannot find the paramter in the parameters tab. 

Since it is a user parameter I thought it would be in the "Other" folder but it isn't.  I do however have the other multi-value user number parameter in that folder, which makes me think that maybe I can't use the paramter in the iParts table? 

INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM

View 9 Replies View Related

AutoCAD Inventor :: Create User Parameter Values With ILogic

Oct 29, 2012

Macro for writing the sheetmetal Extents width and length to the custom properties.  I need to get these values into the part parameters so that they can be used in the BOM.

I can get this to work if I manually create the "SM_Length" user parameter, but how do I make the iLogic CREATE the parameters if they do not already exist?  I think it would be something added below the "Catch..." just cant seem to figure out what it needs to be.

'look for custom iproperty and try to set it
Try
iProperties.Value("Custom", sExtLength)=Round(SheetMetal.FlatExtentsLength, iRoundValue)
Parameter("SM_Length")=Round(SheetMetal.FlatExtentsLength,4)

Catch
' assume error means not found and create it
customPropertySet.Add(Round(SheetMetal.FlatExtentsLength,iRoundValue), sExtLength)
EndTry

View 9 Replies View Related

AutoCAD Inventor :: ILogic Code To Create User Parameter?

Jul 29, 2011

I want to use iLogic to create User Parameters with Multi-Value lists filled with info from an excel spreadsheet. What is the code to create a new User Parameter?

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 4 Replies View Related

AutoCAD Inventor :: Setting Multi-Value Parameter From Excel Named Range Values

Nov 20, 2013


I have a Multi-Value Parameter "MV" that I want to populate using a Named Range from an Excel file that is already populating other parameters for the same file.

I currently have the file working by populating "MV" by using the snippet from iLogic below...

MultiValue.List("MV") = GoExcel.CellValues("filename.xls", "Sheet1", "A2", "A10")

The reason I don't like this method is because if ever that range changes... all the iLogic code will have to be updated as well. How to set a Multi-Value Parameter using a Named Range from an Excel file? I assumed the below snippet would work but I am receiving

"Array was not a one-dimensional array." as an error. 

MultiValue.List("MV")=GoExcel.NamedRangeValue("Named_Range_Value")

View 4 Replies View Related

AutoCAD Inventor :: Item Numbers Blank In Parts List?

Feb 19, 2013

For some reason the item numbers in my parts list are blank. All the other information populates. 

I've gone to the assmebly and varified that the BOM tabs are active and there are numbers in there. 

If I inser the parts list as 'legacy' it works fine. 

I can't use the renumber function, it just makes all theh item number boxes go yellow in the parts list box, 

Inventor 2013. 

View 9 Replies View Related

AutoCAD Inventor :: Parts List Numbering Skip Item 8

Jul 9, 2012

When I created a parts list this morning the list started with item 2 and skipped item 8 as shown below.

why would it do that? I know I can renumber the list, but then when I expand the subassembly to show the subassembly parts, they stay numbered 10.1, 10.2 ect. even though the subassembly has become item 8 with the renumbering. If I expand the subassembly before renumbering, I loose the indented numbering format and simply get numbers 1 to 18. True I could manually renumber all the components, but what would be the reason the parts don't come into the parts list numbered sequentially to start with?

View 4 Replies View Related

AutoCAD Inventor :: Parts List Line Item Visibility?

Sep 13, 2012

Is there an application or document setting that will make the default state of a row in a linked excel file used in a parts list default to "off" (not visble)?

More specifically, make this apply to added rows.

We have finish schedules in excel that everyone links a parts list to whenerver they need to display a finish schedule on the idw. However, when we add rows (new finishes) to the the excel finish schedule, they get displayed on the idw parts list next time the idw updates wether they are needed or not. Our practice is to only show finishes that are used on the drawing - so frequently a large portion of the whole finish schedule needs to be set to "off" or invisible.

View 3 Replies View Related

AutoCAD Inventor :: IDW Part List Item Numbering For IAssemblies

Jan 30, 2013

I have created an iAssembly which contains 4 assembly variations. I now want to create an assembly drawing for these variations.

In this case all my assembly variations will have the same assembly part number as essentially they are all the same assembly except for a few "change over parts".

I intend to have one drawing with multiple sheets. Each sheet will have one variation of the assembly on it with a BOM for that specific variation. The problem I am having though is that the drawing BOM for each variation are linked and as a result each drawing has an inconsistant item numbering (for someone in the workshop who doesnt understand the CAD package and iAssemblies - They ask the question: Why are you skipping item numbers in the BOM's)

Is there any way I can get each BOM to show the item numbers sequentially? I tried editing the drawing BOM item number but the problem is that method propogates the item number changes to all the other BOM's as well.... (It is also tedious AND in my opinion it is generally bad practice to edit the BOM at the drawing level)

View 1 Replies View Related

AutoCAD Inventor :: Cannot Change Parameter Value For ILogic Unless User Is A Local Admin On PC

Aug 23, 2012

I have a users who cannot change parameter values for iLogic unless user is a local admin on the workstation. This machine has just been upgrade to Inventor 2013.

View 1 Replies View Related

AutoCAD Inventor :: Cleaning Up Models By Deleting Obsolete User Parameter

Jul 4, 2012

I have created a large complex assembly that is parametrically driven by a skeletal sketch ipt by means of an embedded excel spreadsheet.

I am cleaning up the models  by deleting obsolete user parameters. But there is one that will just not give me the option to delete it.

I have interrogated the model inside and out but can not find anywhere that this parameter is still being used.

I go into the Parameter Dialogue Box (ƒx) and hover the cursor over the parameter and there is nothing that apears that indicates theis parameter is used anywhere in the model.

Is there an iLogic routine or some other method that will allow me to run a check or a search through the model that will point me to where the parameter might still be lingering.

I have attached a JPG if it will make things clearer.

RHRT_1 is the Parameter I am trying to get rid of.

BTW. The Models and Assemblies I create are guarded by Proprietry Laws so I am unable to send a copy to anyone.

Inventor 2012 Professional

View 1 Replies View Related

AutoCAD Inventor :: ILogic Rule To Read Out User Parameter Of IPart

Nov 1, 2012

I've created a main assembly containing several ipart components. With the following rule I can read the model parameters, but not the user parameters of the iparts:

A = Parameter("Part1:1", "d0")
 
If I create a component, insert it in the main assembly and make it an ipart afterwards, the user parameters can be read out with ilogic. But if I insert the same ipart again, the user parameters can not be read out anymore. Model parameters are no problem. 

View 1 Replies View Related

AutoCAD Inventor :: BOM Renumbering And Part List Sort By Item (iLogic)

May 15, 2013

i = MessageBox.Show("Do you wish to Renumber & Sort BOM?", "My iLogic Dialog", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1) If i = vbyes ThenTrace.WriteLine ("INV - Transfer; User Selection; Do you wish to Renumber & Sort BOM? - YES")'Renumbers & Sort BOMoPartsList1.Renumber oPartsList1.SaveItemOverridesToBOMoPartsList1.Sort("ITEM") Trace.WriteLine ("INV-ExternalRule - Renumber & Sort BOM#")Else if i = vbno Trace.WriteLine ("INV - Transfer; User Selection; Do you wish to change Renumber & Sort BOM? - NO")End if

what i want to do, is renumber the BOM by (001) then go to part list and sort by item.

View 9 Replies View Related







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