AutoCAD Inventor :: IParts - Delete Feature If Suppressed In Every Row

May 7, 2013

I started with a huge ipart table which was created by a collegue who has now left.  The factory was unmanageable as it had reached the maximum amount of columns and was running very slowly.

To combat this, I decided to split the table in half so that the ipart will become two iparts.  I am now working on the first half...

A lot of features are unque to one or a few parts, so doing this enabled me to delete columns if all values in the columns matched after the table was halved.

I thought this would speed up the file but I have now realised I have a bunch of features sat in the browser than are suppressed in every member!

Is there any way to use ilogic or vba to run a script that will delete a feature if it is suppressed in every member?

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

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic - Skip Saving A Suppressed Component / Delete Suppressed Component

Aug 30, 2012

I have an assembly which has a few components suppressed.

My end results is another copy of the assembly (with copies of the all the parts) in another directory

Now i am able to create copies of un-suppressed parts using; (this allows me to SaveAs assembly components which are not suppressed)

DocumentsEnumerator = ThisDoc.Document.AllReferencedDocuments

And save a copy of the assembly using

ThisDoc.Document.SaveAs

I also added the fllowing snippet (which I am not sure what is does), but it does not work for me

Component.SkipDocumentSave = true

 When I open the newly created assembly, I still see the suppressed components in the model browser

I want to either;

Skip saving the of the components in the model browser (i.e. the Assembly)

OR

Delete the suppressed parts in the Assembly, so that they do not save altogether

View 3 Replies View Related

AutoCAD Inventor :: Suppressed Feature Parameter In BOM?

Jan 6, 2014

I have made a sheet metal panel with three hole in it.Every hole has separate  parameters.

When i suppress one hole and i go to the BOM i don't want to see the values of the parameters from the suppressed hole.

Is there a way to when i suppress one or two holes the values don't show in the BOM?

Everytime i suppress one or two holes the values show up in the BOM.

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Delete A Suppressed Component Pattern

Sep 20, 2013

How to modify the code below to delete suppressed parts in a pattern (entire pattern)?

Dim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesoComps = ThisDoc.Document.ComponentDefinition.OccurrencesFor Each oComp In oCompsIf Component.IsActive(oComp.Name) = False Then oComp.DeleteNext

 Code works fine if there are single instances of the part. It throws a error when you have a suppressed pattern.

View 7 Replies View Related

AutoCAD Inventor :: How To Delete Suppressed Components By ILogic Rule

Jan 24, 2013

I have an assembly which includes lot of parts (*.ipt) or sub-assembly (*.iam). I have some ilogic rules to control to suppress or un suppress them.

Now for the released assembly, I want delete all suppressed components by ilogic rule.

View 9 Replies View Related

AutoCAD Inventor :: Shared Sketch Generates Sketch Doctor Error - Feature Suppressed

Sep 21, 2011

I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013

View 2 Replies View Related

AutoCAD Inventor :: Can Delete Part Of A Fillet Feature

Dec 7, 2011

Can you delete part of a  fillet feature? While still keeping part of it & adding to it.

I have a fillet feature with 2 fillets to a part. One is in the wrong place.The Feature Fillett1 if you edit it, you will see what I mean. 

Keep the middle one. Both fillets are 0.25" / Replace the bottom fillet to the top corner.

I would like to keep the Feature in the order it is in, if possible.

I am using Inventor 2012.

View 2 Replies View Related

AutoCAD Inventor :: Suppressed Components In BOM

Apr 10, 2012

we are using level of details to suppress few components. when we are trying to take BOM for that level of details. we are getting the suppressed components also. is there any control we can do avoiding that suppressed component. I know if you make the BOM sequesnce to reference that wont come in BOM. but we need that file for other LOD.

View 9 Replies View Related

AutoCAD Inventor :: How To Hide Suppressed Elements

Jul 19, 2013

I have using Inventor api to open an assembly file.But while open the .iam file it will show all the suppressed elements.how can we hide this suppressed elements from showing?

here is my code
 
Dim asdoc As AssemblyDocumentasdoc = inventorApp.Documents.Open("F:ArunMasterMaster_RF-VH-ZZ-0800-0500-0600.iam")

