AutoCAD Inventor :: ILogic To Control End Of Part

Sep 16, 2013

Is it possible to control (move) End of Part with iLogic? Let's say to move it before or after a certain feature.

View 1 Replies


ADVERTISEMENT

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 :: 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 :: ILogic To PDF Layers Control?

Jul 26, 2013

I am using ilogic rules found in this forum to publish to pdf. 

I would like to know if its possible to hide certain layers while publising to pdf.

So is it possible to do that with ilogic? 

View 1 Replies View Related

AutoCAD Inventor :: ILogic Control Browser Folders?

Nov 22, 2013

Working on a product configurator using iLogic and have a large amount of hardware that needs to be suppress or unsuppressed based on certain parameter choices.  Instead of creating hundreds of lines of code suppressing and unsuppressing the hardware one by one, I was hoping to put hardware into folders based configurations.  In my mind this would have allowed me to have one line that would suppress the folder as needed.  Unfortunately I cannot figure how to suppress a folder in iLogic as I saw someone else mention I was hoping for a "Folder.IsActive" rule but have yet to find one. 

Inventor 2013

View 6 Replies View Related

AutoCAD Inventor :: Using Excel And ILogic To Control IParts

Jan 9, 2012

I am currently using iparts/assemblies to model a resistor bank. We have dozens of different configurations and currently each time we need a new one its is re modeled from scratch.

I have created an assembly with all my relevant parts and controlled it through parameters to auto update when key values are changed.

What I would ideally like to do is to either link my two iparts to the iassembly though the excel sheets they use. Currently I have to added each variation to the parts first and then added the parameters to the assembly.

Would it be possible to have a master sheet were all control values are inputted and then each excel sheet for the different parts are linked to this?

As the excel sheets are saved in the temp file and are deleted once you have finished editing I have found it hard to do this so far. Can I change where they are saved? I tried save copy as which created the file but inventor did not link to it.

If this is not possible can I utilize iLogic to input the key values and then write them to a new row in the table. I have created a rule already to limit the number of elements and also the length of the by's (the space between each supporting rod). I have included a zip file with all my parts in it.

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Control Number Of Parts

Dec 7, 2011

I need to use/write a iLogic code. I have a assy, in this assy i have parameter Height and Width. And it´s no problem to controlls this two rules/value.

But I have a problem with the rule when my height will control the number of parts

If my height is 500-1000, one part.
If my height is 1000-1500, two parts.
If my height is 1500-2000, three parts.

Is it best to use suppress or use a pattern in this case?

View 1 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 :: ILogic - Can't Set Location For Windows Form Control

Mar 21, 2013

I am trying to create a windows form within iLogic. Everything works except the lines defining the location on the controls. I keep getting the following error: 'New' cannot be used on an interface. The error refers to lines in the code that try to set the control location on the form. (i.e. "button1.Location = New Point(10,10)") Ihave pasted the code below and have it attached as well. I am in Inventor 2013.

AddReference ("C:WindowsMicrosoft.NETassemblyGAC_MSILSystem.Drawingv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll")Dim oOccurrence As ComponentOccurrenceTry oOccurrence = ThisDoc.Document.SelectSet.Item(1)Catch MessageBox.Show("Please select a component before running this rule.", "iLogic")

[Code] ........

View 1 Replies View Related

AutoCAD Inventor :: Control Break Size In Drawing View Using ILogic?

Feb 24, 2011

is there any way using iLogic or other method to automatically control the size of the 'break' in a drawing view? I have built a model which uses iLogic to control virtually everything, however the large variations in the length of the product mean that there are some interesting results when it comes to the broken drawing views updating.

it would be nice to locate the break at the absolute center of the view and then size it as a percentage of the view size along one axis or perhaps according to some other length based rule.

Dell Precision M6400 - C2D 2.66 / 8gb / Quadro FX3700M / Win 7 Pro x64

View 9 Replies View Related

AutoCAD Inventor :: Parameters To Control The Part?

Feb 13, 2013

I have a part made where various parameters in it.

Now I place the part in a assy and from there i want the parameters to control the part.

I do this now by the same parameters from the part to add in the assy by  typing the parameters manually in the assy.

Is there a way that you can define parameters retrieved from the part about the assy without retyping and therefore can make mistakes?

View 5 Replies View Related

AutoCAD Inventor :: How To Control Part Count

Oct 5, 2011

I am modeling a P&ID piping system.  The system has 10 valves of the same exact type.  When I generate my parts list I see a valve count of 10 beside the valve callout.  Because each valve has a unique tag that relates to its position in the P&ID I need to be able to show each valve  with the count of 1 in the parts list.  I will add a custom field thta has the valve tag in it.  I don't know how to get the parts list to not total the number of each type of valve.  In other words I need to show each valve in its own separate field. 

