AutoCAD Inventor :: ILogic Message Box At File Open?

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


ADVERTISEMENT

AutoCAD Inventor :: Open IDW File Using ILogic

Jul 19, 2013

Is there a way I can open an idw file using ilogic? I would like to put the rule into a form, so that I can click a button in the form to open the idw for my assembly.

Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer

View 2 Replies View Related

AutoCAD Inventor :: Open Word File And Save As From ILogic / VBA?

Nov 14, 2013

We have a word file that we use a lot for our drawings.  There is an empty file that we open and then save the file into the same directory as the drawing.

I am trying to setup some code that will open the empty Word File, and then bring up the Word Save As dialog box with the correct directory and file name already completed.  The correct directory and File name will be determined by the Drawing Code.

I have been able to open the Empty Word Document from iLogic with the following
 
'CRS Template Path & File NameoCRSTemplate = "\WWSERVERDisplaysA-Z Stand PartsCRS-Template.doc" 'Publish document. ThisDoc.Launch(oCRSTemplate)
 
I have been able to Open the Empty Word File from VBA and then bring up the Word Save As Dialog Box but I cannot work out how to define the initial directory or the initial file name from Inventor.

This is the VBA Code I have been using top open the Empty Word File and Show the Word Save As Dialog Box:

Public Sub OpenCRSDoc1()
'Don't Forget to Add the Word Object Library in the Tools - References
' Call SetCRSDetails

[Code].....

If you try to use the With Command for the FilePicker it will just open the Word Document and NOT the Save As Dialog Box!!!

Example of the With Tried

With FilePicker
.InitialDirectory = "Z:"
.DialogTitle = "Hello"
.Show
End With

How to open a Word Document from either iLogic or VBA (VBA Preferred) and then open the Word Save As Dilog Box and define the Initial Directory and Filename?

View 1 Replies View Related

AutoCAD Inventor :: Open Excel File (start Application And Show Worksheet From ILogic)

Nov 11, 2013

I'm trying to start Excel and show the results of some BOM items I have written to a file like item number, part number and description.The task is to find components in an assembly that have a part number longer then 39 characters, due to ERP limitations.

What I´m doing is cycling through all BOM (structured) items on first level and check if the part number is longer then 39 characters.

I write these item number, part number, description to an Excel file (temp.xlsx), so the user sees which Components he has to check for the Part Number (make it shorter). I figured it would be best to do that with an excel file, so the user can save the results to a new file or just check it.

Values will be erased from the temporary excel file afterwards.Here I can't figure out how to start the excel application and open the file in an actual application window if possible.

how to list the results with plain iLogic that would do it too or some other solution to list a snapshot from the BOM.I guess there is no way to add your custom BOMViews ?

View 6 Replies View Related

AutoCAD Inventor :: ILogic Message Box (More Than One Line)

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

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 - 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 :: Can't Open 2011 Undo Folder Message

Feb 28, 2011

when i try to open my 2011 inventor program which ive been running for months now i get an error message. and the program refuses to open. "Error in Inventor Undo Folder: Please Make Correction" any ways to fix this so i can get back to work. and i should add that i am not a computer genius im a furniture designer.

View 9 Replies View Related

Photoshop :: CS5 Error Message When Trying To Open Raw File

Jun 17, 2012

CS5 has suddenly fallen over with the following error message when trying to open a raw file (.CR2 / 5DII), which it could open previously:
 
"Could not complete request because of a problem with the file-format module interface".

View 11 Replies View Related

Photoshop :: Message - Can't Open A Scratch File &...

Nov 6, 2008

I just installed Photoshop CS4, both the 32 and 64 bit versions (part of the "Master Collection"). After opening the programs I changed the scratch disk location to two separate drives other than where Photoshop resides, where it had placed said file as a default. Now neither Photoshop versions will open.

I get the following message:

"Could not open a scratch file because the scratch file is locked..."

Just one problem, there is no scratch file visible on either of the two drives...
My operating system is Vista Ultimate on a 64 bit Quad CPU machine with 8Gb of ram, two Raptor HDs, four 750Gb HDs configured into one RAID 5 drive and Nvida GEForce 8800GTS graphics card.

