AutoCAD Inventor :: Open And Update Drawing From Assembly Via ILogic

Nov 12, 2012

The right click context menu on the top level assembly (on the model tree in Inventor) has the option of 'Open Drawing'.

Is there a way to do that via iLogic? Unfortunately I can't figure it out if there is. I would like to open and update the relevant drawing.

Also have tried it the other way around, that is to run my rues in the assembly from the drawing since the drawing is the parent. But I am not sure how to reference the assembly.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Update And Save Assembly Through ILogic In Drawing?

Jul 10, 2013

as a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.

In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table. 

doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
 
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.

View 4 Replies View Related

AutoCAD Inventor :: How To Update Drawing Template With ILogic

Oct 8, 2013

I made iLogic for assembly and drawing, now i want to update drawing template parameters thru ilogic, as i already linked Fx(parameters) & iProperties to Template, but for updating template i need to close file and open again that file,

currently m using this method.

What is the solution for updating drawing template (like Model Description, Drawing no.).

View 3 Replies View Related

AutoCAD Inventor :: Defer Update Of Drawing AFTER Assembly Has Been Revised?

Jun 27, 2013

Sometimes I need to revise an assembly/part and I forget to open the drawing first and check a few things before I do. Inevitably my B-Hole employees (that's right, you know who you are if you are reading this! ) don't constrain their section lines and I end up losing a whole bunch of annotations that I then need to put back.

Is there a way to defer the updates to a drawing outside of the document settings for that drawing? I need to open this up, tie down their section lines, attach the detail cuts, etc. then get it to update.

Inventor Professional 2013 (SP-2.3), Product Design Suite Ultimate
Desktop: Intel Core i7 3.4GHz, 16.0 GB RAM, Windows 7 Ultimate SP-1, 64-bit OS, (2) GeForce GTX 580 (331.81), Space Pilot Pro (3.16.1)
Laptop: Intel Core i7 3.9GHz, 16.0 GB RAM, Windows 7 Pro SP-1, 64-bit OS, GeForce GTX 780 (331.81), SpaceNavigator (3.17.7)

View 8 Replies View Related

AutoCAD Inventor :: ILogic Model - Dimensions Of Assembly In IDW Drawing

Jul 2, 2013

I have a automated ilogic model that is then used within a 2D drawing, this 2D drawing then has dimensions on it referenced to the the model.

This model changes in its length the dimension associated with its length then changes but the dimension text then goes outside of the dimension boundary (does not stay central). Is there any code that can scan the dimensions and in effect tidy them up?

View 3 Replies View Related

AutoCAD Inventor :: Custom IProperties Not Updating In Drawing When Update Assembly Model?

Nov 19, 2012

I'm using Inventor 2011 and when I go to change parameters using iLogic in an assembly model, (sometimes it is a component suppression, other times it is an iPart component change) it won't update the associated drawing file. I need to go into the BOM on the drawing and renumber the balloons, or change something else in order for the custom iProperties to update in the drawing template. If I just change the iPart component, then the BOM doesn't need to update making the renumbering of balloons redundant.

I'm using iLogic to update all of the iProperties and component references, then reattach balloons. What I would like to do is automatically update the custom iProperties drawing template fields, and renumber the drawing BOM.

View 2 Replies View Related

AutoCAD Inventor :: Style Update (or Style Update Check) Upon Open Of A Drawing?

Nov 21, 2013

I am wondering if it is possible to do a style update (or style update check) upon open of a drawing? 

The example would be that I have stuff made from way back that the colors/dimension sytles ect dont match the current standard and upon opening a file where they are not current, it would either prompt to update immediatly OR update automatically with no prompting (preferred method).

I am doing a massive amount of updates from old files recently and to save myself 1 - 3 clicks per drawing would be wonderful.

View 5 Replies View Related

AutoCAD Inventor :: Open A Part From A Drawing To See Update

Jun 12, 2013

Using the 'Run Other' rule I can run a rule to switch holes on & off in a part. The rule is in the part & the run other rule in the drawing. The drawing will only update once the part is open. I would like to see the part open when the rule is ran from the drawing, how can this be done?

View 3 Replies View Related

AutoCAD Inventor :: Open Drawing From Assembly Tree

Jun 5, 2012

In assembly mode, when you right click on a part in the tree, you had ''open drawing'' as a choice. Now it's gone in IV 2013. how to add it ?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Assembly Has Double User Request At Inserting In Assembly

Sep 18, 2012

We have an iLogic assembly with to parts in it. Maybe to cylindrical parts. The iLogic rules should do the following.

1. Start a Rule after open document.

2. This Rule starts a Rule in the first cylindrical component.

3. This Rule ask the user for a diameter.

4. The assembly gives this new parameter value to the second component

5. Then the assembly calls another rule in the second component to change it with the new parameter

Everything is working fine when the following combinations are taking place:

1. I open up the assembly out of vault or from a local drive or an accessible server drive

2. I insert the assembly as sub assembly in another assembly from a local drive or an accessible server drive

It don't work with the following situation:

- I insert the assembly as sub assembly in another assembly out of vault

Then the user becomes the dialog "Choose a diameter" twice.

I don't know why, but I have the idea it has something to do with the functionality of inventor to insert a component more than once. If you insert a component in an assembly Inventor gives you the opportunity to add more than one occurence after each other. 

change that behaviour? Maybe a switch to change that inventor "add more than one occurence" behaviour.

View 1 Replies View Related

AutoCAD Inventor :: Translate Assembly Component Using ILogic / Offset From Parent Assembly Origin

Nov 9, 2011

I want to be able to control the location/position of a component in an assembly. This is easy enough through the iProperties/Occurrence tab and then adjust the location of the X,Y, and Z offsets. Is this possible using iLogic? I have been unable to find a function to access via iLogic. Ultimately I am trying to translate a component about an axis not a pattern.

View 1 Replies View Related

AutoCAD Inventor :: Physical Update Using ILogic?

Oct 12, 2011

Currently I am using I-logic and a form.  I have an assembly that I am pushing a volume from a part to the main assembly.  The volume updates in the part fine.  The issue is with the form is not updating when the file parameter updates.  If I exit the form and run the rule manually then the form updates.  how to update the form at the same time?

View 1 Replies View Related

AutoCAD Inventor :: ILogic Update Form

Sep 13, 2013

I´m having a bit of an issue with a form.

I have a global form which is exactly made for a specific assembly for configuration of this very assembly. To make things easier for the user I call another external rule which only opens exactly this assembly.

Now when the user opens the form the assembly is not open and obviously can´t reference the used parameters.

Even after loading the assembly the parameters are not available, which results in something like this:

So this is a really simple question, is there a way to update a form so that it rereads the parameters from the assembly?

What I tried is using iLogicForm.CloseGlobal("Name of form") to no availability and then open it again with iLogicForm.ShowGlobal("Name of form").

But I couldn´t find any further info on the iLogicForm Commands.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Update Styles On DWG

Dec 21, 2011

I am after a way of accessing the update styles on dwg so that I can run with rule below as most of our drawing stds have changed and old dwgs need updating the work flow is as follows.

 I need to access manage tab then update styles,then yes to all,OKUpdate all sheetsfind all parts list within all sheet and then annotate , style on format tab and then select Parts list - this will change all my old parts list to current style definition.Either run at begining of code below or run as seperate code

On Error Resume NextDim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocumentDim Sheet As Inventor.SheetDim Cursheet As String Cursheet = oDrawDoc.ActiveSheet.Name For Each oSheet In oDrawDoc.Sheets oSheet.ActivateDim oPartsList As PartsList oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)If Not oPartsList Is Nothing Then Resume Next'Call oPartsList.Sort("ITEM")Call oPartsList.Sort("PART NUMBER", 1, "DESCRIPTION", 1, "QTY", 1)iLogicVb.UpdateWhenDone = TrueActiveSheet = ThisDrawing.Sheet("Sheet:1")ThisApplication.ActiveView.FitEnd If Next