View 4 Replies View Related

AutoCAD Inventor :: Dimensioning Suppressed Parts

Feb 28, 2012

I have created some "programs" to automate drawing creation of some of our most common products. The problem I hav eis with my assembly drawing. When parts are suppressed and unsuppressed, they don't seem to behave the same way that features do. When you dimension a part feature in an idw and suppress that feature, if a week later you unsuppress that feature the dimenensions come back.  Parts don't seem to follow this behaviour. If you dimension a part, suppress it, open and save the drawing, then later unsuppress it and open the drawing back up the dimesnions do not come back. Is there anyway for me to get these dimensions to "stick"?

View 9 Replies View Related

AutoCAD Inventor :: Search For Suppressed Constraint In Assembly

Sep 30, 2013

How could I center the suppressed constraint? I woul like to selecet it in the listbox.

Private Sub CommandButton1_Click()
Dim oAssDoc As AssemblyDocument
Set oAssDoc = ThisApplication.ActiveDocument
Dim oConstraint As AssemblyConstraint
For Each oConstraint In oAssDoc.ComponentDefinition.Constraints
If oConstraint.HealthStatus = kSuppressedHealth Then
Call ListBox1.AddItem(oConstraint.Name)
End If
Next oConstraint
End Sub

View 7 Replies View Related

AutoCAD Inventor :: Constraint Errors From Suppressed Parts When Using LOD

Jun 28, 2013

I am trying to model a large Control panel assembly using Inventor Pro 2011. It comprises of a main assembly with several adaptive sub assemblies containing the various items. (Relays assy, label assy, fixing assy etc). All works ok until I start using Levels of Detail to enable me break the assembly into smaller workable parts. I.e. Left door, right door, main panel full, main panel no doors etc. These will be used to create view reps from for my drawing views at a later date.

The problem I am having is I keep getting constraints failing on parts which are suppressed in various levels of detail. An example of this Is when I go to right door LOD and do a rebuild all, I get constraint errors from item relating to the main panel which is suppressed. I can suppress the constraint causing the error but when I return to the full panel LOD the constraint is still suppressed and the parts appear In the wrong place.

View 1 Replies View Related

AutoCAD Inventor :: Disable Parameters When Part Is Suppressed

Feb 18, 2013

I have a configurator assembly, which is controlled with an iLogic rule.

one of the parts is being changed in a lot of ways according to the different configurations. But in one of the Configurations the part must be suppressed, which works fine, however next time i run the rule i get an error message from all the other instances where it would change a parameter if the part was active.

I have tried adding if [the configuration that makes the part suppressed] = False then, in the beginning of the the code that fails, to simply prevent it from running, but it still makes an error.

and as you can see i have a lot of lines where the part normally would be configurated.

Error on Line 628 : Method arguments must be enclosed in parentheses.
Error on Line 629 : Method arguments must be enclosed in parentheses.
Error on Line 633 : Method arguments must be enclosed in parentheses.
Error on Line 634 : Method arguments must be enclosed in parentheses.
[code]........

I don't understand how to enclose the argument in parentheses.

View 9 Replies View Related

AutoCAD Inventor :: Search For Suppressed Constraints And List Them In A Listbox?

Jan 16, 2013

how could I search for suppressed constraints and list them in a Listbox.

View 2 Replies View Related

AutoCAD Inventor :: Copy A Ilogic Assembly Without Suppressed Parts

Feb 13, 2012

I have a iLogic assembly with some parts and sub assembly. I need to do a copy of this " Generator " to apply   the result later in other assemblies. (something like a member of a ipart or i assembly).

Is there any way to do the copy the assembly to a new folder without the suppressed parts and subassemblies (wich are suppressed in the initial main assembly by iLogic rules)?

I tried to use "Pack and go" and "iLogic design copy", but they always bring the suppressed parts and assembly's, to the new folder and which i don't need to apply in the other assemblies.

View 1 Replies View Related

AutoCAD Inventor :: IPart Suppressed Sweep 3D Sketch Failure

Aug 10, 2012

I have an Ipart I created and in some of the parts there is a swept feature. In other configurations it is suppressed.