View 8 Replies View Related

Illustrator :: Error Message When Trying To Open AI File?

Feb 11, 2013

When I double click an AI file to open it, I get this message: "Can't open the illustration. There is not enough room for the window, increase document area and try again". This error started happening about a week or two ago. Although it is inconvenient to have to go to File>Open and then locate the file to open it since I am used to doing it the other way at least it is a way to open the AI file. I just discoved that if I double click a graphic in a Adobe Acrobat Pro using the Edit Object I get the same error message. This is a problem.I have checked previous discussions about this and tried things like unchecking the "open as tab" option in the preferences but that does not work.

Creative Suite CS6
WindowsXP

View 5 Replies View Related

Photoshop :: CS6 Cannot Open File - Message Says Program Error

Nov 29, 2013

can not open file, message says  "program error"

View 3 Replies View Related

AutoCAD Inventor :: Open Embedded XL Sheet With ILogic?

Nov 8, 2012

Is it possible to open an embedded XL sheet with iLogic ?

I tried "GoExcel.Open("3rd Party:Embedding 2", "ENTREE DES DONNEES"), but nothing happen...

View 9 Replies View Related

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

AutoCAD Inventor :: ILogic To Close / Hide Open Form

May 23, 2013

I'm wondering if there is a way to either close or hide an open form with iLogic? Something like the opposite of iLogicForm.Show.

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

Illustrator :: When Open File / Get Message - Font Missing But Fonts Are Loaded

Mar 23, 2013

in CS6 illustrator when we  open file we get message " font Missing" but fonts are loaded.

View 3 Replies View Related

AutoCAD Inventor :: ILOGIC Form Stays Open After Document Closes?

Jul 11, 2012

I have an assembly with a dozen or so rules and a form in it.

After selections have been made on the form, one of the rules saves the assembly as a new assembly (save as).

This closes the first assembly and opens the "saved as" assembly, BUT the form from the first assembly stays open.

It appears the first assembly gets closed so quickly the form does not close also.

I can just hit "done" button on the form to close it in new assembly, but would rather the form close automatically.

Is there code that I can add to close the form ??

View 3 Replies View Related

AutoCAD Inventor :: Unable To Open Or Communicate With Excel And ILogic (2013)

Nov 20, 2012

I'm unable to open or otherwise query an Excel spreadsheet.

I get the following error message.  see attached.

What steps must I take to open and query Excel spreadsheets?

I'm using Inventor 2013, Excel 2007 and Vista 64.

Inventor 2012
AutoCAD 2012
Product Design Suite Ultimate 2012, 2013 & 2014

View 1 Replies View Related

GIMP :: Installation Error Message / Unable To Open Test Swap File

Oct 18, 2011

I'm using Lion, and to install the Leopard version of GIMP. I'm getting an error message, and don't know what action to take:

Unable to open a test swap file.

To avoid data loss, please check the location and permissions of the swap directory defined in your Preferences (currently "/Users/myname/Library/Application Support/Gimp").

View 2 Replies View Related

AutoCAD Inventor :: Saving IPT File Message

Mar 8, 2012

I get this every time i try to close an .ipt.