View 4 Replies View Related

AutoCAD Inventor :: Put Immediate Update Box On Ilogic Form

Aug 17, 2012

I am trying to put an immediate update box on my form in ilogic.  I want to be able to change parameters on my form without updating the model.  There is this option in the parameters window but not in the form.  How can I accomplish this?

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Update Some Prints

Jul 28, 2012

I am new to the ilogic. I am wanting to use ilogic to update some prints as needed.

 I need to create and external rule to:

1) migrate the drawing to the lastest inventor version (2012),

2) copy all drawing resources (borders, title blocks, and sketched symbols) from a template file (.idw),

3) replace the title block and border with specified block and border. 

View 9 Replies View Related

AutoCAD Inventor :: ILogic Unable To Update Title In IDW

Mar 29, 2012

I have an ilogic assembly that I change to different widths. And I want ilogic to put the part number into the title block according to the size of the assembly.

What I have works but won't update on its own. I have to open the ilogic rule and close it, then open the i properties of the idw and close before it will update.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Subassemblies Won't Update Unless In Their Own Environment

May 2, 2013

I have an assembly which is made with a sub assembly. The sub assembly has iLogic code that both resizes it's parts and suppresses parts that arn't needed after a change in length.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Mass Properties Update?

Aug 9, 2012

Is there any way to force an update of mass property values of a component from within an iLogic routine?

