AutoCAD Inventor :: ILogic Coding To Disable Event Triggers

Apr 12, 2013

I am setting up template .ipts and .idw for my company, and i run Adept to save and store my files. Now i have a code to automatically make a .idw after i save an .ipt. but then after every save (adept saves the .ipt a lot of times) it will ask to make a drawing for the .ipt. well i was wondering if there is a code to put in a rule to disable the event triggers, and place that rule on the trigger after close document. so that the next time i open the document no event triggers will work.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Event Triggers Stopped Working?

Jul 31, 2013

So the other day I set up an external rule and created an event trigger to run the rule on save.  It worked great ... for a couple days, and then it just stopped working yesterday.  I can still run the rule manually and it works fine, but it doesn't seem to run automatically anymore on file save.  Yes, iLogic is set to Loaded / Automati in the add-ins panel.

(on the iLogic rule attachment, remove .TXT from the end.  I had to add that due to the board's rules about file types.)

Product Design Suite Ultimate 2013, 2014
Autodesk Inventor 2013

Work: Dell Precision T1600 (Xeon E3-1280 / 16GB / 512 GB SSD / 250 GB (Internal) / 1 TB (External) / Quadro 600)

Home: i7-4770k / ASUS Z87-Pro / 16GB / 250 GB SSD / 1 TB HDD / 3 TB USB3 HDD / 2xRadeonHD 4870 in CrossfireX

Laptop: Toshiba Satellite P755-S5269 (i7-2630QM / 8 GB / 250 GB SSD / 750 GB HDD / GT540M)

View 9 Replies View Related

AutoCAD Inventor :: ILogic Coding To Create Automated Drawing?

Feb 14, 2012

I'm attempting to create a model that autmotaically derives ready-to-go drawings. I've gotten pretty far in doing so but have a few issues with regards to dimensioning. As I'm sure you're aware, when the model changes, a dimension to that feature, which has been removed, is also deleted and some those dimensions do not return once the model is changed back.

I have looked into using different view representations, but have found that they do not accommodate feature supression.

Is there a way to program in the dimensioning of a view.

Create center points for of the holes and center lines.

And for a feature note such as "Hole and Thread" dimensioning, when the model expands, the leader and text length do not change and proceed into the view. Is there a way to fix or anchor the text to a certain spot on the drawing, and have the leader length expand and change accordingly to that point.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Coding To Create Automated Drawing?

Feb 14, 2012

I'm attempting to create a model that autmotaically derives ready-to-go drawings. I've gotten pretty far in doing so but have a few issues with regards to dimensioning. As I'm sure you're aware, when the model changes, a dimension to that feature, which has been removed, is also deleted and some those dimensions do not return once the model is changed back.

I have looked into using different view representations, but have found that they do not accommodate feature supression.

My questions are:

Is there a way to program in the dimensioning of a view 

Create center points for of of the holes and center lines

And for a feature note such as "Hole and Thread" dimensioning, when the model expands, the leader and text length do not change and proceed into the view. Is there a way to fix or anchor the text to a certain spot on the drawing, and have the leader length expand and change accordingly to that point.

View 2 Replies View Related

Edge Animate CC :: Disable A Mouse Event After A Another Event?

Aug 2, 2013

I have a button which has a mousover/mousout animation. When i click the button, it will shrink down to 0%. when it does, my mousout event is triggert, which i dont want.
 
how can i disable the mousout event after the click event?

View 4 Replies View Related

AutoCAD Inventor :: New Event Trigger For ILogic

Dec 8, 2011

Is there any chance to define an event trigger which runs an iLogic rule when we check out an already open file? Problem is, that we need to synchronize iProperties on check out to clear "Approved by" when Vault State of Part is "under revision"

Vault Parameter "State" is mapped with iProperty "State".

So I want to run the following on check out:

Call ThisApplication.CommandManager.ControlDefinitions.Item("VaultPropertyWriteBack").Execute2(True)

View 3 Replies View Related

AutoCAD Inventor :: API - Set An Event Trigger For An Ilogic Rule In A Document

Nov 3, 2011

Is there a way to set the event trigger of an ilogic file that's already inside of a document? I have code that can automatically create and populate new rules across my assembly parts, but it would be nice to set certain rules to fire every time that part gets saved. 

If it can't be accomplished outright from the API, would it be possible to throw an OnEvent (save event in this case) inside of the iLogic code, to get the same results? URL...

View 8 Replies View Related

AutoCAD Inventor :: Add External ILogic Rule Under Event Trigger Via API

Sep 22, 2011

Is it possible to place an external iLogic rule under a specific Event Trigger in a file via the API?

Inventor Professional 2014 64 Bit
Windows 7 Professional
NVIDIA Quadro FX 4600
Dual Intel Xeon E5540 CPUs
16GB DDR3 Ram

View 2 Replies View Related

AutoCAD Inventor :: Adding ILogic Rule To Event Trigger With VBA

Jul 11, 2013

How to get the API to add an iLogic Event Trigger but I cannot find the exact code on how to do it.

Is there a Simple way to add an Ilogic Rule (External or Internal) to an event trigger with a VBA Macro or iLogic Rule?

I would like to automate adding an iLogic rule to an Event Trigger when we update our old drawings.

The details of the Rule I am trying to call is as follows:

Rule Name = Save On Close Commands

Event = Before Close

We currently have Inventor 2013 and 2014.  If it is not possible in 2013, is it possible in 2014?

get the Rule Added to the Event Trigger

View 9 Replies View Related

AutoCAD Inventor :: 2010 Ilogic Custom Event Trigger?

Sep 18, 2012

Using Ilogic 2010 I wish to trigger my rule on sheet change. Is this something that can be done? I am using it to zoom the drawing on sheet change.

View 1 Replies View Related

AutoCAD Inventor :: Disable Screen Updating Via ILogic

Oct 16, 2012

I am using iLogic to change assembly dimensions, suppress components and constrains. Is there any way to turn off screen updating while iLogic rules are running?
 
Inventor 2013 SP2
Windows 7, 64 bits
RAM 18GB
Core TM2 Duo CPU 2,99 Gz

View 7 Replies View Related

AutoCAD Inventor :: Enable / Disable Part Through ILogic

Feb 15, 2013

Apparently the occurrences tab setting aren't easily accessible through the code snippets in ilogic.

How would one go about writing a rule that, in essense, would say:

If x = "whatever" then

occurrence.enabled = false

else

occurrence.enabled = true

end if

I've been reading that LOD's and suppression aren't the best course of action for assemblies especially when you're dealing with 20-40 parts as I am. I've got an assembly and parts controlled by a spreadsheet and when things are clicked off in the spreadsheet they need to be off in the model/drawings/bills etc. I have it working (to an extent) with suppression of parts in the assembly, but that casues LOD errors in the drawings. Research says parts are best disabled which is what i'm trying to do.

View 1 Replies View Related

AutoCAD Inventor :: Way Of Grabbing Code That Triggers Different Commands

Dec 9, 2013

I would like to know of a way of grabbing the code that triggers different commands for example, someone a while back gave me this command of 

This Application.CommandManager.ControlDefinitions.Item("SheetMetalStylesCmd").Execute

this triggers the Sheet metal defaults in a sheetmetal ipt file.Where was the SheetMetalStylesCmd part of it taken from?

View 2 Replies View Related

AutoCAD Inventor :: Minimize Out Of Process Round Trips When Coding

Oct 13, 2011

I have noticed quite a performance hit when coding the same thing in .NEt compared to VBA. I suspect this to be due to out of process calls between .net and Inventor.

Is there any way to bundle many calls and send them as one.

Example: I want to change the parameter value of a constraint and then update the assemblydocument. Can this be bundled into one call to Inventor?

Inventor Professional 2012 SP1 (25 seats with subscription)
Windows 7 64 bit
Lenovo D20, 12 GB RAM, Intel Xeon X5687 3.6 GHz, SSD
Quadro 4000, driver 8.17.12.9573, dual monitors
SpacePilot, driver version 6.15.3 Firmware 3.12

View 8 Replies View Related

AutoCAD Inventor :: Capturing Save As Event

Nov 11, 2011

I have addin running inside Inventor. The requirement is that addin should be able to capture the "save as" operation done by the user. Internally, addin stores unique information in the active Inventor file and when user does "Save as", it needs to generate and store the new unique information in the newly created file after Save As. That is the reason it is required to capture the Save As event.

It was possible to capture the "Save" event and there I get Event Timing Enum (kBefore and kAfter). But the file name is same for kBefore and kAfter. So its not possible to identify that its Save As operation.

View 3 Replies View Related

AutoCAD Inventor :: OnDocumentChange Event Not Firing

Oct 1, 2013

I'm trying to create a handler for the OnDocumentChange Application event. 

private Inventor.Application m_inventorApplication;
Inventor.ApplicationEvents appEvents = null;
public StandardAddInServer()

[Code]...

My OnSaveDocument handler works just fine but the OnDocumentChange will not fire. I've been using the even watcher and have been using other handlers but cannot seem to get this one to work.

View 7 Replies View Related

AutoCAD Inventor :: Catching Export PDF Event

Jun 5, 2013

Trying to catch an export PDF event.

Few things I have tried...

UserInputEvents.OnActivateCommand

ApplicationEvents.OnSaveDocument

FileUIEvents.OnFileSaveAsDialog

Can't find any reference to export events.

Inventor 2014

View 2 Replies View Related

AutoCAD Inventor :: Close ILogic Form With VBA Or ILogic Rule

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

AutoCAD Inventor :: Interaction Event Mouse Tool Tip

Jul 17, 2013

How to set a tool tip to show up next to and follow the mouse during user interaction. It's the same function that the CommandManager.Pick does?

If it's not a built in function then I guess it's created by a tool tip that gets moved around to follow the mouse on mouse move?

View 1 Replies View Related

AutoCAD Inventor :: Create Simplified Part Not Firing Event?

May 16, 2013

note that the command "create simplified part" is not firing onpopulatefilemetadata event.

I would expect it to.

View 3 Replies View Related

AutoCAD Inventor :: How To Intercept Click Event On Custom Ribbon Tab

Jan 10, 2013

I have a have a custom ribbon tab on the Assembly and ZeroDoc ribbons, those have pannels and buttons.

The custom buttons have OnExecute event that can have custom actions addded.

But how can we intercept the event when user is clicking on the custom tab to show custom pannels?

Is there a OnExecute or a similar event for the RiboonTab?

View 1 Replies View Related

AutoCAD Inventor :: Use Custom Embedded Cursor - User Interaction Event

Aug 3, 2013

How to use an embedded cursor (mycursor.cur) via the SetCursor command under user interaction events. I can use built in cursors just not able to get it working with my resource.

Sample below throws an error type mismatch.

oInteraction.SetCursor(CursorTypeEnum.kCursorTypeCustom, My.Resources.mycursor)
 
I have set the build action of the cursor to be embedded.

View 3 Replies View Related

AutoCAD Inventor :: OnSelect Event When Selecting Component In Drawing View

Sep 24, 2012

Im trying to catch the event when the user selects a component in a drawing view using

CommandManager.UserInputEvents.OnContextMenu += UserInputEvents_OnContextMenu;

But it seems that the onselect event only catches selection of drawing views or balloon, annotation etc, but not the component inside the drawing view is this intentional or a bug?

The reason i need to catch this is to make a new context menu action, so i need the selected item. I know i can use SelectionSet, but i want to be able to debug my application as an external application connecting to the running instance before i build it into an addin (saves me a lot of inventor restarts..) And Selection Set does not seem to work when i use it inside an event handler in an external application... 

View 3 Replies View Related

AutoCAD VB :: Adding Button To Tool Bar That Triggers Code

Aug 13, 2012

I have a couple of VB pieces of code that set up the standards of my company. What I want to do create a buttom in my Workspace -within a tab created by me with the CUI tools- and trigger my VB code.

How is possible to create this buttom that is connected with my code and displayed in my workspace?

View 1 Replies View Related

AutoCAD Civil 3D :: Add FeatureLine Triggers Updating Points?

May 14, 2012

I have a few sites that I use just to keep FeatureLines that I'm using for construction and don't want them interacting with anything in other sites. Of the when I draw an FL in one of those sites I'll get a message such as "Updating 286 points". This takes over 2 minutes to accomplish.

Since I don't have a lot of FeatureLines in the sited I wouldn't expect it to take that long. If it were a complicated site I might not think anything of it. If I add another FL I will still get the same message with the same # of points. So it isn't based on the number of vertices in the FL in that site or it would increase after adding each FL. There is no Surface that uses these FL. So It isn't updating a TIN.

Civil 3D 2012
Dell T7400, 4GB RAM, Win 7 Pro.

BTW. If I delete the FL I don't get any message or lag.

View 9 Replies View Related

AutoCAD 2013 :: Adding A Button To A Tool Bar That Triggers A VB Code

Aug 13, 2012

I have a couple of VB pieces of code that set up the standards of my company. What I want to do create a button in my Workspace -within a tab created by me with the CUI tools- and trigger my VB code. 

How is possible to create this button?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Reactor Triggers Fatal Error

Jun 15, 2012

I have created a very basic reactor as a test. As you can see, it doesn't actually do anything other than set a variable so I know the error isn't caused by something I'm doing with the reactor.

 (defun np:test (reactor callbackdata / ) (setq abc 123))(if (not np:reactor1) (setq np:reactor1 (vlr-command-reactor nil '((:vlr-commandwillstart . np:test))) ))
 
OK, so the problem I have found is that if I load this reactor into a drawing and then use the MVSETUP command but escape out without completing the command, AutoCAD throws an error and becomes unusable. When I then close AutoCAD down I am met with multiple unhandled exception errors before the app finally closes.

I then altered the reactor from a vlr-command-reactor to a vlr-editor-reactor and found that with this, I am no longer met with the same error while escaping out of MVSETUP. However, when I close CAD down I am eventually left with an 'AutoCAD Application has stopped working' error dialog on screen which reports that acad.exe as crashed.

I am working on AutoCAD Architecture 2012 (although I have tried it on 2013 to with the same results) on Windows 7 64bit. I have also tried this on ACA2012 x32 and found the same error exists.

I am doing something fundamentally wrong in the way I am handling reactors?

View 9 Replies View Related

AutoCAD VB :: How To Select All Block Attributes Using VBA Coding

Sep 23, 2012

How Can I Select All Blocks Attributes Using VBA Coding

all blocks with any name with any layer with any property

View 7 Replies View Related

AutoCAD Map 3D :: Modifying Coding In The Acadiso.lin File

Oct 7, 2011

I have been attempting to create some of my own line types by modifying the coding in the acadiso.lin file. I have been relatively successful in creating new line types but it is more by trial and error and wanted to understand the coding better.

View 2 Replies View Related

AutoCAD Civil 3D :: Description Key Set With Linework Coding

Apr 22, 2013

We are using the linework coding to process our figures and the survey .txt file provided to me uses codes to begin lines with "+" & "-".  For example, driveways are coded + DR1 for begin and - DR1 to end the line. The linework process works fine, its when I go to display the point in the description keys that are causing me problems.  All the points that are in between the begin and end points display to the appropriate style because they are coded as DR*. The begin and end do not display correctly as the + & - isn't being recognized in the description key. I tried many alternate ways such as *DR*, + DR*, - DR*, with nothing working.

Is there a different format I need to be using?   There are way to many points to go thru to move the + & - behind the code.

View 7 Replies View Related

AutoCAD .NET :: Saving FDO Layer To DWG File By Custom C# Coding

Sep 5, 2013

Currently I am working on a project which required to convert the FDO layer to DWG file through custom coding
( C# ) .

Addition Information :

I am using FDO for fetching oracle spatial data which is displaying as a layer in AUD modal space.This layer I need to save as DWG file through Custom coding ( C#).

View 1 Replies View Related







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