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


ADVERTISEMENT

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 :: 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 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 :: 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 :: 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 :: Suppress Component In Multiple Level Of Details

Feb 7, 2012

You are using an assembly with many LODs. Each time you place a component in your assembly , that one will be active in all level of Details.For some configurations, you would like one component to be active in only one LOD. Inc.

View 9 Replies View Related

AutoCAD Inventor :: How To Create LOD With Hole Feature Suppress At Assembly Level

Sep 3, 2013

In order to reflect production process, I have to create holes on the bent pipe at assembly level after 2 bent pipes are welded to the straight pipe. Now when I suppress holes, it does not suppress only at LOD or view rep but throught the whole assembly.

Is it possible to suppress features such as hole using LOD or view rep, which are made at the assembly level? or I have to use another method? See below in highlighted.

View 1 Replies View Related

AutoCAD Inventor :: Use Level Of Detail From Subassembly In Main Assembly?

Nov 19, 2012

How can i use a level of detail from sub assembly in the main assembly?

View 2 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 :: Suppress First Element Of Component Pattern

Oct 29, 2013

I have a rectangular component pattern which started out with all components.  As more structure was added around it I started supressing different elements to suit, now a piece of structure has gone thru element 1 but i dont seem to be able to supress it...  is there an easy way to get rid of element 1 without having to redefine the pattern? (redefining causes me other problems)

View 4 Replies View Related

AutoCAD Inventor :: How To Suppress Items In A Rectangular Pattern

Aug 29, 2013

If I have a RectangularPattern how do I suppress individual features in the pattern.

For example I have a single row of holes, and I want to suppress the odd numbered holes.

I've tried this...

