AutoCAD Inventor :: ILogic - Set Pattern Parts To BOM Reference & Default

Oct 3, 2013

I made a flanged connection using I logic. Very simple Tube + Flange + Gasket + Blind flange + Bolting.Then I tried to write some ilogic rule to have Blind flange on / off when needed, hence the Gasket & Bolting also need to be off. Like in these images:

That works fine visually, but I also want the BOM to be set accordingly. For the Blind flange & Gasket my BOM is OK. But for my bolting the BOM is not OK. I tried to set the BOM structure the same way as the visibility but that failed. It only subtracted 1 bolt from my list (see code)

If Blindflange_status = 0 Then 'Bolting offComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kReferenceBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = FalseElse 'Bolting onComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kDefaultBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = TrueEnd If
 
Is there a way to set all parts within a pattern BOM structure? I made my bolting  by adding 1 bolt, 1 washer & 1 nut and then pattern them using feature pattern select.

Inventor 2013

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic - Set Pattern Parts To BOM Reference And Default

Oct 3, 2013

I made a flanged connection using I logic. Very simple Tube + Flange + Gasket + Blind flange + Bolting.

Then I tried to write some ilogic rule to have Blind flange on / off when needed, hence the Gasket & Bolting also need to be off. Like in these images:

That works fine visually, but I also want the BOM to be set accordingly. For the Blind flange & Gasket my BOM is OK. But for my bolting the BOM is not OK.

I tried to set the BOM structure the same way as the visibility but that failed. It only subtracted 1 bolt from my list (see code)
 
If Blindflange_status = 0 Then 'Bolting offComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kReferenceBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = FalseElse 'Bolting onComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kDefaultBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = TrueEnd If
 
Is there a way to set all parts within a pattern BOM structure?

I made my bolting  by adding 1 bolt, 1 washer & 1 nut and then pattern them using feature pattern select. Inventor 2013

View 9 Replies View Related

AutoCAD Inventor :: ILogic To Set Pattern Components To Reference

Sep 17, 2012

I have a pattern of reference components, but the quantity of the pattern can change based on certain criteria.  When the quantity increases or decreases, I need each pattern element to have its BOM structure set to reference.

The problem is, even if the original pattern element is set to reference, each subsequent element comes in as normal.  This causes the BOM quantities for that component to be reported incorrectly in higher assemblies.

Is there some iLogic or VBA code that will automatically set each component in a pattern to BOM structure "Reference", even if the pattern quantity changes?

View 7 Replies View Related

AutoCAD Inventor :: Reference Parts In BOM

Mar 20, 2012

All of the patterned parts in my assembly show up as reference parts in the BOM I have I have opened the base part for the pattern and made sure its BOM is set to normal. When I change the BOM setting in the assembly it automatically changes to reference.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Reference Parameters

Oct 9, 2013

I'm having some difficulties with iLogic and reference parameters.

I have made a tube with a weird shape and I want to measure the longest length. So I have to cut the tube in a certain angle in relation with the center to measure the length.

The problem is that this angle is really hard to calculate.

So I tried making a rule where I can make my angle shift x degree and then measure the longest length. If the measurement is larger the previous measurement the angle will shift x degree again until the measurement is smaller than the previous.

So I made my starting angle 0 degree, I know this is for a fact not the longest length. And then I tried this rule. (before making a While rule).

And I noticed that on screen the measurement changes. But the reference - parameter stays the same. So it gives me the measurement on the starting angle & after rotating it again gives me the starting angle.

How can I get the parameter to update itself in between?

Dim measurement_length As DoubleDim measurement_length2 As DoubleMessageBox.Show("Start angle ", "My iLogic Dialog", MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1)angle_measurement_spec = 0RuleParametersOutput()InventorVb.DocumentUpdate()measurement_length = [code].....

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Get Model Reference

Mar 8, 2013

I was wondering if there was a command that will get the file name of the model referenced in a drawing?

The reason I want to do this is because I have various programs to automate drawings, but I have to manually edit the code if i want to switch between using the code on assembly drawings and part drawings.

