AutoCAD Inventor :: ILogic Removing Duplicates From A List?

Jul 18, 2012

I populate the members of a (text) Paramter from an Excel file

i.e.

MyArrayList = GoExcel.CellValues.("MyExcelWB.xlsx", Sheet1", "A2","")

Now this list contains plenty of duplicates. Is there anyway inside iLogic to remove the duplicates.

View 1 Replies


ADVERTISEMENT

3ds Max :: Shader List (Volume) Duplicates Last Item In List

Nov 4, 2011

I use a setup with Shader List (Volume) with two mists. One regular and one to blur out the horizon. After working on the scene for some time I notice that the shader list now contains eight copies of the last shader. I think I would remember if I did that. So, whats up with the shader list?

View 1 Replies View Related

Lightroom :: Removing Duplicates Images

Nov 30, 2012

When I migrated from iPhoto to LightRoom I wound up with many hundreds, if not thousands of duplicte images.
 
I purchased the "Duplicate Finder" plug-in, which indeed finds the duplicates, but ther eis no way to simply delete them. I would imagine many users have been through this at some point and hope there is a relatively simple way to get my catalog under control.

View 5 Replies View Related

AutoCAD Inventor :: Find And List With Ilogic

Nov 18, 2013

Trying to have ilogic find parts in an assembly that start with 900C7 so I can link the to a cell in excel showing the QTY and the LENGTH..

Right now I am just trying to get ilogic to find and list them then I know I can move to the next step..

Example:

 900C71.250

 900C72.125

 900C7A.750

 900C7P1.1875

 And many more.

Here is what I have but it keeps posting the NOTHING message box. I have a few of the parts in the assembly and a few none 900C7 parts.

Dim openDoc As Inventor.DocumentDim docFile As Inventor.DocumentDim assemblyDoc As AssemblyDocumentDim partOcc As ComponentOccurrenceDim FNamePos As LongDim docFName As StringDim oList As Collection = New CollectionopenDoc = ThisApplication.ActiveDocumentIf openDoc.DocumentType
[Code] .....

Here is a screen shot of the excel file what I am trying.

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Dropdown List For BOM In IDW

Dec 11, 2012

Is there a way I can write some code, so that in idw, I can choose from two different text for "Description" in BOM table? My work place requires to show material information when it's a fabrication drawing, to show part description in assembly drawing in "Description" column.

At the moment, we just override material information (for example, 40x40x3 RHS) to part description (RHS Spreader). It's not very safe to do that. Most of the times, we just forget to change it.

Autodesk Inventor 2013 SP1.1 64-Bit
Vista Business 64-Bit
E8400, 8GB, ATI FireGL V5600

View 5 Replies View Related

AutoCAD Inventor :: ILogic - FOR Every Entry From A List

Dec 11, 2012

I have a section of code (see below) which runs a program which highlights a part/subassembly red, then gives the user a list dialgue box in order to easily replace the compent. At present, I have this code repeated for each part/subassembly in my main assemby (i.e. FRAME, POWER_RISER, BUSBAR_CHAMBER, BUSBAR_ASSEMBLY...).

Having the code repeated multiple times, means it is very time consuming to modify. I want to be able to generate a list then have the code below, run for each of the entries in the list. So I need something along the lines of

dim mylist as something
mylist = FRAME, POWER_RISER, BUSBAR_CHAMBER, BUSBAR_ASSEMBLY...
FOR each entry in mylist
run all the code below (with the words 'BUSBAR_ASSEMBLY' replaced with 'mylist'
END

[Code] ........

Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

View 3 Replies View Related

AutoCAD Inventor :: ILogic Comparing One List Against Another

Nov 15, 2013

It takes a list of Parameters and cycles through the assembly looking for parts with the same parameter names. It then copies the value of the parameter from the assembly down to the part.

It occured to be that this would be more efficient if I didn't have to manually create a list of parameters to compare.

What I'd like to do is create a list of all parameters in the assembly file that begin with the prefix 'A_', and compare this list against the parameter list held in each subassmbly and part file in the assembly, copying the values down as before.how to build the parameter list?

' set a reference to the assembly component definintion.' This assumes an assembly document is open.Dim oAsmCompDef As Assembly Component DefinitionoAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition'Iterate through all of the occurrencesDim oOccurrence As ComponentOccurrenceFor Each oOccurrence In oAsmCompDef.Occurrences'check for and skip virtual components'(in case a virtual component
[code]....

View 9 Replies View Related

AutoCAD Inventor :: ILogic Input List Box?

Dec 10, 2012

I have almost got my ilogic part working the way I want it.  I have to go into the parameters and choose from a Multi-Value list.

Is there a way in ilogic to get a input box to come up when I place my part in an assembly (like an ipart)?

View 3 Replies View Related

Photoshop Elements :: 11 - Removing Duplicates From Catalog

May 31, 2013

I have a lot of duplicate pictures in my catalog that I would like to delete. Is there a way to have all duplicates aggregated and delete in one shot?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Remove Duplicates From A List?

Feb 12, 2011

Searched NG and did not find anything.

Given a list remove from list if both (nth 0) and (nth 5) are duplicates in list

(setq dolist '
(("CABLE, MIL-C-24640/18D " "IAF" "A/R" "FT" "6145-01-224-9183" "-" "3XSOW-7" "C-LC(1), (2)")

[Code]....

View 9 Replies View Related

AutoCAD Inventor :: ILogic Input List Box Width

Oct 26, 2011

Is there a way in iLogic to set the input list box width?

View 7 Replies View Related

AutoCAD Inventor :: Ilogic Generate Parts List?

Oct 4, 2012

I curently have a rule that generates a part list automatically in a drawing. the problem is that I want the rule to be continuisly running but it keeps generating 2,3,5... parts lists. I need an if statment to check if a parts list already exists.
 
iLogicVb.UpdateWhenDone = True On Error Resume Next ' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the

[Code].....

View 2 Replies View Related

AutoCAD Inventor :: Ilogic - Programmatically Add Parts List

Jun 19, 2013

im trying to programatically add a parts list into a drawing whilst programatically creating the drawing - the code works fine without the parts list code. The error its showing is 'Parameter incorect' on the line that sais PartsList.add(...   In the past when ive got this error with other code it has been because ive used an incorrect parameter (e.g. decimal instead of an integer).

My error is somewhere inside the oPartsList.add(>>ERROR SOMEWHERE HERE<<<)

oDrawDoc = InvApp.Documents.Add(Inventor.DocumentTypeEnum.kDrawingDocumentObject,AssyTemplate,True) 
oSheet = oDrawDoc.Sheets.Item(1)

[Code].....

View 1 Replies View Related

AutoCAD Inventor :: ILogic And Export Parts List In A IDW

Nov 18, 2010

I need to generate an iLogic rule exporting Parts List (not BOM) from a IDW to a specific folder in XLS format.

Using Autodesk AutoCAD Inventor 2011

View 9 Replies View Related

AutoCAD Inventor :: ILogic Multi-Value List From Materials

Jul 8, 2012

I am trying to populate a multi-value user parameter with a list composed of the various materials available from the iProperties "Physical" tab. So far I have this:

For Each material In iProperties.Materials        
Bracket_Material.Items.Add(material)        
Next
iProperties.Material=Bracket_Material
Running the Rule gets this error message:
Rule Compile Errors in Material_Rule, in _Mounting_bracket.ipt

Error on Line 2 : 'Bracket_Material' is not declared. It may be inaccessible due to its protection level.

I think I am doing the "Bracket_Material.Items.Add(material) " line wrong, but I don't know enough VB to fix it. It seems to me it IS declared in the Parameters table - isn't adding the parameter to the parameter table sufficient to declare it?

Eventually I want to add the Bracket_Material Parameter to a form so the user can select material from drop down list and assign it to part.

View 3 Replies View Related

AutoCAD Inventor :: Parts List Sort Using ILogic

Nov 7, 2011

I have got some ilogic code that i have patched together to sort my parts list in inventor which works great but it will not update all sheets at the same time as when we design we have multiple sheets with parts list on and the odd one without.

add to this code to update all sheets partlists and also recognise that some sheets will not have partslists on so this will need to skip. 

below is code that is used to sort

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:    4558 StartFragment:     314 EndFragment:    4526 StartSelection: 314 EndSelection:     314
SyntaxEditor Code Snippet
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 4558 StartFragment: 314 EndFragment: 4526 StartSelection: 314 EndSelection: 314
[Code] ...........

View 4 Replies View Related

AutoCAD Inventor :: ILogic To Change Parts List Style

Feb 8, 2012

Below are 2 rules that run in succession to create and save a parts list from a base view in a drawing.

I am now trying to set the parts list style to a custom style, ideally while creating the list.

Also, I have to manually go into the list to turn off visibility of certain items (based on material), does I can do this with Ilogic?  I ask because these steps precede a rule that automates placing base views of all parts in the parts list.  If I could get the style and visibility right, I could automate the entire process.

Looking for changing such a style with ilogic?

Inventor & Vault Pro 2012
Windows 7, 64bit
Core i7 920@2.67
8GB

CREATE PARTS LIST____
' Set a reference to the drawing document.
' This assumes a drawing document is active.
Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisApplication.ActiveDocument
'Set a reference to the active sheet.
[Code] .....

View 9 Replies View Related

AutoCAD Inventor :: Can IAssembly Configuration List Appear In An ILogic Form

Aug 29, 2013

A client was looking to develop a custom interface for documenting iAssemblies.

Would it be possible with iLogic to:

1. Show form.

2. User selects a Browse button to select iAssembly to document.

3. List all iAssembly configurations in the form.

4. User picks configuration.

5. Select OK to create base view, projected view, and Parts List.

This may require API.

View 7 Replies View Related

AutoCAD Inventor :: ILogic - Control Position Of Parts List

Oct 31, 2011

I am creating a drawing controlled by ilogic. The assembly can vary in size considerably so I have set the IDW to change between sheet size A3 and A2 accordingly using ilogic. However, when the sheet size is changed, the parts list stays in a static position.

Currently, the parts list is situated in the top right corner up against the title block and the border. So when changing from Size A3 to Size A2, the parts list ends up in the middle of the page. Is there anyway i can control the position of the parts list so it changes with the sheet size change?

I know I could simply move the partslist to the bottom left corner, which is a work around. However, I'd like to be able to keep the drawings in line with the company standard.

View 1 Replies View Related

AutoCAD Inventor :: Add Category Field To Parts List Using ILogic?

Apr 4, 2013

I am Trying to add the category Field to the parts list, if a sting exists in the field. I want to run this as a rule at the Drawing Level. I can check if there is a sting in the Category Field But not sure how to add this in the Parts List.

View 4 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 :: Part List Column Width ILogic

Jun 11, 2013

I found the following code on Curtis Waguespack site. [URL] ........

View 3 Replies View Related

AutoCAD Inventor :: List Of ILogic Commands / Syntax Functions

Sep 6, 2013

I used to have an A1 printed sheet of all of the ilogic commands, functions, syntax or whatever you call them.  It was all nicely grouped and colour coded etc

Unfortunately I have since moved jobs and lost this and neither me or google can find this again, any copy or link?  it may have been a pdf or excel format.

View 3 Replies View Related

Lightroom :: Moving Folders And Keeping Ratings - Removing Duplicates?

Jan 31, 2012

1. I have a number of folders where the photo's where stored on my Mac HD. I then moved these folders to a new location on an external HD. I re-imported these folders into Lightroom and they showed up under the external HD. However, all of the colour coding/ratings and even the adustments I have made to the images are not visibible. Is there a way I can correct this?
 
2. I've also imported a number of folders to Lightroom that were originally colour coded/rated in Bridge and edited in Adobe Camera RAW. Again the edits that I made to these and the ratings info is not visible. Is there a way I can change this?
 
3. Is there a way to search for duplicates within a particular folder or within the whole library?

View 2 Replies View Related

AutoCAD Inventor :: ILogic To Turn Off Visibility Of Lines In Parts List

Aug 21, 2013

At my company when producing drawings for manufacture we require a sheet for any steel profiles to be cut!..We do this by selecting the assembly from base view,hitting model view tab, selecting presentation and choosing the relevant profile from the drop down!

Once the profile is placed, we highlight the view and hit the parts list tab which obviously creates a parts list, but for the whole assembly, we then have to edit the parts list by turning off the visibility of the lines of all the parts which are not relevant!!...as you can imagine this is quite a laborious task if you have 50 different profiles.

The reason for this is to show the qty, steel grade and part number to the suppliers. My question is, any code that will take the lines of the parts list that are not relevant to the selected view and turn the visibility of those lines off?

View 1 Replies View Related

AutoCAD Inventor :: Place List Of Components With IMates Into Assembly Using Ilogic

Feb 15, 2013

I was just wondering how to place a component into an assembly using ilogic?  If this is possible, is there also an option to choose if iMates will be generated?

I would ideally like to place a list of components into an assembly, the list with probably exist in excel, then have iMates set to 'Automatically generate iMates on place' so that my assembly assembles automatically.

Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

View 7 Replies View Related

AutoCAD Inventor :: Write Text String To Parts List With ILogic

Mar 5, 2013

I'm trying to create an iLogic rule that will print a text string to a cell or coloum of a parts list in inventor.

My code so far...

Sub Main()
On Error Resume Next
Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisApplication.ActiveDocument
[code]......

I want to print what is in the Message Box into a cell in the parts list, and i am stumped. The cell i am trying to print to is a user property in the Parts List.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Rule To Print String To Parts List?

Mar 5, 2013

I am trying to make an iLogic rule that gets mutliple strings from different places, and prints them to a user property in the Parts List.

My ultimate goal is to print the drawing number, sheet number and the item column value to the user property with the format being...

"XXXXX-X-X"

So far, i can get the drawing number from an iProperty and the sheet number easily. But im getting stumped on obtaining the item coloum value and printing it to the same row.

This is what i have so far...

Dim DWGNUM As String = iProperties.Value("custom", "DWG Number")
SheetNumber = Mid(ThisDoc.Document.ActiveSheet.Name, InStr(1, ThisDoc.Document.ActiveSheet.Name, ":") + 1)
MessageBox.Show(DWGNUM+"-"+SheetNumber, "DXF Number")

And print the message box output to a column in the parts list

View 7 Replies View Related

AutoCAD Inventor :: ILogic Rule To Change Parts List Style

Jul 2, 2013

I need an ilogic rule to autmoatically change the style of the parts list in a drawing file.The parts list style already exist in the drawing.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Add Reference Brackets To All Dimensions For A List Of Drawings

Apr 2, 2013

I already have a code below that will read a bunch of drawing filenames that will go into each drawing, save the drawing, (print the drawing but I have this disabled for now,) close it, then move onto the next one.

What I want to do is add reference brackets around every dimension on each drawing. I have managed to update part list styles before using ilogic but I am not sure if it is possible with dimensions.

question = MessageBox.Show("Are you sure you want to update multiple drawings? If so, make sure all drawings are checked out.", "Batch Drawing Update",MessageBoxButtons.YesNo,MessageBoxIcon.Question)

'set condition based on answer
If question = vbNo
Exit Sub
End If

[Code] ......

View 4 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