AutoCAD Inventor :: ILogic - Run Program 2 Times?

Feb 5, 2013

I'm having an issue where when I run my RULES the model updates 99% of the assembly components.  The 1% will update if I run the RULE again with the same inputs.  What am I missing?

View 4 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Error When Saving Part Files After First Few Times

May 1, 2013

The goal of this project is to take a base part file, save new copies as needed, then modify the copies. They're rings for storage tanks that share the same tank diameter but differ in height and thickness. I have a SaveAsCopy rule in my template ring part that I run externally from my main assembly after passing down the new file names to the part rule. Since I'm testing a lot, I'm always deleting the parts from the assembly, then clearing out the new copies from my folder and running the rule again. Eventually after 1-5 times inventor starts giving me an error.
 
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
The More Info Tab:

System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Inventor.Document.SaveAs(String FileName, Boolean SaveCopyAs) at LmiRuleScript.Main() at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem) at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

The two other posts on here that deal with that error say it involves enumerating an array that is being changed and looking for an entry that is gone. I have a feeling it has to do with a left over variable (but this is all in iLogic rules so they get cleared at the end of the rule?), temporary files or remnant file references. It works again if I close the assembly and open it back up. Inventor 2013 SP 1.1

View 9 Replies View Related

AutoCAD Inventor :: Close ILogic Form With VBA Or ILogic Rule

Aug 19, 2013

how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?

View 5 Replies View Related

AutoCAD Inventor :: Addin Loading Multiple Times

Dec 2, 2013

I have an issue where an addin loads once the first time Inventor is opened. If the addin is unloaded and reloaded via the Addins dialog and no documents are open it loads once. If the addin is reloaded while a file is open is reloads twice.

I came to the conclusion it is loading multiple times because the it seems to go through the Activation method of the addin twice. When is the Activation method called during loading an addin?

Inventor Addins
FlowTools for Inventor
ilxButton Panel (Buttons for iLogic Rules)

View 2 Replies View Related

AutoCAD Inventor :: Inserting Part Many Times In An Assembly?

Feb 3, 2013

If I nead to insert a Part a many times in an assembly... let's say fifty times.

The only way I know is to copy past fifty times (then I place them with the constraints neaded).

The rectangle or cicular array can't be used since they a realy in different places.

But is there a fastest way to insert the Part fifty times in the assembly, instead of copy paste?

View 3 Replies View Related

AutoCAD Inventor :: Weight Times Quantity Of Part?

Jul 5, 2013

Our Autocad parts lists used to calculate the weight of parts times the quantities.  Now we are using Inventor and I see that the weight shown on a parts list is the weight of an individual part - although the quantity could be 2 , 3 (more than one).  Is there a way to have the total weight shown equal to MASS times ITEM QTY?

View 1 Replies View Related

AutoCAD Inventor :: Prompting To Check Out Multiple Times

Jul 11, 2013

A drawing that is in Vault, it asks if you want to check it out, and if you say no (like if you just need to print it), it opens it then asks you again if you want to check it out? Did it not get the hint the first time?

View 1 Replies View Related

AutoCAD Inventor :: Get The Same Part Recreated X Amount Of Times

Jul 10, 2012

In an assembly, I am trying to get the same part recreated X amount of times, on the fly with iLogic, but each time with a different length.

View 6 Replies View Related

AutoCAD Inventor :: Saving Part Files Multiple Times

May 2, 2013

In testing my latest automation project, I've found that I can't save copies of a part multiple times (after deleteing the files off the disk) unless I close out of the top level assembly document, and reopen it. I used Process Monitor and determined that Inventor is trying to save to an existing file instead of creating a new file.

Inventor 2013 SP 1.1

View 1 Replies View Related

AutoCAD Inventor :: Duplicate Solid Body 4 Times In Part File?

Mar 31, 2012

I want to duplicate a solid body 4 times in a part file.  i did that by going for circular pattern.  But after creating that, i had to add on few more features.  I did that in parent solid body.  then I noticed that other 3 solid body is not getting updated.  I know in assembly file it gets updated but any way in part file.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Design Copy - Error Copying A File / Inventor Crashes

Nov 5, 2013

I'm trying to use iLogic Design Copy to copy an assembly and all its associated parts to another directory. The assembly contains content center parts. Inventor warns me that the destination file of one of the CC parts (and 18 others) will be overwritten. When I go ahead and copy anyway, the copying process stops at that specific CC part. The Design Copy Progress dialog box states there is an error copying that CC part. When I close the Design Copy Progress dialog box, Inventor crashes.

The error copying the CC part: I'm allowed to use content center parts in iLogic Design Copied stuff, right? I searched some related topics and I'm under the impression that Inventor keeps the CC parts in its own directory and shouldn't be trying to overwrite them.

View 3 Replies View Related

AutoCAD Inventor :: VBA - Program Which Can Steer Model

Mar 16, 2011

