AutoCAD Inventor :: ILogic Error (the Unit Name Is Not Valid)

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


ADVERTISEMENT

AutoCAD Inventor :: Equation Driven Curve - Unit Error

Nov 27, 2013

I would like to create an equation driven curve with inventor. I have no problems plotting the function in a plotter, however, inventor won't accept my equation. It gives me the error message, saying: "The equation contains unit errors". I'm using the explicit equations.That's the bare equation:

"y=sqr(2)*16.5/2/sqr(pi)*sqr(arccos(1-2*x/50)-(sin(2*arccos(1-2*x/50))/2))"

I modified it, inserting variables which I defined also in inventor, leading to this:

"sqrt(2)*height/2/sqrt(PI)*sqrt(acos(1-2*t/length)-sin(2*acos(1-2*t/length))/2))"

But both equations are not accepted by inventor due to unit errors. In this design, I'm using the metric system, millimeters, so I don't understand why and how I have to redefine this for the equation in order to get it working.

View 9 Replies View Related

AutoCAD Inventor :: View 2013 Error - Not A Valid Win32 Application

Sep 6, 2012

I'm trying to install the latest Inventor View on all of the computers at work and keep getting this error. The program installs fine, opens fine, but I can't set it as a default program to open .IDW, .IPT, and .IAM files. When I do I end up with the error "not a valid win32 application".

The computers are running the 32-bit version of XP, and Inventor View 2012 works fine on all of them (after doing the DtDv install trick).

Also, while we are talking about Inventor View, is there ANY reason at all why it isn't combined with TrueView??? Seems like such a hassle to have two programs doing basically the same thing, with TrueView being MUCH more functional.

View 4 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 :: ILogic Activation Error

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

AutoCAD Inventor :: Getting Error When Creating ILogic Rule

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

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 View Related

AutoCAD Inventor :: ILogic Edit Rule Error?

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

AutoCAD Inventor :: External ILogic Rule Error

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

AutoCAD LT :: Error / Serial Number Not Valid

Oct 12, 2013

