AutoCAD Inventor :: Get Rule To Re-run / Loop Through When Retry Button Is Pressed

Apr 16, 2013

I am trying to setup some rules to print various PDF files which we have managed to do without any problems.

The bit I am stuck on is when one of the PDF files being saved is open by another user.

We have been able to error trap it when it is open by showing a message box on error asking them to close the file befopre continuing.  The current message box being used is the Retry / Cancel box.

When the user clicks Retry we would like it to re-run the rule, or loops through the rule and check is the file is still open.  If the file is open return the same error, and if the file has been closed save the PDF file.  When Cancel is pressed it ends the rule (This Bit has been done).

My questions is how do I get the rule to re-run / loop through when the retry button is pressed.

Is it also possible to show the user who has the file open (or Previewing it in a Window Explorer)?

I have attached the Code currently Being used but I can post it here of preferred?

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Rule To Measure Loop Length

Oct 30, 2013

I have just started to use ilogic, what i want to do is measure the length of a loop in a sketch and then use this measurement as a parameter.

I have found this rule that will measure the loop length and display it in a message box

Dim se As SketchEntity = ThisDoc.Document.ComponentDefinition.Sketches(1).SketchLines(1) 
MsgBox(ThisApplication.MeasureTools.GetLoopLength(se)*10 & " mm") 

but i do not know how to capture the measurement as a parameter .

View 3 Replies View Related

AutoCAD Inventor :: Global Forms Button To Immediately Launch External Rule?

Apr 4, 2013

I would like to instantly launch an External Rule just by clicking on a button in the Global Forms area of the iLogic browser.  Is this possible, and if so, how would I do it?

Product Design Suite Ultimate 2014 | Vault Basic 2014 (SP1)
Dell Precision M6600 | Intel i7-2820QM - 16GB
nVIDIA Quadro 4000M | Windows 7/64 Pro

View 2 Replies View Related

Photoshop :: Make A Pressed Button Effect?

Dec 14, 2011

I'm making a project on Visual Basic and what I'm trying to make is two pictures:one regular of a button with a nice frame.the second is that same button only having the effect of being pressed and pushed down.So I will program in VB that when the user presses the button it makes the effect of like a 3d pressed button.

