AutoCAD Inventor :: Possible To Suppress All Part Features Using ILogic?

Jul 20, 2012

I have a couple of dozen features in my part, of which only one will be active at any time. The feature tree may be subject to additions, so I am looking for an ilogic rule that will first suppress all of the features in the part, and then switch on the specific feature I require (using a parameter). Any code to suppress ALL features?

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Suppress Pattern Occurrence In A Part File Using ILogic

Dec 8, 2011

I have set iLogic to change a rectangular pattern to a certain amount of occurrences depending on which is selected , i.e. 117 cavities, 140 cavities and 96 cavities. Only one is active (or unsuppressed ) at a time. 

What I need to do is suppress the 4 corners of each pattern, considering there's only one pattern and is dynamic.

View 2 Replies View Related

AutoCAD Inventor :: Adding Part To Frame Generator With ILogic Rules For Features

Jul 17, 2013

I have a wire trough that we typically use on all our units. Instead of modelling each trough as it's own separate part to length, I would like to add this part to frame generator for tracking there cut lengths etc...

A few items, there is two sizes that we use, but for now I will work with just one.

I have modeled the part and renamed the important parameters.

-WIDTH - stays the same

-HEIGHT - stays the same

-LENGTH - adjusted by frame generator

-RIBS - the part has 6 currently, but there is a rib added for every 1/2 inch. it is a rectangular pattern

-SLOTS - will be added to the trough every 2 inches of length, it is a rectangular pattern

-SLOT_DISTANCE - is 2 inches and never changes, if the trough is cut on a slot, which ever is easiest, to show half a slot or none, doesn't matter, this is just for a visual and BOM reference

I found a video that shows me how to publish parts to FG, but I am stuck for the iLogic part. Part attached.

Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49

View 6 Replies View Related

AutoCAD Inventor :: Suppress Flange Features

Nov 15, 2012

I am trying to make a way that suppress the flange features of all the panels that will be insert in the assembly so i can suppress all the features at ones in a assembly and don't have to do that for each panel separately.

I have a assembly with parameters and i have a part with no geometry but have linked the parameters from the assembly. In my panel part i link the parameters to the part with no geometry.

When i use the parameter in the assembly to suppress the flanges that works the way i want it. But when i insert the panel part into that assembly it doesnot work.

View 1 Replies View Related

AutoCAD Inventor :: Linked Features / Can't Suppress One Alone

Sep 9, 2013

The small cylinder was made first, then projected it to a sketch, made offset, and made the big cylinder, but i want to leave only the big cylinder alone. i want to suppress the small cylinder, but when i suppress the samll one both get suppressed.

How can i break this link, which was made by the projected geometry?

Even when i select the projected circle, right click and select Break Link, they still behave the same.

View 1 Replies View Related

AutoCAD Inventor :: Suppress Assembly Features In Drawing?

Mar 8, 2005

Is it possible to suppress an assembly feature in a drawing view?We make some components in an assembly oversized and then do a final machine step after welding or brazing. We show the completed assembly in the drawing but would like to see the assembly prior to machining in some views.If I suppress the machining features in the model it affects all views. Can we suppress the features in just one view?

View 6 Replies View Related

AutoCAD Inventor :: Rule To Suppress / Unsuppress Many Features

Feb 14, 2013

I have a code working that is not very efficient.

It works, but it is very slow, i suspect it can be 28x faster, but I don't know how

What I have:

I have a plate with many hole patterns.

I calculated how many holes each pattern has

Parameters: Excel_Holes_Row_0 to Excel_Holes_Row 27

For each Row i have 4 features:

Pipe Hole

Rectangular array of Pipe Holes

Product Hole

Rectangular array of Product holes

What I want to do:

I want to suppress/unsuppress features with a rule

If Excel_Holes_Row_20 < 2 It means Suppress the rectangular arrays on this row
If Excel_Holes_Row_20 = 0 It means suppress the hole features on this row

This is my
 
Dim oDoc As Document = ThisDoc.Document
Dim PFeats As PartFeatures = oDoc.ComponentDefinition.Features
Dim PFeat As PartFeature

[Code]....

View 3 Replies View Related

AutoCAD Inventor :: How To Suppress Pattern In IAM By ILogic

Aug 31, 2012

how to suppress a pattern in *.iam by ilogic?

I used ilogic to suppress the main components, but the rest are not suppressed.

For example, I have component "A" and make it a pattern (Colum and Row are variable). How to use ilogic to suppress rest not just "A".

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

View 3 Replies View Related

AutoCAD Inventor :: More Than One IMate With ILogic Suppress

Nov 19, 2013

Is there a way to put a bunch of imates under one line code?

 I have imate iInsert:1 thru iInsert:49 I need them all suppressed when an event happens.

 I can get it to work one by one but that would be a lot of code.

Tried a few other thing but seems not to work.

2012 Factory Design Suite ( will not load 2013)

View 9 Replies View Related

AutoCAD Inventor :: Using Array In ILogic To Suppress Components

Jul 10, 2012