The issue is that the 3D sketch for the sweep gets broken going to/from the configuration. The path is generated from an extruded cut that is also supressed.

I tried to recreate the sweep using a different sketch, but that wasn't successfull.

Is this a bug or is there a different aproach I can use?

View 5 Replies View Related

AutoCAD Inventor :: ILogic Work With Parameters On Suppressed Assembly

Dec 26, 2013

Is there a way to work with parameters on a suppressed assembly using iLogic.Everything works fine, but when I suppressed a part ilogic rule give me an error: Parameter: The component named "xxxxx:1" was not found.

View 1 Replies View Related

AutoCAD Inventor :: Control IPart With Suppressed Features In IAssembly

Mar 31, 2012

I have made a simple iPart with the option to suppress an extrusion. How do I control this in an iAssembly?

View 3 Replies View Related

AutoCAD Inventor :: Top Down Approach And IParts

Jul 5, 2013

I created an iPart of a flat sheet metal with several holes in it. It requires 3 Parameters to be be defined:

- length (user defined parameter which can take any value)
- width (user defined parameter which can take any value)
- hole_diameter

I created a skeleton file with several user defined parameters including length and width.

Both files (skeleton.ipt and flat_sheet.ipt) are placed in the same assembly. I now would like IPart instance to follow along the changes made in the skeleton - but how do I connect these parameters? and if not, what would be an appropriate Top Down approach for including iParts?

View 1 Replies View Related

AutoCAD Inventor :: IAssembly Containing IParts

Oct 21, 2011

If I put iParts into an assembly, and then convert this assembly to an iAssembly, I can include "Table Replace [My_iPart]" as a column in the parameter table. As the value of this column I can select the individual rows of the given iPart parameter table.

However, I can not make this column be a "Custom Parameter Column". (In fact it seems to me that in an iAssembly I can not make any other types of columns to be "Custom Parameter Columns" either). Also, if a parameter of the iPart is a "custom parameter", I can not carry over this "customness" into the iAuthor parameter table.

This means that I need to insert table rows by hand, one-by-one, which is quite cumbersome. Imagine you have an iAssembly containing only two iParts, each having N rows. This means N^2 rows in the iAssembly, all of which I need to specify by hand. Plus I can not use the "customness" of a parameter of an iPart within the assembly.

In an iAssembly containing an iPart, I would like to

- have a "Custom Parameter Column" in the iAssembly parameter table, which can select rows from the iPart parameter table (selectable values would automatically be all the rows from the correcponding iPart)

- if my iPart has a custom parameter, I would like to have this custom parameter available as a separate custom-value column in the iAssembly

Is it possible somehow? Or is it conceptually wrong?

View 3 Replies View Related

AutoCAD Inventor :: 2D IParts In Assemblies?

Aug 14, 2013

This is using Inventor 2013 Professional.

I've created a simple iPart and want to insert multiple instances of it into an assembly. The plan is to use a parameter-driven iPart to create multiple variations on the same basic model which will eventually be lasercut.

I've included a sample archive. 2DiPart is a simple part with a couple parameters. 2Dassembly is where I've tried to include this part. I'm able to walk through all the dialogs to place the iPart, and will even see it in the canvas as I select the insertion point. However, after I dismiss the dialog, nothing shows up in the canvas. I'm still able to see the component instances in the project explorer however.

How to best to get multiple instances of a parametric iPart into a drawing that can be lasercut.

View 2 Replies View Related

AutoCAD Inventor :: Creating Optional (switching Suppressed) Views Using Same Assembly File

Jan 31, 2012

In the drawing environment, is it possible to use the same file to show a client (example) option a or option b from the file? Meaning, can I create a separate side by side view in the idw using the same assembly file, but in different suppressed states? Or how does this work specifically? Right now all I have done is saved out the file with the different suppressed state showing, but this became obviously cumbersome quickly since the parts are similar and keep updating, thus forcing me to create yet even more optional files. I'm thinking that iLogic could be a possible fix.

View 1 Replies View Related

AutoCAD Civil 3D :: Can't Delete Feature Line From Site

Jul 17, 2012