I have made this button so far:and I would like to add it this frame (don't mind the other buttons):I'm using CS5 and my operating system is windows 7

View 5 Replies View Related

3ds Max Animation :: Apply Any Transform As Auto Key Button Pressed

Oct 28, 2013

I've got a weird problem with several (not all) objects in my scene. No matter if  Max 2012 or 2013. It's impossible to apply any transform as soon as the auto key button is pressed. The objects are totally locked. With auto key button inactive, transformations are possible. Key filters are active.
 
The only workaround so far is to group those objects or link them to a dummy or detach all elements into a new object and delete the original one. Any newly created objects can be animated either.

View 7 Replies View Related

Edge Animate CC :: How To Stop All Actions After Button Has Been Pressed

Aug 26, 2013

Is there a way to stop all actions once a hotspot has been pressed? I have loaded an mp4 video into my presentation. I have created a slide menu that goes right to left. I made sure to turn the buttons on only in the areas that they are needed. Once I play the movie, it works fine, but when I select my navigation to go to another page the video is still playing in the background.

View 2 Replies View Related

AutoCAD Inventor :: Invoke ILogic Rule Editor And Pass It On Existing Rule Name?

Jan 7, 2014

Is there a way to invoke the iLogic Rule Editor and pass it an existing rule name or external rule for editing?

View 4 Replies View Related

AutoCAD Inventor :: ILogic / Run Assembly-level Rule From Component Rule?

Aug 2, 2013

I need a way to run a rule which is saved in my top-level assembly using iLogic rule which is saved in a part file in the parent assembly.

I have even tried using an external rule in a txt file, but that gives the error "Component: This function can only be used in an assembly."  - which makes no sense to me.   I hope I am just missing something simple.  I cant believe with all its other strengths, that iLogic would be so limited in that regard.   Why is there not simply a snippet under the 'Run Other' that allows you to specify an assembly file and the rule name?  (like there is for running a rule in a component from the assembly)

View 4 Replies View Related

AutoCAD Inventor :: Run Ilogic Rule In Each Part From The Assembly Via External Rule

Dec 6, 2011

I want to simply set a custom iproperty as the Description in each part file within my assembly.  I can do this easily at part level with ilogic but I want to be able to run the rule from the assembly level and all the parts run the rule.  I am struggling to find a way to do this.

I think this may be the best method I have found but I think it must be far easier?

[URL].......

View 9 Replies View Related

AutoCAD Inventor :: ILogic Design - Why Work With Local Rule But Errors On External Rule

Dec 9, 2011

I am working for customer with a simple item with his iLogic design. He has created a simple form to modify his iProperties. To modify the current material, a multi-value parameter was created and the following rule as a local rule;

"MultiValue.List("MATLIST") = iProperties.Materials
iProperties.Material = MATLIST"

He is now trying to make this an external rule but gets the following error

Error in rule: Mat2, in document: Mat2.iLogicVb
iProperties.Material: is probably a bad material name.

The more info tab says:

System.ArgumentException: iProperties.Material: is probably a bad material name.
at iLogic.CadPropertiesInRule.SetDocMaterial(Document doc, String matName)
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

View 2 Replies View Related

Edge Animate CC :: Back Next Button With Continuously Moving Loop

Mar 13, 2014

I have a continuously moving looping slide show that has back and next buttons. When you press the next button it should move forward one where ever it is on the timeline every time you click it and the same for the back button.
 
This is the code I am using but the the problem is that it goes to else {sym.play("one");} when the button is clicked. No matter where in the timeline the next button is clicked, it goes back to number one.  I don't know much about coding and I have tried everything to fix this but I am stuck.
   
var pos = sym.getPosition()
if (pos <= "one"){
sym.play("twenty");
}
else if (pos <= "two"){
sym.play("three");
}

[code]....

View 5 Replies View Related

AutoCAD Inventor :: Run VBA Macro When Save Is Pressed On IPT Files

Jan 27, 2011

Is it possible to run a VBA macro every time the "Save" button is pressed on "IPT" files?

View 9 Replies View Related

AutoCAD Inventor :: How To Detect If User Pressed Yes / No / Cancel In ILogic Form

Feb 21, 2013

How do I detect wich button the user pressed in the iLogic-form?

I can show it like this:

result=iLogicForm.ShowGlobal("MyForm", FormMode.Modal)

 I guess that result is of type FormReturnValue - but I can't guess the qualifier (FormReturnValue.OK / FormReturnValue.OkBtn / ?)

View 8 Replies View Related

AutoCAD Inventor :: Adding Some Standard Pressed Sheet Metal Parts

Mar 7, 2013

Another iLogic question for you all.

I would like a simple rule adding to some standard pressed sheet metal parts that we have. The code would look at the current model tree and if any features are added to the part then a character (lets say a *) is placed into the "Vendor" field within the iProperties. 

Is this possible?

Inventor 2010 Pro SP4, Vault Collaboration 2010
HP Z820 Xeon E5-2643 0 @ 3.3Ghz 16.0GB RAM
Nvidia Quadro 5000

View 5 Replies View Related

AutoCAD Inventor :: How To Run Rule In Part File From Rule In Drawing File

Aug 21, 2012

I am trying to use iLogic to create the file types I need to give to my vendors once I have created a drawing.In the .idw file I have a rule that creates a .pdf file and .dwg file. I also want it to activate a rule I have in the .ipt file that creates a .dxf file.

trigger = iTrigger0oType=Left(ThisDoc.FileName(False),3)GoExcel.Open("S:DRAWINGSFolder Types.xlsx", "Sheet1")For rowPN = 1 To 200 If (GoExcel .CellValue("A" & rowPN) = oType) Then oFile = GoExcel.CellValue("C" & rowPN) Exit For End IfNextoFolder = "S:DRAWINGSNOT RELEASED" & oFileIf Not System.IO.Directory.Exists(oFolder) ThenSystem.IO.Directory.CreateDirectory(oFolder)End IfThisDoc.Document.SaveAs(oFolder & "" &
[code].....

View 5 Replies View Related

Lightroom :: 5.3 Import Failed - Cannot See Camera To Retry

Jan 2, 2014

Let's start with my setup. I am on an iMac running Mavericks, which has been loaded since the first day of relesae. I have been using Lightroom with my camera since then with no sign of trouble and my camera is a Nikon D7000. I am not a newbie to Lightroom.
 
Here's what happened. Started Lightroom, plugged in D7000, turned camera on, went to Import screen. Unchecked a few images, created a folder for them to go to, applied 'Auto Tone' & copyright, did not rename the images. Hit Import. Then window pops up (which I didn't make a note of because I thought I could try it again) says error with the folowing files 1-100 (with checkbox) 101-200 with checkbox etc. So closed it out. No images were imported. Went back to Import only to see that the camera is not being seen at all, not even a camera error message.
 
So, I did the folowing things. I have restarted Lightroom, turned the camera on/off, disconnected/reconnected the camera in a variety of situations such as, before app launch & after app launch. I even tried to import via Bridge but no camera. Did I mess up the Camera profiles?

View 1 Replies View Related

CorelDRAW Graphics Suite X6 :: Apply Color To Form Command Button Loop Form Controls And Save And Get The Color From Registry

Sep 25, 2012

In this lesson we will consolidate code to prevent code reuse. Follow along as we demonstrate by doing the following and more:

Apply a color to a form command button, loop form controls, and save and get the color from registry

Part 2 of  7

cs_setInnerHtml('video_43f4e134-ee93-489d-ba2f-80042d243821','');

[URL]

View 2 Replies View Related

Photoshop :: Initial CC Install Failed - Can't Uninstall And Retry?

Nov 14, 2013

Inital PS CC install failed, now can't uninstall and retry. CC just wants to update PS and fails repeatedly.

View 3 Replies View Related

AutoCAD Inventor :: API To Get Inner And Outer Loop Of Sphere

Mar 6, 2013

I have a sphere body whose material is partly removed by a boolen subtraction with another sphere. When I query the EdgeLoop of sphere for Outer edge loop using function InvEdgeLoopPtr::GetIsOuterEdgeLoop(), I always get a value of VARIANT_TRUE. check for the inner and outer loop of a sphere? use the attached file for reference.

View 3 Replies View Related

AutoCAD Inventor :: Close Loop Function

Oct 23, 2012

Have sketched the geometry for an 18 tooth circular sawblade. However I have had difficulty applying the close loop function. As a result am not yet able to extrude the saw blade. What to do to implement close loop?

View 4 Replies View Related

AutoCAD Inventor :: Loop Through Specific File In Folder

Jul 19, 2013

I am trying to create a logic rule to replace the model reference in a idw file and then save as using the new file reference name. I am able to do this for individual files or components within an assembly file.

However what I would like is to check through all files of a certain type (for example ipt with filenames beginning "SSUA" ) in a specific folder. 

The following code from Curtis Waguespack works well for individual selected files but I would like to take it a stage further with the above parameters.

Dim oDoc as DocumentoDoc = ThisDoc.DocumentDim oRefFile As FileDescriptorDim oOrigRefName As Object For Each oRefFile In oDoc.file.ReferencedFileDescriptors'get the full file path to the original internal referencesoOrigRefName = oRefFile.FullFileName'present a File Selection dialogDim oFileDlg As inventor.FileDialog = NothingInventorVb.Application.CreateFileDialog(oFileDlg)oFileDlg.InitialDirectory
[Code]........

View 3 Replies View Related

AutoCAD Inventor :: VB To Change Filename As Loop Progresses

Jun 8, 2012

I have VB code that loops through and utilizes Excel data to pick which file(s) to open, update, and close.  Then it opens the appropriate .idw file, updates it and saves it as a .pdf. 

The line of code I have now is simple:

_invApp.ActiveDocument.SaveAs("C:UsersxxDesktopA60.pdf", True)

and that writes the file to my desktop as a .pdf.

However, as the loop runs over and over, it will find another data set that is the same A60 type, so it will want to save OVER that .pdf it's already created.

How do I go about having a variable filename?  Something where it would add a _01 _02 _03 (or similar) to the end of the filename (i.e. A60_01.pdf, A60_02.pdf). 

View 1 Replies View Related

AutoCAD Inventor :: ILogic FOR Loop To Unsuppress Features

Sep 10, 2013

I am currently designing a heat exchanger and want to adjust the number of water channel using iLogic. The number of channels to be active is based on the channel dimensions, and is calculated in my excel spreadsheet, but up to a maximum of 19. This is stored in the parameter "no_channel". Each channel is a seperate feature (extrusion) and named from "Channel 1" though "Channel 19".

My idea of doing this automation was to have iLogic suppress all the features, and then doing a closed loop to unsuppres the features I want active:
 
Feature.IsActive("Channel 1") = FalseFeature.IsActive("Channel 2") = False...Feature.IsActive("Channel 19") = FalseFor i = 1 To no_channelFeature.IsActive("Channel"(i)) = TrueNext
 
However, this gives me the following error:

Error in rule: Number of channels, in document: Radiator fin side.ipt

Feature.IsActive: No feature found with the name: "h".

View 2 Replies View Related

AutoCAD Inventor :: How To Heal Error For Loop Orientation

Jun 6, 2012

I'm desperate to know how should i heal the errors for loop orientation issues. I had imported the .stp file into inventor so i can do stress analysis. After imported the file and enter into repair environment, after i find the errors shown 9 errors in loop orientation issues. 

View 1 Replies View Related

AutoCAD Inventor :: How To Select Chain Loop On Chamfer

Aug 12, 2013

I wanted to chamfer a poligonal faced part, but had to select the edges one by one.

The Edge Chain buttons were grayed out, why?

View 1 Replies View Related

AutoCAD Inventor :: How To Stop ILogic Loop With Keyboard

Sep 27, 2011

Is it possible to stop an infinite loop when running an iLogic rule?

View 4 Replies View Related

AutoCAD Inventor :: Loop Select Sketch To Create Boundary

Sep 26, 2011

I am not sure exactly why this is a limited feature of Inventor 2011 but when you want to select a sketch to create a boundary patch you have to select each part of the sketch in sequence.  It's a pretty laborious task.  I am looking to a way to automate this using i logic. 

View 5 Replies View Related

AutoCAD Inventor :: Split Face Open Loop Error

Dec 16, 2013

I am attempting to split a face so I have a good area to apply a load in simulation and 3/4 of the areas split just fine but I CANNOT get the 4th area to split! This is all just projected geometry but left and right are symmetrical so I can't figure out why the L side works but not the R side.

View 2 Replies View Related

AutoCAD Inventor :: Redefine Center Point Of Loop Of Edges?

Mar 10, 2012

way to redefine a point that was placed in a model with a "Center of Loop of Edges" command?  Inventor doesn't seem to recognize type of placement unless it's been selected from the Point drop-down menu, but picking this in the midst of a redefine only creates a new point, it doesn't redefine the original point.

As it is, I've been forced to just delete the original point, create a new one and go from there.

Infrastructure DSP '14 / Product DSP '14 / Vault Professional 2014
Dell Precision T1650
Windows 7 Professional SP1 64-bit
Intel E3-1270 V2 3.5GHz / 32G RAM
Nvidia Quadro 2000, Driver 331.82
Space Navigator, Driver Version 6.17.7

View 2 Replies View Related

AutoCAD Inventor :: Roller Chain Generator Without A Closed Loop?

Dec 20, 2013

I'm designing a lift truck with a "chain over" lift - the lift cylinder has a sprocket mounted on the end of the rod, and the chain is grounded on one side.  The other end of the chain is mounted to a lifting carriage so that as the cylinder extends and pushes the sprocket up, the chain rolls over it and the carriage moves up (at twice the speed of the cylinder).  This is nothing new - it's pretty much how every single fork truck in the world operates.

My question is this:  can I use the roller chain generator to model this chain, or should I model the links and array them along a path?  My thinking is that if I can use the chain generator, I should be able to animate the chain using Dynamic Simulation.  But the chain generator seems to require a minimum of 2 sprockets in order to work - there's no way that I can see to have a "non-looped" chain or any way to just ground the end of the chain.

2014 Product Design Suite
W7Pro-64
Intel Xeon E5-1620 @ 3.60 GHz 16GB RAM
Dual 1GB NVIDIA Quadro K600 graphics

View 4 Replies View Related

AutoCAD Inventor :: Creating Wire Loop Between Two Connector Pins

Sep 27, 2011

I'd like to use the Cable and Wiring tools to model some fibre optics. I can see how this could work well, being able to set and check for the minimum bend radius. However, I'd also like to include a loop of greater than minimum bend radius between the two connection points, we tend to do this to reduce strain on the fibres. Any elegant solution for inserting the loop?

View 3 Replies View Related







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