I am trying to produce a calibration chart showing the volumes of an irregular shaped object by taking incremental slices off the component and accessing the "volume" of the remaining portion, then writing the the results to an external file - All from within a "For - Next" loop.

The main routine works O.K. but the resultant chart only shows the original starting volume for each slice instead of the required reducing volumes.

I am a novice with iLogic and can only assume that I must somehow "update" the mass properties of the sliced object before reading its new volume on each pass.

View 7 Replies View Related

AutoCAD Inventor :: Update User Parameter With Ilogic

Dec 28, 2013

Is it possible to update an existing User Parameter. While I can only  delete-create a new. In this case the connection is lost with BOMQuantity.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Dynamic Parameter Update Off?

Aug 4, 2013

The rule iterates through an assembly looking for parameters. If it finds them it 'pushes' the value down from the top level Assembly into the sub-components.

It works well, but each component updates dynamically as the parameter value is changed. This looks a bit jerky and weird.Is there any way to write the script so the the updates all happen at once at the end?

' set a reference to the assembly component definintion.' This assumes an assembly document is open.Dim oAsmCompDef As AssemblyComponentDefinitionoAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition'Iterate through all of the occurrencesDim oOccurrence As ComponentOccurrenceFor Each oOccurrence In oAsmCompDef.Occurrences'check for and skip virtual components'(in case a virtual.
[code]...

View 7 Replies View Related

AutoCAD Inventor :: Update All Parts Within An Assembly?

Oct 18, 2012

It is possible to create parts that can update there size from changing the "root" (possibly called the derived-from part??) dimensions. I have a tubular frame structure and there is sheet metal components that enclose this structure.

We make these units in 2 standard sizes, but in the last few months, we have been getting requests from clients for extra components to be installed or sometimes components to be removed. This changes the size of the unit. Also depending on which mine they go to, some need to be shorter or longer and wider or narrower.

I have created a frame that I can change easily to to required dimensions, but it would be a dream if all the sheet metal components updated to the frame size. Most times these doors and sheet metal components stay in the same location, so if everything updated with a simple change to the frame size, that would make my job easier, and leave me more time to create new products.

I can't upload any files due to size, but I have attached a few screen shot to clarify things. Basically it is a frame unit, with doors and access panels to electrical components inside.

View 9 Replies View Related

AutoCAD Inventor :: How To Update Parameters In Assembly

May 6, 2013

what is the procedure for linking ILOGIC rules? There has to be some way, either they are both called from a VBA or VB.NET program.

