AutoCAD Inventor :: ILogic - Error Closing Active Documents
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
ADVERTISEMENT
Mar 27, 2013
Trying to create a bit of code that when the 'OnNew Document' event is fired the code checks for a particular Custom Property. Depending on what the Custom Property is set to a form is then fired with relevant text to point the user to a specific area in the workspace. Al this works ok.
But if they press cancel i need the code close the activate 'Part1' which inturn then allows the user to select 'New' to begin again.
I have tried various scenarios but the main problem is that Inventor then crashes!
PublicSub applicationEvents_OnNewDocument(DocumentObject As Inventor._Document, BeforeOrAfter As Inventor.EventTimingEnum, Context As Inventor.NameValueMap, ByRef HandlingCode As Inventor.HandlingCodeEnum) Handles applicationEvents.OnNewDocument
[Code]....
View 1 Replies
View Related
Sep 2, 2011
I am trying to have one drawing with B size and E size sheets I am trying to get the border, title block and standard to change when the sheet format changes. I can get it to work when I run the rule but have hard time find information to just change when sheet format changes. And I can't find anything or I should say a sample of how to. I think I found the code just don't know how to make it work. Here is what I have so far.
SubMain()
IfActiveSheet.Size="E"Then
ActiveSheet.TitleBlock="G&T (E)"
ActiveSheet.Border="G&T Border (E)"
EndIf
IfActiveSheet.Size="B"Then
[code].......
View 9 Replies
View Related
Jul 29, 2013
I have an Ipart I would like to have a Ilogic form to change the active Ipart. I tried iPart.ChangeRow but I did something wrong and it doesn't work.
View 2 Replies
View Related
Jul 16, 2013
Within an IDW file, you can go to the Styles Editor, then click on a standard. On the General tab, there's a drop down for the unit of length.
Provide the code so that I can change this setting from Inches to mm with an iLogic rule?
View 2 Replies
View Related
Sep 30, 2013
I am using Inventor 2014. I am receiving an error while closing a drawing. The error says "One or more drawings are being computed and are currently in raster state. The document(s) may be closed and pending updates will resume when the document is reopened.
Do you wish to continue closing?"
The drawing shows outdated views which I tried updating but they do not update. When I am trying to print the drawing, it shows incomplete drawing.
View 8 Replies
View Related
Nov 8, 2013
Closing Photoshop CC seems to deletes all my files in and only in the Documents folder. The exact steps of what I did can be viewed here: URL.....This only happens to Ps, any other Adobe softwares will not cause this. I am 100% sure that it is the closing event that causes the deletion. After reading URL.. I tried to turn off the antivirus, reinstall Ps and creative cloud, but nothing worked for me. I also tried both 32 bit and 64 bit version, but both produced the same problem. This problem only comes up in Windows 8.1 and not Windows 8.
it is to change the folder name, but then I have to change the settings for other softwares which uses that folders and this is just stupid, I want a more robust solution and the cause.The only thing I haven't tried is reinstalling the OS.
My PC info:
OS: Windows 8.1 Pro (64 bit)
Processor: Intel i5-4430 3.0GHz
RAM: 1600MHz 8GB (dual-channel)
HDD: 120GB SSD
GPU: GTX 660
View 3 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
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
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
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
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
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
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
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
May 3, 2012
I get this common exception while debugging right after I close AutoCAD. I have not even run any commands that belong to my project, just open AutoCAD and Close AutoCAD.
--------------------------- Exception in c:program filesautodeskapplicationpluginssbd.bundlecontentsaalsbinacadaliasapp.arx ARX Command --------------------------- Unhandled Exception 1 (Access Violation Reading 0x89a63aa8) at address 775E32D0h --------------------------- OK ---------------------------
--------------------------- Exception in c:program filesautodeskapplicationpluginssbd.bundlecontentsaalsbinacadaliasapp.arx ARX Command --------------------------- Unhandled Exception 80000003 (80000003h) at address 776540BFh --------------------------- OK ---------------------------
Call Stack:
[In a sleep, wait, or join] > mscorlib.dll!System.Threading.WaitHandle.WaitAny(System.Threading.WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) + 0xb6 bytes System.dll!System.Net.TimerThread.ThreadProc() + 0x2d6 bytes mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool ignoreSyncCtx) + 0xdc bytes mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x3b bytes mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x4d bytes [Native to Managed Transition]
View 3 Replies
View Related
Jul 20, 2010
I am operating 3D Civil with Windows 7, 64-bit system.
Most of the time when I close a drawing, particularly when I have two or more drawings open, the program closes down with the following message "Autocad Application has stopped working - Windows is collecting more information about the problem"
I then have to restart 3D Civil
View 7 Replies
View Related
Nov 1, 2011
We just moved the Autocad LT installation for one of our users to a new computer and now when opening certain documents, we get the below error. The error didn't originally occur on the old machine, but after re-installing it on that machine, we get it there too. Is there a way to clear the error or find out which plugin we are missing? We have tried installing the plugins on the autodesk website, but weren't able to fix the error.
System information:
Autocad LT 2011
New machine OS: Windows 7 (64 bit)
Old machine OS: Windows XP (32-bit)
Error message:
Proxy Information
The drawing you have opened or referenced contains custom object created by an unavailable ObjcectARX application. You do not need the original application to display proxy representations of objects that were saved in the drawing. However, many manufacturers, including Autodesk, provide object enablers that also allow you to edit these custom objects.
Visit the AutoCad LT Object Enabler Assistant web page to locate Autodesk object enablers or contact the software publisher about object enablers for other applications.
Note: If your computer has internet access, verify that Check Web for Live Enablers is selected in the Options dialog box on the System tab to have AutoCAD LT automatically search for the Live Enabler website for the appropriate object enabler.
Missing Application: CAPxCAPDesignerDBX
Total number of Proxies: 230
Number of objects (no graphics): 230
Number of entities with no graphics: 0
Number of entities with bounding box graphics:0
Number of entities with real graphics metafile:0
View 4 Replies
View Related
Jul 3, 2012
I keep receiving a error message when closing PS CS6 which says "Adobe Media Core CS6 has stopped working". What can I do to resolve this issue? I'm running Windows Vista professional.
View 1 Replies
View Related
Sep 26, 2012
I'm currently getting the "1324 Error. The folder path 'My Documents' contains an invalid character."
when trying to run AutoCad 2010. It had been working fine previously, but now it gives this error and won't allow me to use it. I am also unable to uninstall or reinstall the program without getting the same error.
I have confirmed that the profile is not set to roaming. I have also tried deleting the registry entries as recomended here:
[URL]
The user account is local administrator. The OS is Windows 7 64bit.
View 1 Replies
View Related
Dec 6, 2012
I'm linking an excel file to an .ipt file with iLogic code determining if the Material type is a certian value it will find the correct material thickness. These file work great when working on them thru Vault but when I "Save As Template" and create this file where our other template files are located (not Vault) this fuction does not work. I have realized that I had to place the a copy of the excel file in the same file folder as the template ipt, but even this does not fix the issue.
I recieve this error:
Error in rule: Material, in document: Part6
'MWW Materials (Inventor).xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct.
If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or deleted.
It seems completly countintutive that just saving the file as a template file would cause this not to work when all files that are required are located in the same file folder. Maybe I need a reference to the excel document within the iLogic code.
View 3 Replies
View Related
Jan 27, 2012
Recently I am getting a message 'LR encountered an error when reading from ots preview cache and needs to close'.This is a regular occurance (>6 times today), is there a fix?
View 4 Replies
View Related
Dec 6, 2011
I get it on closing the Video Studio Pro 14.1.0.107.(S.Pac 2) I initialy got it when trying Corel's trial download so went and bought the Package, retail, thinking (foolishly) that that would solve the problem. I have spent hours on line with Corel Tech who said it was a conflict with jscript.dll in Explorer 9. I reverted back to Explorer 8 but no luck. It makes no difference whether V.S has files active or not so it is not a function of source files.
As youcan see on my profile - Windows 7, Home premium; 3.2 Gig Intel Core2 Duo; 3518 MB RAM; 500 Gig HD; 1024 MB NVidia GT 440 Video card.
View 3 Replies
View Related
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
Dec 1, 2012
Been running X6 for a month now. Updated to 6.1.
Things have been fine until I updated to 6.2.
I will create artwork in Corel Draw, save it and then export some elements out to another format.
Then I try to close the drawing and exit.
CANNOT DO EITHER.
I get an error that says 'Some of the documents could not be closed because some tasks..background. See status bar for....'
What the heck is going on here? I cannot close the file. I cannot exit the program. The only way to get out of Corel Draw is to end the program through Task Manager.
This update is bad news. I don't know how to go back to 6.1.
View 11 Replies
View Related
Mar 12, 2012
I'm having issues when I create sketches using the line tool. I should be seeing constraints as I create them and a green dot when the object is closed. This is not the case however, and when i attempt to extrude or offset the sketch I can only select individual lines.
View 3 Replies
View Related