If i can get the model reference, I can then use a bit of extra programming to extract the extension. (i.e. .ipt or .iam)

Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

View 5 Replies View Related

AutoCAD Inventor :: Reference Parts Not Showing In IDW

Jun 21, 2013

I am having trouble with getting the reference parts of my assemblies to show on the IDW drawings. That is, most of them show, but some items disappear.

On the attached picture you can see what i mean... its of a circular structure with a door frame mounted. One is put in as normal assembly, one is put in as reference part.

The circular structure shows, but the door is missing (in some views). When I do a sectional view of the view where it is missing it appears.

View 9 Replies View Related

AutoCAD Inventor :: Reference Parts - Display

Sep 28, 2011

I had some parts that in BOM were checked as "referenced". Then at some point I changed them to "normal".

In the drawing environment they still act like reference parts even though I changed them to "normal" before created the view.

They are still see thru when I go Drawings View/Model State/Reference data/As parts. They act like they are reference parts but they are not anymore. How to make then really "normal"?

View 5 Replies View Related

AutoCAD Inventor :: ILogic - Model / Reference Parameter

Apr 12, 2013

I wish I perform the following code with iLogic. Is it possible to change a model parameter to a reference parameter?
 
If My_Expression Then' My dimension "d0" is a Driven Dimension' or' My dimension "d0" is a Reference ParameterElse' My dimension "d0" is NOT a Driven Dimension' or' My dimension "d0" is a Model ParameterEnd If

View 9 Replies View Related

AutoCAD Inventor :: Replace Model Reference Using ILogic

Oct 4, 2011

how to replace model reference using iLogic in inventor 2012. Basically I have a drawing file whose model reference needs to change with part number(iProperties) .

I've been struggling to  perform replace model reference as there is no direct command given for it.

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Reference All Curves On A Drawing?

Aug 6, 2013

Is there a way in iLogic to iterate through all curves on a drawing. We manually apply radii labels to each drawing view but would like to automate the process with iLogic. How could I reference and cycle through all the radii on my drawing view?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Change Assembly To Reference

Oct 26, 2011

Is there a way to set an assemblies bill of material setting to reference through iLogic?

View 3 Replies View Related

AutoCAD Inventor :: BOM Reference Parts And View Boundaries?

Mar 21, 2013

I have an assembly that uses reference parts. I do not want them in the BOM, but they are used in other drawings in the BOM. When I make them reference, the iso drawing view boundaries are not correct. Can I change the size? Crop will only decrease the size not increase?

View 3 Replies View Related

AutoCAD Inventor :: BOM Reference Parts And Hidden Lines

Nov 19, 2012

I am doing a .idw drawing of an assembly that I have several parts that I do not want to appear in the BOM parts list. I have therefore set these parts as Reference parts however this has caused them to appear as "hidden type" lines in the drawing and are even visible through other parts.

Is there any way to make these parts appear in the drawing "as normal" and not be listed in the parts list?

View 9 Replies View Related

AutoCAD Inventor :: Drawing - Section - Reference Parts?

Dec 7, 2011

In a drawing Is there anyway to section (and show the hatch pattern) on reference components?

View 9 Replies View Related

AutoCAD Inventor :: Centering Parts To Assembly Reference

Dec 16, 2011

I am trying to find a simple way to center part(s) to some reference within an assembly such that if any part sizes are changed, then the assembly will stay symmetrical when updated. I would imagine that this is simply possible without adding any constraint containing a numeric value.

See attached part and assembly files showing a 4 piece frame with the angles unconstrained NE to SW. All i want to do is maintain symmetry of the frame if any parts sizes (cross-sectional or length) are changed. I've tried to add a centered plane to the angle and aligning that with a sketch point made in the assembly but i can't select any sketch features when i try to apply an assembly constraint.

View 1 Replies View Related

AutoCAD Inventor :: Reference Parts Visibility In Drawing

Jul 18, 2013

When a drawing view is made within Inventor from a presentation file (.ipn) some of the parts sometimes donot appear as properly visible.

I have attached some screen shots which might lead to some clues.