i want to update parameters in an assembly, then write out the updated IDW to a DWG and/or PDF, then update the parameters, write out etc.

I have both the Rule working in the IAM and the Rule working in the IAM, i just want to call them sequentially.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Update Color Of A Derived Part

Jun 4, 2013

I'm running an iLogic based model where I have a technical housing with 2 cover parts on top.

The first cover part is the basic part.

I use iLogic to assign a RAL-color to several parts in the assembly, also to that cover. The color is assigned to several features of the cover part.

The second cover part is almost identical to the first one.

So my first feature in the second cover part is a derived part of the 1st cover. I derived all the bodies.

When I'm in my assembly and I pick a RAL-color in my created customization form, the RAL-color only changes in the 1st cover part (the original), but it doesn't change in the second cover part, the derived body.

But....

when I manually open the 2nd cover part, and I right click on the derived feature and click on 'Edit Derived Part' ; the new color shows up immediately!

So, my question is if there is a rule for iLogic to update the color automatically?

View 5 Replies View Related

AutoCAD Inventor :: ILogic - Batch DXF From Assembly

Aug 26, 2013

I am trying to make a dxf from each sheet metal part in an assembly with ilogic: (I have cut and and paste different codes from this forum in an poor attempt...)

Sub Main
Dim oApp As Inventor.Application = ThisApplication
Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument
For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments
If oSubDoc.DocumentType = kPartDocumentObject Then
Dim oPartPropset As Inventor.PropertySet = oSubDoc.PropertySets("Design Tracking Properties")
Dim oPartParam As Inventor.PropertySet = oSubDoc.PropertySets("Inventor User Defined Properties")
[code].....

View 2 Replies View Related

AutoCAD Inventor :: Set Assembly IProperties Using ILogic

Jun 1, 2011

I wish to set the properties of an assembly using i Logic. I have the values of the properties in a part that is in the assembly. I wish to pass those values from the part to the assemblies i properties. I tried using the following code, but it gives an error saying it can not find the document "MyAssy.iam"
 
iProperties.Value("MyAssy.iam", ThisDoc.Path, "Part Number")=AssyNo

I'm not even sure that this is the way to do, but it's the only way I could think of to try.

View 9 Replies View Related

AutoCAD Inventor :: ILogic - How To Sum A Property Of All Sub Assembly

Oct 26, 2012

I got here on in my templates, two types of weight - net and gross. I've changed the main property MASS of each PART to be the GROSS weight, so when i have one assembly i always get the total gross weight.

And when i wanna get the NET, I open the BOM, show the proper column with this net weight and then export do XLS to sum all of then..

Now the doubt is, to get the things easier, is there a way to put some code in the assemblies, that could sum all the properties "X" from each part and sub assembly to get the total net weight ?

View 7 Replies View Related

AutoCAD Inventor :: ILogic Rules In Assembly

Oct 3, 2011

I am very new to this whole concept of having ilogic based rules to drive your part design. I have even gotten as far as creating a ipart and having ilogic rules be able to suppress, unsuppress, change values and dimensions using ilogic rules. I now want to be able to use ilogic rules to drive some of the various(yet similiar) assemblies that I create all the time.

For instance, If I have just a flat plate as the base component with a shaft welded to it that varies in length for my assemblies. Since the shaft varies in length, I went ahead and created iparts for all the lengths of the shafts. I can manually change which shaft I want represented in the assembly, but I would like to to know how do I get Ilogic to place the different shafts based on user parameters???

I've looked into component place iparts, but can't seem to get the code to work. The list of iparts tree within the model doesn't pop up in the model tab in the ilogic rule, only the base component.

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 :: Exporting BOM Of ILogic Assembly

Nov 29, 2010

My task consist in exporting a BOM of an iLogic assembly.

Is any way to get an accurate BOM of other LOD other than the master. If so, is it only available in certain Inventor releases?

I am trying to accomplish this through API, but I get error when in different LOD than master. iLogic assembly has some parts suppress thats why we need to create a new BOM.

View 9 Replies View Related







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