AutoCAD 2013
Inventor 2013
Windows Pro 7 x64
Asus Sabertooth X58
Intel Core i7 960 @ 3.2 GHz
24 GB ram

View 5 Replies View Related

AutoCAD Inventor :: Control Parameters Of A Part That Is Not In An Assembly?

Nov 4, 2011

I am trying to control the parameters contained in a part that is not in my assembly. May sound odd, but I am using the multi body part modeling feature to create all of my bodies in a single part file, then making these components/sub assemblies, and pulling them into my assembly. However, I do not want to have the "control part" in my assembly, I just want it to drive the parts. I cannot figure out how to access these parameters without having the part included in the assembly...

View 7 Replies View Related

AutoCAD Inventor :: ITEM Number - Can Control It Through A Part

Apr 30, 2012

I just wondered if can I assign a particular ITEM number to a particular part, instead of relying on order in the assembly.

I unsterstand I can overrite it in BOM but can I have it controlled from the part, so any time I instert it into an assembly, this particular number in ITEM coulmn pops up?

View 9 Replies View Related

AutoCAD Inventor :: How To Control View Reps When Placing New Part

Jul 10, 2012

When placing or creating a new part in an assembly it is visible in every view rep which is a huge pain the proverbial. 

Is there a setting to tell Inventor to only make newly inserted/created parts visible in the active view rep. 

I am so tired of having to go through all my view  reps every time I add a new part to an assembly.

View 4 Replies View Related

AutoCAD Inventor :: Control View Scale According To Part Size

Oct 18, 2012

Inventor 2013 sp1

i want to control the scales of my idw views based on the parts size.

Heres a short intro to what we do, using design assistant we copy an existing project to a new project folder and start designing using the old project as a "template" for the new job.

So, lets say the project i just copied has a part that is 100" "tall", on my drawing sheet the view scale is set to .05 and the view fits nicely on our 8 1/2x11 portrait layout.

Now, the new project's part is only 24" "tall" and using a scale of .05 is no good at all, i need to scale the view up so it will fit nicely in the same layout. This also applies to the associated detail and section views that are on the same sheet.

OK then, Im thinking there should be a way to say if dimx is >=100 then view scale is x and so on if the part is smaller and i would like to do this with the details/sections.

As the pics show, when i change to a smaller size/dia, the views scale needs to be increased. How can this be done... (we do not use vault)

View 1 Replies View Related

AutoCAD Inventor :: Derive Part Using ILogic?

Nov 10, 2011

I need to derive a part in a model (not assembly and as a separate solid), to remove it and make a cavity. However, I need inventor to prompt what file is to be derived through iLogic.

View 5 Replies View Related

AutoCAD Inventor :: Extract Part Qty With Ilogic

Aug 3, 2012

I have an assembly with 20 parts.

I will make a detail drawing of the parts in the assembly.

In the detail part IDW I would like to have the qty needed for the assembly 1,2,4 ect.

So how I think the ilogic should work.

In the detail drawing have a rule named QTY when ran auto or manually Will pompt to pick the Top Level Assembly the parts are in.

The user will look for the top level assembly select it.

The rule would filter out all parts but the detail part number and return the QTY of parts needed for the assembly.

I only need the Qty.

I know this is done by the number of Occurrences in the assembly this I can find but what I can't find is how the user would look up the assembly and set it to parts only.

Like the pic below when doing a parts list.

I don't need the select view because it is a part and it would return QTY of 1 but the assembly may have 5.

2012 Factory Design Suite ( will not load 2013)

View 9 Replies View Related

AutoCAD Inventor :: Replace Part Using ILogic?

Jun 13, 2013

I have an assembly which I want to replace one of the parts with one of four other parts.

My code reads:

Select Case Width
Case "750"
Component.Replace("part:1", "L:Drawingspart2", True)
End Select

This works fine and when 750 is selected, part1 is replaced with part2.

My problem is then if I want to select "1000" I don't know the part name which I will be replaced by part3 as this could be part1, part2, part4,or part5.

View 1 Replies View Related

AutoCAD Inventor :: Run ILogic Of Part In Assembly?

Jul 25, 2012

How to run iLogic Rule which I created for .ipt  file in assembly?

As I have a myPart.ipt file with iLogic Rules which could create part1.ipt, part2.ipt, ..... (hundreds of them).

Now, I want creats iLogic Rule in myAssembly.iam to run the iLogic Rules in myPart.ipt in order I could create correct .ipt file to be used in myAssembly.iam.

View 4 Replies View Related

AutoCAD Inventor :: Same ILogic Part In Same Assembly?

Jul 26, 2012

I have the same ilogic part placed in the same assembly, and i am trying to drive two different configurations of the same part and when i apply the configuration it changes both of the parts but to only one of the configurations.

Is there a way to drive them seperately even though they are the same part.

View 5 Replies View Related

AutoCAD Inventor :: ILOGIC For Part IProperty Prompt?