The current operation requires data from docuemt {location on my network{ but it cannot be found.

View 1 Replies View Related

AutoCAD Inventor :: Embedded Excel Spreadsheet (Open / Save And Close) (iLogic)

Apr 30, 2013

I have some code (below) that will open my embedded excel spread sheet and it works great.  Now I need the code to save and close the excel file after it’s been open.The embedded excel spreadsheet pushes some stuff the model and does a couple other thing. So all I really need is for the excel file to open, save, and close when the rule is run.Imports Inventor.

OLEDocumentTypeEnumExcelApp = CreateObject("Excel.Application")Dim ExcelFile As ReferencedOLEFileDescriptorExcelFile
=hisDoc.Document.ReferencedOLEFileDescriptors.Item(1)ExcelFile.Activate(kEditOpenOLEVerb, ExcelApp)

View 4 Replies View Related

AutoCAD Inventor :: Later Version Of This File Has Been Saved / Message

Nov 7, 2011

One of our users, lets call him USER1, has recently received the following message when attempting to save an assembly:

"A later version of this file has been saved by USER1.  Saving the file would overwrite changes which is not allowed.  If you wish to preserve your changes, use the Save Copy As command."

To get to this error message, our user opens an IDW, then the IAM linked to that drawing. Changes made in the IAM are changing bolt lengths, adding fasteners from content center, things like that.  After saving inside the IAM this message appears.   There are multiple users on our network; but only this user is working the assembly in question when the message appears?

what makes this message appear, and how it can be avoided? 

View 1 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 :: Tube And Pipe Run File Name Warning Message

Jan 24, 2012

When I enter a Run File Name in the "Create Tube & Pipe Run dialog box I get the message "The path is too long.  Try a shorter name."  The name I entered is "Kappa 55 Suction Line", I also tried the Run File Name of "1" as a test and get the same warning message "The path is too long.  Try a shorter name."

View 3 Replies View Related

AutoCAD Inventor :: IPT File - No Visible / Unadaptive Sketches Message

May 23, 2013

My .ipt file has a shared sketch that is visible and not adaptive.

But When I attempt to make a second extrusion from the sketch, a message says, "No visible, unadaptive sketches".

I could create another sketch, but I want to learn how Inventor is working because I have had this error before.

The file is attached (I am trying to extrude from the "binder" sketch).

View 3 Replies View Related

AutoCAD Inventor :: Error Message File Needs To Update When Opening 2012

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

AutoCAD Inventor :: Use ILogic To Do File Save As?

Dec 3, 2010

I would like to use iLogic to do a File Save As and have the dialog box open in a specified folder.  I have tried the code below but it doesn't work. 
 
oFileDlg.InitialDirectory = "J:" & strFolder & (".dwg")
oFileDlg.ShowSave()

View 2 Replies View Related

AutoCAD Inventor :: ILogic File Naming

Dec 19, 2011

I am struggling with file naming.

We are implementing the vault and do not want to have to rename each file with design copy.

Any way where the filename of a part will change according to either assembly pararmenters or iProperties?

Another question I had would be involving a rule that would rename each ipt within an assembly by giving at a suffix/prefix once the assembly is completed.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Save File Crashes?

Sep 5, 2012

I seem to have my task accomplished, but Inventor crahes on me after it is done.

Here is how my iLogic works. 

' Deleting the suppressed parts from the assembly
Dim compDef as AssemblyComponentDefinition
compDef = ThisDoc.ComponentDefinition
Dim compOcc as ComponentDefinition
For Each compOcc in compDef
[Code] ........

Now as soon as the last line is executed, Inventor crashes.

But when I go to the save file part (C:MyPath), both the parts and assembly files are saved and if I open it, they work just fine.

I just can't get inventor to stop crashing.

View 7 Replies View Related

AutoCAD Inventor :: Using ILogic And Parameters In IDW File Text Box

Jun 7, 2011

I am trying to enter some material ordering info into an external spreadsheet, and have that info reflected in a text box within an idw drawing file.

My method is as follows:

Obtain a numerical value (250) from an external Excel spreadsheet (sample.xlsx).Assign this value to a parameter (abc) in an idw file (Materials Ordering.idw).Insert parameter abc I made into a text box within the same idw file.

I made a set_parameters rule, and the ilogic text of the above example is as follows:

'Open File and Scan line - Part = Impeller Casing Flange
i = GoExcel.FindRow("sample.xlsx", "Sheet1", "Part", "<=", "Impeller Casing Flange")
'abc = Material Width
abc = GoExcel.CurrentRowValue("Material Width")

I had no problems with the first two steps, after checking the parameters I could see that parameter abc is being updated successfully.

However, I am having trouble with the third step. In the format text dialog box, I can see a drop box for components, but I can't find a reference to the idw file in there.

My question is, am I going the wrong way about this? Should I have assigned the parameters to a component instead of the idw file?

View 5 Replies View Related







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