Lets say you have 100 Keps Nuts in an assembly. Named (KepsNut1,KepsNut2, etc)And you want to suppress them on and off.

Would there be a way to make an array 1-100 and just say suppress/unsupress "KepsNut" & array list of numbers.To basically add the two strings and find all the components in that array and turn them off or on.!

View 9 Replies View Related

AutoCAD Inventor :: Suppress Parts Within Subassemblies ILogic

Aug 29, 2013

I am trying to suppress part that are labeled as "Reference" on the BOM Strutcture and I can't get the program to cycle through the subassemblies.  The following code runs through all the components on the top-level assembly but I can't get it to cycle through the subassemblies. 

oCompDef = ThisDoc.Document.ComponentDefinitionoAssemblyComponents = oCompDef.OccurrencesDim oOccurrence As ComponentOccurrenceDim oSubOccurrence1 As ComponentOccurrenceFor Each oOccurrence In oAssemblyComponents If (oOccurrence.BOMStructure = BOMStructureEnum.kReferenceBOMStructure) Then Component.IsActive(oOccurrence.Name) = False Else Component.IsActive(oOccurrence.Name) = True End IfNext

View 9 Replies View Related

AutoCAD Inventor :: Suppress Certain Pattern Occurrence In ILogic

Feb 22, 2013

How do you suppress a  certain pattern occurence in Ilogic?

View 6 Replies View Related

AutoCAD Inventor :: Suppress Solid Bodies Using ILogic

Jan 15, 2013

in addition to this question

 [URL]......

What is the code for hiding different Solid Bodies:

with the User Parameter type, I want to select a certain type of Shackle and suppress / hide the other Solid Bodies.

View 1 Replies View Related

AutoCAD Inventor :: Suppress Occurrence Of Pattern With ILogic

Sep 8, 2013

Is it possible to suppress an occurrence of a pattern in part environment using iLogic? I saw something for assembly environment, but I can't make it work for part. My iLogic knowledge is quite basic.

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Suppress Components In Assembly

Oct 25, 2011

I'm using I-logic to suppress components in an assembly. I've attached a screenshot with 3 suppressed components.

In the browser the parts are suppressed but in the BOM (items 6,7,9) they are not. Is there a piece of code for this?

View 5 Replies View Related

AutoCAD Inventor :: Unable To Suppress Pattern Element Using Ilogic

Aug 9, 2012

I'm trying to use ilogic to suppress some individual elements of a pattern but i couldn't find any command that can target component pattern elements. When i try to capture its current state with the right click menu it does nothing.

I can of course suppress the part within the element but then it doesn't update the BOM.

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Suppress Pattern In 2nd Level Subassembly

Jun 4, 2012

I need to suppress a pattern in an 2nd level subassembly. But is only able to do it in the same level where the pattern is placed etc:

If Length < 3000 mm Then

Component.IsActive("1 st level subassembly", "Name of pattern in 1nd level subassembly") = False

End If

But if i do it with an MakePath... etc.:

 If Length < 3000 mm Then

Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly", "Name of pattern in 2nd level subassembly")) = False

End If

If Length < 3000 mm Then

Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly"), "Name of pattern in 2nd level subassembly") = False

End If

is it not possible to suppress a pattern by an MakePath?

View 9 Replies View Related

AutoCAD Inventor :: Features On And Off With ILogic?

Oct 19, 2012

I want different features on and off with iLogic.

I have a text parameter with a choice menu of 1,2, and 3

This I want some features  on and off.

If I pass the parameter I get a message: No feature found with the name. Mvg Jos

Your drawings are only as good as the symbols that complete them...

View 9 Replies View Related

AutoCAD Inventor :: Deleting Features Using ILogic

Aug 2, 2012

I am working on a standard part that has different configurations depending on user inputs into a GUI. Once the user enters all the required parameters, the part is in its final form with all unnecessary features suppressed. I am looking for a way to automate the delete of the suppressed features using a rule and i Logic before the user saves the file.

The main reason for doing this is to reduce the file size of the part once it is saved because this same template will be used for hundreds of parts and I don't want to waste unnecessary storage space on suppressed features.

View 7 Replies View Related

AutoCAD Map 3D :: Suppress Data Window When Drawing FDO Features?

Jun 15, 2011

how to suppress the Data Window from appearing after drawing a new feature?  Most of the new features are populated with triggers and autonumbers, so I don't need to see the Data Window when I draw something new..

View 1 Replies View Related

AutoCAD Inventor :: Access Assembly Features Through ILogic

Nov 19, 2012

I'm now having an issue accessing the features in an assembly, the error message is attached and the following is the relative code.

The error line is between the 2 Test Messages:

'Create a Component Definition relative to the Part Document

Dim oFeature As Features
Dim oAssembly As AssemblyDocument
oAssembly = oCompOcc.Definition.Document
MsgBox("Test 1")

'Cycle through all features in the Part
For Each oFeature In oAssembly.ComponentDefinition.Features
MsgBox("Test 2")

View 3 Replies View Related