Jun 6, 2012

I am trying to find an ilogic for part proparty entry as soon as I create new part/assy.

I know it is possible by Event triger-> New Document .

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Set Iproperties In A Derived Part

Jan 28, 2013

I would like to be able to add iproperty values to a derived part from the assembly..!

Breaking it down..:

When i run the rule, it creates a derived part from the Assembly i have open.

The iproperties from the assembly should be copied to the new Derived Part. or just set direclty from the rule, doesn't matter...

View 9 Replies View Related

AutoCAD Inventor :: Change Part By ILogic In Assembly?

Jul 25, 2012

Before using iLogic, I created lot of iAssembly and iPart. I could change iPart factory member when I need in iAssembly.Now, I want to move everything to iLogic.

how could I change the part by iLogic code?

For example:

I generated "Part1.ipt" and "Part2.ipt",...... (I have hundred of member)

In my assembly, sometimes, I need use Part1.ipt, sometimes I need use Part2.ipt.

Which is the iLogic Code I should to use?

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

View 9 Replies View Related

AutoCAD Inventor :: Enable / Disable Part Through ILogic

Feb 15, 2013

Apparently the occurrences tab setting aren't easily accessible through the code snippets in ilogic.

How would one go about writing a rule that, in essense, would say:

If x = "whatever" then

occurrence.enabled = false

else

occurrence.enabled = true

end if

I've been reading that LOD's and suppression aren't the best course of action for assemblies especially when you're dealing with 20-40 parts as I am. I've got an assembly and parts controlled by a spreadsheet and when things are clicked off in the spreadsheet they need to be off in the model/drawings/bills etc. I have it working (to an extent) with suppression of parts in the assembly, but that casues LOD errors in the drawings. Research says parts are best disabled which is what i'm trying to do.

View 1 Replies View Related

AutoCAD Inventor :: Change LOD In Derived Part Through ILogic

Jan 27, 2013

I got this code earlier from Curtis_Waguespack, and i would like to add a setting... When i run this rule it Derives the assembly, but LOD is set to Master, i would like it to be set to my own (Configurator) LOD...

I don't seem to be able to find anything in this code, that defines LOD... 

So far im doing ok with the standard ilogic code, but when it´s API or VBA code im lost..  which leads me to this.. i've been searching the forum back and forth to find a code that performs the feature "Shrinkwrap", and somehow everything i have found so far does not work... even the code example in Inventors help menu under programming, Therefore im trying to solve this with Curtis's code as staring point.. 

'set a reference to the assembly component definintion.'this assumes an assembly document is open.Dim oAsmCompDef As AssemblyComponentDefinitionoAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition 'define the path and file nameDim sPathandName As StringsPathandName = ThisDoc.PathAndFileName(False)

[Code] .......

View 9 Replies View Related

AutoCAD Inventor :: Use ILogic To Set Size And Length Of A Part

Oct 26, 2011

I have created a ilogic rule that should set the size and the cut length of my parts. Most of the time the rule behave as I want it to. But sometime it gives me a error. See attached picture. By the way, I have included this rule in my custom content center parts (beam's etc). The rule is:

'Turn off workfeatures
ThisDoc.Document.ObjectVisibility.AllWorkFeatures = False

'check if the part has any geometry
If Measure.ExtentsLength="0" Then
[code]........

View 9 Replies View Related

AutoCAD Inventor :: ILogic Module For Part Of Assembly

Jan 9, 2012

I have made an iLogic external module who copy the iProperties from an Excel files, when i open the module from the *.ipt file il works perfectly. But i need this function from *.iam files.

Something like this: when i click with right button in one selected part of assembly i can open the module only for this part and when i save it save the change for all modify part of *.

View 1 Replies View Related

AutoCAD Inventor :: Driving ILogic Rule Into A Part

Jun 17, 2013

I would like to make an External Rule that would make an iLogic Internal Rule (with the same code every time).  I guess what I really need is a way to drive an Ilogic rule into every part that does not have the rule in the part already.

I know what you’re thinking and just using the External Rule doesn’t work for what I want to do.  I need it to be an iLogic Internal Rule.

View 9 Replies View Related

AutoCAD Inventor :: Get New Part Number From Excel With ILogic?

Jan 28, 2013

I have made a configurator, that defines my part. Now i would like to add some intelligence for the Save process...

When i activate my rule it should.:

1. Go to a Excel spreadsheet and find next Empty cell in a specific collum

2. Place Title from inventor in that empty cell

3. Return the value from the cell next to this cell

3. Use this value as the new filename for my part.

Example: here i would like to get the parts tile put into B3 and A3 (103) returned to Inventor as filename to my part

--------------------

A        B       C

1  101  Title1

2  102  Title2

3  103

If possible, i would like to be able to adjust this alittle as i go forward in my work,

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







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