I have a rogue feature line that I do not know where or why it appeared from. (Somehow it is a duplicate of my curb line, but offset.)I cannot delete this feature line. It is not applied to any surface as a break line, but when I go to delete it, it freezes autocad.

I have done all the basic steps of purging, audit, recovering, even tried mapclean and I still cannot delete it.

View 6 Replies View Related

AutoCAD Civil 3D :: Delete All Labels On Feature Line

Jan 31, 2013

How to delete all labels on a feature line? Ideally if we could just pick the line and have it's labels deleted. QSelect and Select Similar require too much interaction to be convenient.

View 9 Replies View Related

AutoCAD Inventor :: Inserting IParts Into Assembly

Jan 3, 2012

I created a Ipart with like 14 different configurations now it operates smoothly within the part. Now once i insert it into a assembly it wont let me chance the configuration. I heard there was a problem like this but i thought it was only when you insert a part into a assembly and change it into a ipart while its still within a assembly.

Now my part never was in a assembly. Ill upload it and let me know if you have the same issue. Once i drop the part it doesn't give me the option to choose a configuration and when i click the configuration in the itable it still doesnt change it. Now this is only within a assembly.

View 8 Replies View Related

AutoCAD Inventor :: Placing IParts In Assembly?

Sep 26, 2013

Subject: Inventor placing Iparts in Assembly (Autodesk Inventor 2010)

Problem:

When placing an Ipart into a project Assembly it will make a copy of that variant and place it in the same map as the Ipart.

So when variant B of Ipart A is selected it will make a copy of variant B in the same folder where Ipart A is located.

Question:

Is it possible to make a “save as” option or another similar manner to save those copies of variant B in a project map of a project assembly?

Instead of saving all the Ipart variants to a single folder. So each time a new project is started they have all the parts in the same folder.

Reason:

I am making a local library for parts that are used for repairs. These parts have many variants and some times need to be customized for a repair.

The current system keeps polluting itself causing the users to loose their parts and accidentally delete the original parts etc.

I contacted Autodesk support and theyrecommended to post this question on this forum. They did mentioned that vba programming could achieve this. I have no knowledge of this type of programming.

View 1 Replies View Related

AutoCAD Inventor :: IParts Dimension Shortcuts

Oct 21, 2011

I have a wishlist item.  One of my major process-related issues with iparts is the fact getting variables into your table is inconvenient.  Why wouldn't it be possible to put an "Add to IPart Table" option in the context menus for dimensions, planes, features, anything you can put in the table from the table window.  That way you are not constantly moving back and forth between your sketches and your table when you set up an Ipart or Iassembly.  This feature would save me TONS of time as well as clean up my tables.  Right now the easiest way to set up the table when dealing with a complex sketch is just to add all the dimensions, make my changes for each variation, save to table and then go back and delete the columns I didn't change. 

View 5 Replies View Related

AutoCAD Inventor :: Changing To Different IParts Within Assembly

Feb 3, 2012

How do you change from one i-part to different one within the assembly?

View 4 Replies View Related

AutoCAD Inventor :: Parameters In IProperties - IParts

Feb 14, 2012

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.

View 4 Replies View Related

AutoCAD Inventor :: Migrating Iparts And Iassemblies

Oct 23, 2013

I have a large library of standard parts and assemblies that I will be migrating from Inventor 2009 to Inventor 2013

Residing in this library are iparts and iassemblies. Both the factory and the members.

Question is how to migrate these iparts and iassemblies,.

 option 1   migrate the factory first THEN the members

 option 2 migrate the members then the factory (pretty sure this will not work)

option 3 migrate both factory and members at the same time

option 4 migrate the factory and generate new members (not my favorite option)

option 5 ?????

I should add that I intend to use task scheduler to migrate the files

Inventor 2010

View 5 Replies View Related

AutoCAD Inventor :: IParts Generating Folders

Jun 7, 2012

When we create iparts and generate the files from the mother ipart, Inventor creates an additional folder to place the iparts into.  Is there a setting somewhere to force Inventor to place these generated files into a user defined location?

Or is this just something we have to live with and do we have to manually move the files after generating them.

View 5 Replies View Related







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