I was created model of industrial robot with assembly and I need to create program in VBA, which can be used to steering robot arms in model for example used keyboard. Program have to include assembly too. I don't know what I should start do this.

View 5 Replies View Related

AutoCAD Inventor :: Error When Launching Program?

Oct 31, 2013

I have AutoCad2013  installed on my system, I am running Windows 8.1, my system updated automatically. After updating none of my Autodesk software will launch. When I try Inventor I get a capatibility error and I follow the link and get the SP1 file but it says it also no capatible. When I try and launch Autocad 2013 I get an error thas says" acad.exe This app has failed to start because its side by side configuration is in correct" I als have Revit 2013 on my system and an error comes up saying "This app was unable to start correctly (Oxc0150002)"

View 2 Replies View Related

AutoCAD Inventor :: (Not Responding) Upon Opening Of Program

Dec 10, 2013

I just installed Autodesk Inventor Pro 2014 as a student for my engineering class and I have yet to get it to work properly. Every time I try to open the program, it will open to the main selection page. But the first click I do on the screen causes it to say 'not responding'. I have to close the program and try opening it again. The second time, it does not even get past the opening screen. It freezes and I end up having to log off of my user and log back in. I have the 64-bit version that matches my computer.

View 3 Replies View Related

AutoCAD Inventor :: Validate / Simulate PLC Program

Dec 22, 2012

Is it possible to validate/simulate my PLC program with autodesk inventor, using for example OPC connection between Inventor and my PLC. I know its possible in Delmia, but in our firm we have Inventor.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Min Or Max?

Nov 13, 2013

I am doing a tie rod the issue I have is when the length is between 2.001 and 2.250 we would drill thru all but only tap the ends .750 deep. If the part is 2.000 would would drill and tap thru in one step and not have to rotate the part in the lathe.

How do I get ilogic to understand if my number is between this 2.001 and 2.250 to lengthen the drill length parameter?Or add a mid plane cut? ( trying now code below reflects this try)

 Not sure what way I want yet but I just can't seem to find a snippet or code to do this. I tried to add a list in the parameters for it to read but seems to do nothing.

If LENGTH <= "2" ThenFeature.IsActive("Thru_All") = TrueFeature.IsActive("Hole_A") = FalseFeature.IsActive("Hole_B") = FalseiProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP THRU 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG"ElseFeature.IsActive("Thru_All") = FalseFeature.IsActive("Hole_A") = TrueFeature.IsActive("Hole_B") = TrueiProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP BOTH ENDS 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG"End IfIf LENGTH = (My_List) ThenFeature.IsActive("Mid_Cut") = TrueElse Feature.IsActive("Mid_Cut") = FalseEnd If

View 2 Replies View Related

AutoCAD Inventor :: Place VBA Program On Toolbar / Ribbon

Jul 27, 2012

I have created a VBA program (form with options) that modifies our parts list and saves the information to a text file for use by our purchasing dept. software.  I need to be able to run this program on multiple IDW files whenever I have them open and whenever I need.  How can I place it on the toolbar (ribbon) for easy access across any open file.

As of now the only I see is to export the form,, then import it to every IDW file, there has to be an easier way.

View 9 Replies View Related

AutoCAD Inventor :: Write A Program In C# To Automate Ballooning From BOM

Feb 2, 2012

I'm trying to write a program in C# to automate ballooning from a BOM.The routine must read the BOM and for every row it highlights in all the views the corresponding component.Then the user must be able to manually draw a balloon or balloons to the highlighted items.

When done the next row of the BOM is called, etc.I can choose to start with a BOM from our PDM system or the Inventor BOM, partlist or drawingBOM

I tried different ways but I get stuck on it.I even tried to select the nodes in the browser and called oNode.doselect, but then I can't get the proper type for the selected items to go further?

View 1 Replies View Related

AutoCAD Inventor :: Adding Api Program Link To Toolbar

Jan 22, 2013

I wrote an API program (exe file) using VB 2010 Express. I want to ad startup link of this program on RIBON toolbar in case of start within Inventor session.

Is it possible?. Using Inventor 2013 and Win7 64 bit.

View 4 Replies View Related

AutoCAD Inventor :: How To Perform Copy Design With VB6 Program

Aug 26, 2011

I have an assembly as a template that was created by a previous employee.  There are known variables that are controlled with an Excel spreadsheet.

What I am attempting to do is create a VB form that the user can input the known variables and then have the program open the template, perform the changes, and copy to the vault. Sounds easy enough. A few caveats:

If I store the template in the Vault (preferred), how do I perform a "Copy Design" with a VB6 program?If I store it on a hidden network drive, this prevents users from screwing it up, but then I have to open each indivual file and perform a "SaveAs". Also easy enough. But, since the previous employee linked each component of the assembly to the Excel file, I would need to perform a "Change Source" to the newly created Excel spreadsheet in each component. Not sure how that is done. I do have VB2010 Express, but just not as comfortable with it as VB6. (I know, get with the current .Net)