I have been running AutoCAD LT2002 on a very old desktop computer and am attempting to switch to my new laptop.  I have the original CD, Serial No., and CD Key.  I have switched computers many times in the past and have had no problems installing this software on any of them.  This time, it is giving me a "serial number not valid" message and will not let me proceed with the installation.  I had some difficulty entering the number initially (the label with the s.n. was quite faded, but  I KNOW that the serial number is entered correctly now-- what do I do?

View 6 Replies View Related

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 View Related

AutoCAD Inventor :: ILogic Code Giving Error When Executed

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

AutoCAD Inventor :: ILogic - How To Make Error Message Using Numeric Parameter

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

AutoCAD Inventor :: ILogic Error Public Member On Type Not Found

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

AutoCAD Inventor :: 2012 Save Copy As DWG ILogic Code Error

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

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 2013 :: Serial Number Entered Is Not Valid - Error 2

Nov 8, 2012

I keep getting the following message when activating:

The serial number you entered is not valid. Try again. (Error 2)

View 1 Replies View Related

AutoCAD Inventor :: ILogic Error (changing Sheet Border And Title Blocks)

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

AutoCAD LT :: Error 1325 Not A Valid Short File Name (Resolution Not Working)

Sep 26, 2013

I have a customer that is hvaing some issues with an error upon starting Autocad LT 2013.

The error code is attached.

The error is 1325 "%username%" is not a valid short file name

I have followed the resolution steps found here: [URL]

They did not resolve the issues.

I found the workaround listed here: [URL]

This works, but I will need to create a batch script that will write these registry entries automatically, which my customer does NOT want to do... They just want it to work.

The only way I have found to resolve the issues is to create a script that copies the Local Admin registry entries to the currently logged in user.

This is a domain user without local administrator access to the machine. 

They have 3 other users that are working with no issues.

View 4 Replies View Related

Photoshop :: Save Error In CS6 - File Name Not Valid

Jul 12, 2012

I just upgraded from CS5 to CS6 and for the most part love it. I have run into a very serious problem when it comes to saving. I am on Mac 10.6.8 and have a server that I save all my files too. In CS6 anytime I try to save something to the server's HDD I get the error below,
 
"Could not save as “avi_horizontal_logo.jpg” because the file name was not valid"
 
Now, the file name is valid, obviously. I can load the file into cs6 but whenever I try to save over or as a copy I get this error. I still have CS5 installed and have gone back and verified that I can save files to my server via CS5 since coming across the error in CS6. Additionally I have no problems saving to my server via Illustrator or In design
 
This issue is not occurring on one version on only one workstation either. I have both Design Premium (on 2 computers) and Design Standard (on 1) and all three are replicating this issue but the issue is non-existent in CS5.

View 9 Replies View Related

Photoshop :: Save To Web Directory Name Is Not Valid Error?

Jul 6, 2013

I was trying to spare some room on my C: drive so when I went to save for web last time, I decided to save the images and html on D: drive instead of C:.    Ever since then, when I go to save for web I get this error message: "Could not complete this operation.  The directory name is not valid".   I even uninstalled PS and reinstalled it to see if the factory default settings might override whatever I screwed up!

View 28 Replies View Related

Photoshop :: Error / Could Not Complete Request Because Not Valid Document

Oct 27, 2012

Could not complete your request not valid photoshop document

View 1 Replies View Related

Photoshop :: Not Valid Document Error When Opening Mac CC File On PC

Aug 28, 2013

I get a "Could not complete your request because it is not a valid Photoshop document." error message whenever I try to open up a PSD file created on a Mac using Photoshop CC on my PC using CC. Other people have been able to open the file from the same location, so the files aren't corrupted.

View 2 Replies View Related

AutoCAD Inventor :: Unit Of Dimensions

Feb 14, 2012

tmpApp.UnitsOfMeasure.GetStringFromType(Inventor.UnitsTypeEnum.kCentimeterLengthUnits)
 returns "zentimeter"

Is there also a function which returns the unit sign "cm" ?

View 4 Replies View Related

AutoCAD Inventor :: Add New Unit For 2D Drawing

Jun 28, 2012

I'm trying to add a new unit's type for a specific drawing. 

Is there any way to add one with its corresponding calculation parameter?

Under the "Style and Standard Editor" Panel i cannot modify it.

The End result is to display a " Symbol after the first Units instead of the in unit (see enclose picture that i manipulated to display the end desired result).

View 1 Replies View Related

Photoshop :: Uploading Picture For Editing - Not A Valid Document Error

Jul 23, 2013

Whenever I try to upload a picture to edit on photoshot it tells me "Could not complete your request because it's not valid Photoshop document". I don't understand what this means. Why can't I upload my picture? Am I clicking the wrong thing? I go under "File" in the upper left corner and scroll to "Open As... Alt+Shift+Ctrl+O" then it brings me to my photos I have saved on my computer, then I click on the photo I want to edit but the "Error" sign pops up. I'm using the 30 day trial so I dont have much time!

View 6 Replies View Related

AutoCAD Inventor :: ILogic Error Cannot Find Excel File After Saving File As Template

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

AutoCAD Inventor :: Where Can Get SI Unit (mm / Cm / M) Basic Files

Apr 12, 2013

I downloaded student version Autodesk Inventor 2012 a few month ago. When I start the inventor and go to OPEN, I had the standard options in both inches and millimeters. 

BUT someone I work with kind of deleted all my SI unit settings on my computer (thought that we will never use it cuz we are in America...)  and now when I want to make something new, i only have Inch options to choose from. 

Now I need to make something that is in millimeters, but when I go to File> OPEN, I only have standard options in INCHes.... 

Should I delete my current Inventor and Download a new one? OR Can I download a folder or file that contains all the SI unit ?

View 1 Replies View Related

AutoCAD Inventor :: Make BOM List With Unit QTY

May 30, 2013

I used to add some parts to CC in Inventor and also some profiles. Whenever I create an assembly I want these profiles I made myself to be counted in millimiteres, whereas it is counted in how many pieces of this long profile I used.

I want these custom made profiles to be counted same as standard pipes from CC- in millimiters.

View 2 Replies View Related

Lightroom :: Error Applying Transforms - Verify That The Specified Transform Paths Are Valid

Feb 22, 2012

I bought the lightroom 3 cd and installed it. When I downloaded the 3.6 update and tried to install it, I got this error message : Error applying transforms. Verify that the specified transform paths are valid. Ive tried uninstalling the 3.2 version and then installing the 3.6 version, but that didnt work either.

View 8 Replies View Related

AutoCAD Inventor :: How To Change Unit Structure Within CC Editor

Mar 18, 2013

I created a couple of Unistrut  structural member and published them to the CC.

Once they were in the CC I setup the proper code allowing these members when placed in an assembly to show up as shown in the parts list.

Now sometimes when the member is an odd length it will show up with the decimal places in the part number (i.e. P1001--46.621)  This is fine when it comes to the part number showing up as a decimal.  In the description we are now wanting to show this in fractional form such that 46.621 in the part number shows up as 46-5/8 in the description.

When I edit the family table for these members, specifically the columns that house this coding, I am not seeing anywhere on how to change this.  Does this can be done and if so what the coding is to accomplish this?  Without changing the global units of the drawing?

Inventor Suite 2012
Windows 7

View 5 Replies View Related







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