CComPtr<FeaturePatternElements> pFeaturePatternElements ;
pRectPatFeat->get_PatternElements (&pFeaturePatternElements) ;
const int ikNumElements = pFeaturePatternElements->GetCount() ;
wprintf (L" this has %d FeaturePatternElements

[Code]....
 
... but it crashes at the assignment of Suppressed

View 4 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 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 :: 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 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 :: Suppress Pattern Occurrence Element With Macro Or API?

Sep 7, 2011

I need to be able to suppress individual elements of a circular pattern so I can retain the angular orientation while being able to reduce the number of instances.  I have found how to suppress the entire circular pattern, but can't seem to get the right terminology to access the elements one at a time.

The code I have to suppress the entire pattern is Feature.InventorFeature("Circular Pattern").Suppressed = True.

View 2 Replies View Related

AutoCAD Inventor :: Pattern Subassembly By Parameter

Sep 5, 2013

In my head assembly I have a subassembly that has derived parts from my skeleton. My skeleton (part ending with skt in the picture) is in the subassembly.

In this subassembly I made a view representation: NoSKT..When this is activated the skeleton is hided (see picture).If I now make a pattern of this subassembly in my head assembly with for example a parameter from my embedded excel or a parameter in inventor "quantity = 2" inventor will add 1 element with the same view representation. Still no problem.

The problem is now when I change the parameter. If I change the quantity to for example 3, the view representation of the third element is gone and the skeleton will become visible.I have many parts like this in my head assembly and quite a lot of patterns. Which means a lot of skeletons become visible. Is there a way to stop this from happening?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Subassembly Part Visible?

Oct 7, 2011

I am using Ilogic to control visibility of a subassembly in a subassembly of my main assembly. It works correctly inside of the subassembly just not from the Main Assembly. If I use IsActive instead it works but I can't use this because the dimensions in the associated drawings lose there attachment points using IsActive. I can change my assembly by removing the middle sub assembly but will require writing a lot more code.

View 8 Replies View Related

AutoCAD Inventor :: ILogic Rule For Subassembly Constraints

Jul 12, 2013

Is there a way to edit constraints inside a subassembly from the main assembly, using ilogic?

I would like to supress a constraint (let's call it mate:8), which is inside a subassembly. When I right click on that constraint, and select "Capture Current State", it inserts Constraint.IsActive("Mate:8") into my iLogic code. However, there is already a mate:8 in my main assembly, so how can I be more specific so that iLogic knows which constraint I am talking about?

Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer

View 9 Replies View Related

AutoCAD Inventor :: Changing Positional Representation Of SubAssembly Using ILogic

Oct 11, 2011

The problem

- I have a top level assembly (lets call it '01.iam', which contains a range of subassemblies (e.g. '02.iam', '03.iam' etc)
- The subassemblies have positional representations
- I want to be able to manipulate the pos.rep's from the top level using iLogic. 

I found this snippet of code on the forum which works when I create the rule in one of the subassemblies. 
 
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.PositionalRepresentations("MyPosRep").Activate

But I'm having trouble adapting it to work from the top level, as I would like all my rules saved in one place. 

View 4 Replies View Related

AutoCAD Inventor :: Running ILogic Rule In Assembly From Subassembly Part

Nov 17, 2011

I have a rule in the top assembly to update & want to run this as a final 'clean up' after various rules have run in sub assembly parts.

I have a rule within a part at the end of the line. I want this rule to goto the top assembly & run the 'Update' rule.

View 4 Replies View Related

AutoCAD Inventor :: Level Of Detail With Ilogic

Jun 28, 2011

I have an assembly and using ilogic to control the wide of the machine.The wider machine has some different brackets which I am turning on and off by using  "component . IsActive" in ilogic.

I had to make a new level of detail for it to work, and this is all fine except everytime I open this assembly it defaults back to master level of detail, so I always get this error.

How do I control level of detail with ilogic or how am i suppose to turn parts on and off.I have seen some impressive assemblies controlled with ilogic how do they do it.

View 9 Replies View Related

AutoCAD Inventor :: Find Level Of Detail Using ILogic

Sep 14, 2011

I'd like to drive a parameter depending on the level of detail being shown. How can find which LOD is active within ilogic?

I'll use this for driving a weldment : when the weld is on the bead parameter = 6 when the weld is off the bead parameter = 0.1

View 2 Replies View Related

AutoCAD Inventor :: ILogic To Change Properties On Top Level ASM Components Only

Oct 18, 2013

After changing colors at assembly level only ,below is a rule that changes all parts that have material "Plywood" to poplar works great.

However I want a rule that does the same kind of change but on only temporally at assembly level only then we can change back to default colors by removing color override.

It would be good if we can do the following

Search assembly for .ipt files that have material that contains PlywoodChange to color using temporary override of "Clear - Light" Possibility of searching more materials within same rule ie : "Timber" to be black in color"Pvcu"to be white in color

Dim oCurrentDoc As Inventor.Document
Dim oDoc As Inventor.Document Dim oPartDoc As PartDocument
Dim oRefDoc As DocumentsEnumeratorDim oTargetColor As RenderStyleDim oNewColor As RenderStyleoCurrentDoc =

[Code].....

View 1 Replies View Related

AutoCAD Inventor :: Rename Browser Node On Part Level With ILogic Rule?

Oct 18, 2011

is it possible to rename the browser node on part level with an iLogic rule? I know that in the assembly environment is an Inventor OOTB functionality to rename the nodes to the filename, Part number or the default value.

Inventor Professional 2011
Windows 7 Enterprise 64bit
Dell Precision M4500
Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
8 GB RAM

View 2 Replies View Related

AutoCAD Inventor :: Pattern Controlled With ILogic

Jan 8, 2013

I have a pattern of holes (exactly 3) on an object and when the object height changes so does the pattern base on height. My issue is that i need to create a rule or code that ensures that apart from the first hole (which is fixed), the remaining two holes are at a location that is divisible by 6. The reason being that this is a sheet metal part and our punch press has a template for aligning punches at every 6 IN.

We are using iLogic to automate some of our designs and the code is needed to eliminate having to worry if the punches are at the correct location for faster production.

View 3 Replies View Related

AutoCAD Inventor :: Pattern Visibility With ILogic

Oct 11, 2011

I've noticed that one can turn off the visibility of an entire component pattern by manually right-clicking the pattern in the browser and unchecking "Visibility". However, when one tries to automate this process with the following code, only the first element of the pattern is made invisible.

Component.InventorComponent("Pattern1").Visible = False

Is there a better way to do this, or will I be forced to develop a "workaround" like first changing the number of elements to 1?

I've been desperately trying to find a way to "turn off" unneeded assembly components without iAssemblies or LOD's, but Inventor always finds a way to stop me. This workflow of turning off visibility and setting BOM status to "Reference" would work if only I can make patterns invisible, also.

View 1 Replies View Related

AutoCAD Inventor :: ILogic - How To Place Flat Pattern

Apr 11, 2012

I attached the iLogic code which is automatically creating dwg drawing (script borrowed from one of the discussion group users), also it creates 4 views. I`m just wondering how to add flat pattern ? 

View 7 Replies View Related

AutoCAD Inventor :: Change Pattern ILogic In Assembly

May 10, 2012

Change pattern ilogic. How do you change the distance and quantity  in an assembly with ilogic?

It is simple in a part but in an assembly the parameters and equations do show.

View 1 Replies View Related







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