View 1 Replies View Related

AutoCAD Inventor :: Program That Changes IProperties Of Multiple Files At Once?

Mar 2, 2012

I have my projects in their own folders. When I start a new project, I copy an older project folder and paste to start a new project. I do this so i don't have to start modeling from scratch each time. The problem when i do this is i have to change the name and part number of each file to correspond to the new project number. This takes more time than i would like to spend doing it so is there a program that will let me do this in bulk? (change the part number of all the files through their iproperties) I typically have to use the design assistant and change the part number of each .ipt file one by one.

HP Z400 Workstation
Intel Xeon @ 3.33GHz
12.0 GB RAM
Windows 7 64-bit
Inventor Pro 2014

View 4 Replies View Related

AutoCAD Inventor :: BOM XML Import Via VB Or ILogic?

Mar 8, 2011

Possible to run the 'import .xml structure' routine for an assembly BOM using either iLogic or VB?? I'm trying to replicate the Import button at the bottom of the BOM screen....

View 5 Replies View Related

AutoCAD Inventor :: ILogic Component Add

Jan 16, 2013

What I am trying to do is insert a part into an assembly file using iLogic. I basically want to mimic Inventor’s “Place” command using ilogic, maybe something like this:

oPath = ThisDoc.Path & ""
oFile = "File.ipt"
Component.Place(oPath & oFile, False)

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Export DXF From DWG

Jun 20, 2013

This att. doc shows rule for exporting dxf out of drawing. It is working on one sheet just perfect. In multi sheets it save allways with same name. I want to choose from which sheet i need dxf but to be saved by sheet name or model properti name. Is that possible?

View 9 Replies View Related

AutoCAD Inventor :: ILogic DWF Merge

Aug 28, 2013

I have an external ilogic rule that creates a set of DWF drawings for all parts and subassemblies (as long as the idw files exist) within and including a main assembly.

I would like to merge all the DWF drawings of the sub assemblies and component parts into the DWF of the main assembly. Is there a method within DWFAddIn that will allow me to merge the files? Is there another way that I can merge the DWF files using the same ilogic rule (one rule to create and merge all DWF's together?)

View 3 Replies View Related

AutoCAD Inventor :: Extrusion Using ILogic

Aug 9, 2012

I have closed profile "Sketch1" placed on one of the parts in Assembly.

Suggest iLogic code to create cut Extruson (Extents=All) based on the "Sketch1"

View 6 Replies View Related

AutoCAD Inventor :: Set PDF Metadata Using ILogic

Jan 9, 2013

I´ve found some iLogic code to print a drawing to a PDF document. After some minor modifications it works just fine, but I would like to add some code which allows med to set PDF properties (such as "title", "author", etc.) with values from iProperties. How can I do that? Is it possible? (I'm new to iLogic).

View 6 Replies View Related

AutoCAD Inventor :: Managing LOD With ILogic

Jul 12, 2013

I use simple set of iLogic rules to manage product configuration through the assembly LOD. Assembly is really simple not more then 30-50 parts. Still I manage to crush Inventor fairly often. Some days 5 and more crashes! Several times sent crash report to AutoDesk for no joy. Never got any feedback. 

I am just getting an impression that Inventor does not like LOD manipulated with iLogic for some or the other reason.

View 5 Replies View Related

AutoCAD Inventor :: ILogic In Drawings

Dec 19, 2011

I am slowly learning about ilogic, and have created parts and assemblies that are run by rules. My next question is, what exactly can ilogic do for drawings? I've looked at the wikihelp, but I am not a natural at programming and I need more than a list of functions with brief descriptions to get me started.

I'm looking for code snippets, other discussions, tips, tricks, and/or tutorials to get info what I can do with ilogic and the API that can automate parts of the drawing process.

View 2 Replies View Related

AutoCAD Inventor :: ILogic To Sort BOM?

May 22, 2012

I have been unable to find any code to sort the BOM, there are lots of snippets to sort and modify the Parts list.

How to sort the Assembly BOM?

Sort parameters:

PARTS Only

"BOM Structure"

then by

Custom Parameter "TYPE"

Then By

Part Number

Then "Renumber" starting at 1

Autodesk Product Design Suite Premium 2014 SP1 Build 222
Intel Core i7 (950@3.07GHz)
Windows 7x64 (Home) - 12GB Ram
Nvidia GeForce GTX 560 Ti (1Gig - Ver:331.65)

View 1 Replies View Related

AutoCAD Inventor :: 3D Model With ILogic

Aug 22, 2012

I made a 3D model with ilogic to control features to be suppressed or compressed. Because there are lot of features need to do so (need almost 4 to 5 min.) , when I run the rules, it came "Rule timeout" issue as pictures.

I used:

 Feature.IsActive (myFeature) = status

to control the feature be suppressed or unsuppressed .

View 8 Replies View Related







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