View 5 Replies View Related

AutoCAD Inventor :: Reference Drawing Sheet Number With ILogic?

Dec 11, 2012

How to reference the drawign sheet number using iLogic?  I see on the snippets on the side a way to reference the sheet name, but I only want the number.  To get the name it is ActiveSheet.Name, but ActiveSheet.Number does not work.  Getting the name give something like ASSM:1, so if there was a way to take that and subtract the colon and everything before it that would work also.  I am not a programmer, I've just taked some programs I found online and modified them a little to do what I want to do, but this is holding me back a bit.

Overall, I'm trying to modify the drawing view label to have a project number, referenced from the drawign iProperties, a view label, and sheet number, and then save that info in an iproperty of the part, and then reference that in the BOM so it automatically labels all of the views and fills out a column of the BOM to reference which page and view to find the parts of the assembly.  I have everything working except for the sheet number.

View 5 Replies View Related

AutoCAD Inventor :: Reference Parts Geometry On Detailed Drawings

Jun 17, 2012

How can you force the geometry of reference parts to print behind to print behind your visible  parts. I have my reference parts print out on a light gray layer to be shown indistinct on a drawings, but it prints over my object lines in effect hiding them. This is even true if a reference part is hidden. Then hidden line will print over the object lines as well.

View 4 Replies View Related

AutoCAD Inventor :: Reference Parameter Measuring Between Two Parts In Assembly

Jul 31, 2012

I need to assign the dimension in my screenshot to a parameter so I can use it to drive another assembly. However, I can't find any way to capture it in a usable manner.

In the screenshot I have an associative part inserted that contains only a sketch with the projected line and point that I wish to measure between, but the geometry in the sketch does not update when the model geometry changes. This seems to be normal behavior?

View 3 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 :: IProperties Bom Structure - Default (Reference)

Jun 22, 2012

I have a user who has come across an issue I have not seen yet.  The Occurrence BOM Structure is set to Default (Reference), and I can find no way to get Default (Normal) to appear.  This is a new part in the assembly and is needed in the BOM and to show up as solid lines in the drawing.

View 2 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 :: 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 :: Reference Parts In A Subassembly / Unable To Create Balloon And Drawing

Jun 14, 2013

I have assemblies that are comprised of reference parts - the assembly is a purchased part such as an air cylinder.  I have them as reference only in the assembly (ie right click on the parts in the model tree->BOM Reference->Reference). I do it this way so I can adjust the air cylinder how I need it, but still only asign one part number to the whole assembly - as an example we'll say "cylinderX" is the part number, and filename is "cylinderX.iam"

The problem arises when I put cylinderX.iam into other assemblies and try and make drawings of those assemblies.  Even though cylinderX.iam is not a reference part (but all it's sub components are), it shows up in an IDW just like reference parts.  I am able to make it show up how I want by editing the view properties (Edit View->Model State Tab->Reference Data Line Style "as parts"), but I still cannot balloon cylinderX.iam.  It shows up in the parts list, but I cannot attach a balloon to it.

Inventor 2013, 64-Bit
Dell Precision M6700
Windows 7 Pro
Intel Core i7-3820QM @ 2.70 GHz
16 GB Ram
NVIDIA Quadro K4000M
Space Navigator

View 4 Replies View Related

AutoCAD Inventor :: IlLogic Rule To Find All Reference Parts And Turn Off Visibility

Jun 20, 2013

I there a way of finding each Bom structured part that is set to reference in an assembly and setting the view of that component to in-visible.

Also needs to iterate into all set View reps that where created and set all views to not show the referenced parts as well.

View 8 Replies View Related

AutoCAD Inventor :: Flat Pattern With Parts

May 30, 2012

So, I have an assembly with a sheet metal part and a lot of pressed studs, spacers, weld nuts. I'd like to do a flat pattern with these parts in it in order to give their positions to manufacture, because they have to be pressed and weld in flat pattern phase, before bending.

Is there any easy way to do this (instead of saving flat pattern as SAT and insert every components again)?

View 3 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 :: 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







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