AutoCAD Inventor :: How To Integrate ILogic Error Message
Mar 4, 2013
Just wondering whether there is a way to integrate iLogic error message into VB.NET code.
For example, if use following sentence to read the data from spread sheet.
LengthFloat=GoExcel.CellValue("tank_data.xls", "Gauges", "llg_arm_lgth")
if there is no such cell of "llg_arm_lgth", the error message appears as in attached file.
Right now I want to use "try...catch... end try" in the iLogic code. I can duplicate the first line of the warning message using VB.NET code, but I can not reach the second line. Does the iLogic expose this error message through some function? or which VB.NET code does this job?
View 2 Replies
ADVERTISEMENT
Feb 18, 2013
I have a text parameter "ARM_TYPE" that kicks out a numaric parameter "ARM_ANGLE" through an ilogic rule. My problem is i need to have the rule kickout an error when (ARM_TYPE= "none"). I can do this by changing the "ARM_ANGLE" parameter from a Numaric to Text format (see below). The problem here is that "ARM_ANGLE" is used in several more ilogic rule calculations generating other parameter values which also need to kick out an "error"
If Parameter("ARM_TYPE") = "A995" ThenParameter("ARM_ANGLE") = -12ElseIf Parameter("ARM_TYPE") = "A1023" ThenParameter("ARM_ANGLE") = -3.7ElseIf Parameter("ARM_TYPE") = "A1081" ThenParameter("ARM_ANGLE") = -44.1ElseIf Parameter("ARM_TYPE") = "NONE" ThenParameter("ARM_ANGLE") = "####"End If
View 2 Replies
View Related
Jul 1, 2012
How to get more than one line of text into a Message Box if this is possible.
View 3 Replies
View Related
Oct 2, 2013
My goal is to have a message box open as soon as an assembly file is opened so that other users will be warned/ notified of linked parameters. My assumption is that an iLogic rule would be the best way to handle this.
I can create the message box, but when I looked through the iLogic snippets I didn't find any way to trigger the box at opening the file.
Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013
View 3 Replies
View Related
May 22, 2012
Error Message: "Class Not Registered." appears when opening an assembly.
Generally, the errors appears to stop the model from opening.
View 1 Replies
View Related
Dec 30, 2011
This error message (see attached) pop up, when I open more than 2 or 3 dwg files in autocad.
I am not sure how to correct it. I have a Windows 7 pro x64 system running Inventor 2012
View 1 Replies
View Related
Nov 30, 2012
I am trying to convert my AutoCAD inventor 2013 file to a standard 2007 file by going "Save As" "Save Copy As" and then "Autocad DWG File" but i keep getting up a message "problems encountered while saving the document" How do i repair this?
View 1 Replies
View Related
Aug 2, 2012
Why isn't there a way to disable these messages? Or is there a way?
I cannot be bothered to fix the trivialities of my assembly, and each time I update anything, that's one more click. I don't care about the cross part associations, as the parts exist as they need to.
Messages such as:
Cross Part Association has failed
This is the reason why my departments at work are considering Solidworks - Inventor is simply clunky - and it doesn't matter if the assembly has errors because of the modeling "mistakes" I make in this regard - I just need to supress these messages and get the work done.
afterthought - I know how to break links and clear associativity - but I just need a way to supress the error message. This would be very ideal, as it takes a while to go and break links and clear adaptivity. Often times, these errors crop up as engineering makes change orders to the part and it just crops up after revisions.
View 4 Replies
View Related
Nov 10, 2011
I make a change to the effected parts/assemblies. Save them. Close them. Then open the .idw drawing, it begins updating the views. Then I get this message:
"The attempted operation did not produce a meaningful result. Try with different inputs."
It doesn't effect all the views, only one view. The other five views get updated without issue. The one view that doesn't is the parent view to two of the other views that update just fine.
I've tried rebooting my machine. Checked in all the files and opened them fresh after a reboot.
View 3 Replies
View Related
Nov 19, 2013
I'm getting this message after creating a new tube run: "H6705-51.ipt can only be saved in the context of H6705.Tube and Pipe Runs.iam"
I've never had this error come up. I added a tube run to an assembly and just couldn't save the new run. I tried opening the main tube run file and also the individual tube run but I get the same kind of error message.
View 1 Replies
View Related
Nov 1, 2010
I used this command all the time in previous releases (when it was in the SDK tools). In 2011 Win 7 64bit, the dialog always says "cannot place at origin" or something similar yet it does place the component there but does not apply the constraints. (Also my "make components" command puts a slight offset to my parts which could be a related bug of some sort.) The only non-autodesk addins I have loaded are the trial kwikinsertnfix addin loaded and Brian Ekin's Sheetmetalextents addin loaded.
View 1 Replies
View Related
Mar 7, 2012
what this error message means and how to fix it?
View 2 Replies
View Related
Jan 8, 2014
info on the following error message when saving to the style library.
View 5 Replies
View Related
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
Oct 20, 2011
OK then update. I select never show this message agian ever (my favorite ) - but guess what a it pops back up. Nothing is wrong with the assembly
View 1 Replies
View Related
Sep 29, 2011
I am looking to batch convert my IDWs to AutoCad DWGs without having to go through and manually open each file and save as etc. Right now I am using the export files task to do this. I have saved an *.ini file with all the settings I want and successfully create the task. After running the task it fails to convert all the files giving me an error message that says "File has unresolved references". This shouldn't be the case though because the IDW's open and reference the part/assembly files fine.
Autodesk Inventor Professional 2010 32bit edition SP3
View 5 Replies
View Related
Jun 13, 2012
I recently installed Inventor Premium 2012 and I am not able to make a bolted connection or creat a tapped hole. I get this error message: Invalid thread data table. Please check Thread.xls file.".
View 4 Replies
View Related
Apr 28, 2010
My computer would crash and reboot. I downloaded and installed the partner certified driver for my video card. (nvidia quadro fx 3450/4000 sdi) This solved the crashing problem, but now every time I open inventor i receive an ilogic activation error. I have reset my ribbon and that did not work.
View 2 Replies
View Related
Nov 21, 2006
Is there currently any way to integrate voice commands into Inventor? It would be an incredible time saver. Software such as Dragon Naturally Speaking and IBM ViaVoice offer this technology for some Windows applications. I was just wondering if it could be applied to Inventor? If not, can we expect something for R12?
View 8 Replies
View Related
Aug 1, 2013
I'm getting a strange error with my iLogic code running parameters in my assembly. When I have one "if....then..." my rule runs fine. Even two statements work. But for some reason when I get to a certain number of statement I get an error: I've attached some sample code and snapshots of my error screens.
If FLANGE_STYLE_BOTTOM = "2in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="6"Parameter("RD FLANGE:1", "BC")="4.75"Parameter("RD FLANGE:1", "HOLE_SIZE")=".75"Parameter("RD FLANGE:1", "NUB_HOLE")="4"Else If FLANGE_STYLE_BOTTOM="3in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="7.5"Parameter("RD FLANGE:1", "BC")="6"Parameter("RD FLANGE:1", "HOLE_SIZE")=".75"Parameter("RD FLANGE:1", "NUB_HOLE")="4"Else If FLANGE_STYLE_BOTTOM="4in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="9"Parameter("RD FLANGE:1", "BC")="7.5"Parameter("RD FLANGE:1", "HOLE_SIZE")=".75"Parameter("RD FLANGE:1", "NUB_HOLE")="8"Else If FLANGE_STYLE_BOTTOM="5in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="10"Parameter("RD FLANGE:1", "BC")="8.5"Parameter("RD FLANGE:1", "HOLE_SIZE")=".875"Parameter("RD FLANGE:1",
[code]...
View 4 Replies
View Related
Oct 14, 2013
When i trying to create a new ilogic rule i get window with this error:
Spoiler (Highlight to read)System.InvalidCastException: Невозможно выполнить приведение [A]iLogic.CodeSnippets к [B]iLogic.CodeSnippets. Источником типа A является "Autodesk.iLogic, Version=17.0.13800.0, Culture=neutral, PublicKeyToken=null" в контексте "Default" в расположении "C:PROGRA~1AutodeskINVENT~1BinAutodesk.iLogic.dll". Источником типа B является "Autodesk.iLogic, Version=17.0.13800.0, Culture=neutral, PublicKeyToken=null" в контексте "LoadFrom" в расположении
[code]..........
View 4 Replies
View Related
Oct 4, 2012
I got this error popping up every time I open an iLogic edit rule and all my snippets are gone. Now it has started doing it on a different computer in our office. The error dialog box is in the image below. T
View 4 Replies
View Related
Oct 3, 2011
why this will not run as an external rule? It runs fine as an internal one.The error I get is object referance not set to an instance of an object?
'Updates rule when done
iLogicVb.UpdateWhenDone=True
'Creates input list dialog box & allows the user to choose the state
Product_Code=InputListBox("Enter Product Code", MultiValue.List("Product_Code"), Product_Code, Title :="Product Code", ListName :="Available Codes")
'Writes values to iProperty
iProperties.Value("Project", "Cost Center")=Product_Code
View 2 Replies
View Related
Aug 28, 2009
what this error message means. I cant find any reference to it in the help files.
View 9 Replies
View Related
Sep 19, 2012
When I suppress a part or a sub-assembly in Inventor 2013 and then right click on the suppressed item in the browser window I always get an cadabundus error message (see attachment), after I press OK I get the normal right click menu hovering over the item.
I have Inventor 2013 RTM 64 bit Build 138, and running on Vista 64bit.
View 2 Replies
View Related
Jul 4, 2012
I am using iLOgic on Inv 2012 to try and close the active document using the following piece of code -
InventorVb.Application.activedocument.Close (True)
This close the document but brings up the following Error msg...
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Any better piece of code that shuts down the active document but doesn't return the error? (I only want to shut down one document, not the application)
View 3 Replies
View Related
Jan 23, 2012
However, I have one iLogic routine that is giving me an error whenever I run it. Selecting continue allows it run as expected. Basically, it is to remind designers to set the material type to other than “Default”.
Here is the Materialsddd = 0' deleted parameter materialName = ThisDoc.Document.ComponentDefinition.Material.Name If materialName = "Default" Then MultiValue.List("MName") = iProperties.Materials MName = InputListBox("Select Material", MultiValue.List("MName"), Mname, Title := "Select Type", ListName := "MM List") iProperties.Material = Mname iLogicVb.UpdateWhenDone = True The Parameter MName does exist as a mulitlist parameter.
View 9 Replies
View Related
Sep 25, 2013
I have this error in my iLogic code for inserting sketch symbols. "Public Member 'ActiveSheet' on type 'Drawing View' not found"
I have declared everything in the code. I dont understand what it cant find.
View 7 Replies
View Related
Jan 9, 2012
Using Inventor 2012 and using ilogic rule or VB codes to auto Save Copy AS DWG?
My old code error out when debugging. The exact error is on this code line:
DWGAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)
Autodesk has agreed that this code does not work on Inventor 2012 and that the development is working on it. This code is part of the Snippets built in Inventor iLogic Rule Browser.
View 4 Replies
View Related
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
Jun 18, 2012
I'm having an error with Ilogic parameters.I just wanna change the border and the title blocks with Ilogic. This should be simple. Isn't this?
View 2 Replies
View Related