AutoCAD Inventor :: ILogic FOR Loop To Unsuppress Features

Sep 10, 2013

I am currently designing a heat exchanger and want to adjust the number of water channel using iLogic. The number of channels to be active is based on the channel dimensions, and is calculated in my excel spreadsheet, but up to a maximum of 19. This is stored in the parameter "no_channel". Each channel is a seperate feature (extrusion) and named from "Channel 1" though "Channel 19".

My idea of doing this automation was to have iLogic suppress all the features, and then doing a closed loop to unsuppres the features I want active:
 
Feature.IsActive("Channel 1") = FalseFeature.IsActive("Channel 2") = False...Feature.IsActive("Channel 19") = FalseFor i = 1 To no_channelFeature.IsActive("Channel"(i)) = TrueNext
 
However, this gives me the following error:

Error in rule: Number of channels, in document: Radiator fin side.ipt

Feature.IsActive: No feature found with the name: "h".

View 2 Replies View Related

AutoCAD Inventor :: How To Use ILogic Rule To Delete Rules And Features In Other Parts

Aug 10, 2012

I made an Part with iLogic rules, let's call it "iLogicPart". The rules inside could create lot of different part by my input.

I want save the different parts to different name as "Part 1", "Part 2", etc. I used SaveAs to get them.

My question is: I want to delete all rules and parameters in the saved parts as "Part 1", "Part 2". And I have lot of features (the name is hard to track) which are inactive, I want to delete them at same time too.

I could manually do so, but I want to use rule to do so automatically.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Rule For Each Part In Assembly To Change Part Parameter

Apr 1, 2013

I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)

The one below doesn`t work.

Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub

View 5 Replies View Related

AutoCAD Inventor :: Create Derived Part Using Only Some Features?

Jan 12, 2014

it's possible to create a derived part using only some of the features of the base components i.e. I've got a funny shaped part with a bunch of holes in it, and I need another part with exactly the same shape but totally different holes (location and size)I know you can do this with the different solids in the part (only use some of the solids) but I haven't been able to figure it out with features, if it's possible at all.

I could probably create one base part (just the shape) and derive both parts from that, but then I've got a part lying around doing jack.using IV 11.

View 5 Replies View Related

AutoCAD Inventor :: Accessing Features From A Part In An Assembly

Aug 22, 2012

I'm crating a macro wich would allow me to select multiple parts in an assembly and then calculate the length of each part. The parts are tubes wich are made of a sinlge sweep.

I started from the example truesweeplength, and built from there.

Now my problem is accessing the sweepfeature from the assembly.

In the part enviroment i use this:

Dim oDoc As PartDocument
Dim oDef As PartComponentDefinition
Dim osweepcount As Long  
Set oDoc = ThisApplication.ActiveDocument
Set oDef = oDoc.ComponentDefinition
osweepcount = oDef.Features.SweepFeatures.Count

The sweepcount is simply to check how many sweep features are in the part.

This works fine in part level.Now from assembly level I first create an obecjtcollection from all the parts I selected

Set oOccurrences = ThisApplication.TransientObjects.CreateObjectCollection

Then I try to acces the first occurence

oDoc.SelectSet.Item(1)

But then I'm stuck. I cant find the way to acess the features of the selected part.

View 6 Replies View Related

AutoCAD Inventor :: ILogic Connection From Part To Part

Feb 8, 2013

Is there a way to connect parameters from part1 to part 2 using iLogic, without using an assembly.

View 9 Replies View Related

AutoCAD Inventor :: Large File Size For Part With No Features

May 23, 2012

why I have a part file that is almost 12MB in size yet it contains absolutely no features? I would attach the part but it's too big to upload.

View 2 Replies View Related

AutoCAD Inventor :: Passing Down Assembly Features To Part Level

Dec 11, 2012

How do you save features added in an assembly to the part? For example, if I add a hole in an assembly, presently I cannot see it when I open the part. It seems like a very basic function, I'm not sure why it doesn't do it automatically.

View 6 Replies View Related

AutoCAD Inventor :: General Opinion On Calculations Of Part Features

Aug 15, 2012

Using inventor to calculate specific distances or counts of features on a part.  Say for instance, the lineal feet of a radial edge, or the number of cutouts a part may have.  If so, how are you approching this?  Can be programs written with the API/iLogic or just general setup I am pretty versitle and open to any discussion.

View 6 Replies View Related

AutoCAD Inventor :: Delete Work Features From Derived Part?

Nov 10, 2011

How do I delete work plane 1 from the attached part, 'test derived'?

workflow.

create a part, pattern a plane, save as 'test deriver'

create new part, derive work plane 1 from 'test deriver' sketch onto work plane 1, save as test derived

go back to 'test deriver, delete the pattern and create a new pattern, work plane 2, (i couldnt just edit it because the real life case was a series of patterns at different distances)

open part 'test derived', edit the derived part to include work plane 2, (work plane 1 doesnt exist in 'test deriver' anymore) redefine the sketch onto work plane 2

try to get rid of work plane 1 from the part?

View 4 Replies View Related







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