AutoCAD Inventor :: Addin Loading Multiple Times

Dec 2, 2013

I have an issue where an addin loads once the first time Inventor is opened. If the addin is unloaded and reloaded via the Addins dialog and no documents are open it loads once. If the addin is reloaded while a file is open is reloads twice.

I came to the conclusion it is loading multiple times because the it seems to go through the Activation method of the addin twice. When is the Activation method called during loading an addin?

Inventor Addins
FlowTools for Inventor
ilxButton Panel (Buttons for iLogic Rules)

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: Addin Stopped Loading

Apr 13, 2012

Windows 7 64bit
Inventor 2010
Visual Studio Professional 2010

I have an Addin with several pieces of functionality that I have been working on for over a year now and have had no problems with it loading.  Yesterday I was working on a bug in a function and when I set a break point it was not breaking in the correct location.  Possably some miss match between the source and .pdb files.  I tried a clean build but still could not get the break point to be correctly aligned with my source code.

I tried to unregister and re-register the Addin with regasm but no luck.  I then decided to search the registry for the name of my Addin and was supprized to find thousnads of registry entries.  I then decided to clean my registry of all occurances of the Addin name.  After removing all occurances of my Addin from the registry my Addin would not load.

I tried putting a message box in the first line of the Activate sub but it never executes.  I made the assumption that it was a problem with the registry and changed the GUID value.  When I did a rebuild I got the following error:

Error 1 The "UnregisterAssembly" task failed unexpectedly.
System.Runtime.InteropServices.COMException (0x80030002):  could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND))
   at Microsoft.Build.Tasks.NativeMethods.UnregisterTypeLib(Guid& guid, Int16 wMajorVerNum, Int16 wMinorVerNum, Int32 lcid, SYSKIND syskind)
   at Microsoft.Build.Tasks.UnregisterAssembly.Unregister(String assemblyPath, String typeLibPath)
   at Microsoft.Build.Tasks.UnregisterAssembly.Execute()
   at Microsoft.Build.Framework.ITask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) AnthroAddIn

I ran the build again and did not get the error.This Addin is loaded on every CAD workstation in the company using an install program written with the Inno Setup Compiler.  I installed the Addin using the installer and the Addin still will not load on my machine.

What is the best approch to debugging an Addin that will not load?When is it necessary to re-register your Addin using regasm?Is it possable that this problem is being caused a problem with the registry?I have read a number of posts regarding problems with Addin's not loading but have not found anything simmilar to this. 

View 2 Replies View Related

Edge Animate CC :: Stopping Embedded Video From Loading Multiple Times?

Jan 10, 2014

just started using Edge Animate. I have some experience with Flash and After Effect so the layout is pretty familiar to me. I have no background in coding so I am very happy that it generates codes for me.
 
My goal is to make a simple html5 site with links / embedded videos to my contents (500 and vimeo). I copied some codes used for Youtube embedding, sub'd the url with vimeo url, and it worked fine. I used a "play video" button on the main page to trigger loading the video page (see my code below).
 
It worked great the first time I clicked the button and went to the video page. However, upon returning to the main page, and click the "play video" button again, a duplicate copy of the video is loaded right below the video loaded upon first click. This occurs for as many times as I click the play video button.

View 3 Replies View Related

Edge Animate CC :: Why Is Edge Loading The Same Files Multiple Times

May 29, 2013

From the image above you can see that "jquery" loaded twice @ 91kb = 181kbedge 1.5 loaded twice @ 102kb = 204kb aswell as the edge and edge actions files loaded twice and if i boot strap comps together the images are loaded multiple times aswell

View 1 Replies View Related

AutoCAD Inventor :: Prompting To Check Out Multiple Times

Jul 11, 2013

A drawing that is in Vault, it asks if you want to check it out, and if you say no (like if you just need to print it), it opens it then asks you again if you want to check it out? Did it not get the hint the first time?

View 1 Replies View Related

AutoCAD Inventor :: Saving Part Files Multiple Times

May 2, 2013

In testing my latest automation project, I've found that I can't save copies of a part multiple times (after deleteing the files off the disk) unless I close out of the top level assembly document, and reopen it. I used Process Monitor and determined that Inventor is trying to save to an existing file instead of creating a new file.

Inventor 2013 SP 1.1

View 1 Replies View Related

Photoshop :: CS3 Loading Times When...

Sep 22, 2008

I open any kind of file or when I create a new file it takes Photoshop at least 30 secs to open or create the file. I also have PS installed on another computer (with the same specs) where I don't have this problem.

why it takes PS so long to open/create files? I'm using a laptop with a Core 2 Duo processor and 2GB of DDR2 ram.

View 2 Replies View Related

Photoshop :: Long Image Loading Times From LR To CS6?

Jun 22, 2012

very long image loading times when loading an image into CS6 from LR4.When I right click an image in LR4 and select edit-in CS6, CS6 immediately starts up, and loads. But after CS6 is fully up on my screen, I get a spinning ball first, then spinning white/grey circles, until my selected image appears within CS6.
 
I am operatinng with an iMac 27 2.8G with 8G of memory and using SL 10.6.8 I have about 300G of free space on my HDD.

View 2 Replies View Related

Photoshop :: Reduce PSD Loading And Saving Times

Nov 4, 2011

I am currently having a little problem working with Photoshop: I am designing posters and other prints for a festival here, and we usually print the largest posters on A1 intl paper full color. That means working in a huge 300dpi file with quite a lot of layers.

The issue I'm having trouble with concerns the loading and saving of the files (the biggest ones are around 1.1GigaByte). Simply loading the file into PS takes over 5 minutes, slowing down my computer drastically. Saving the file in a .psd format takes even longer, over 10 minutes sometimes.

I doubt this is an issue with the computer, as it has reasonable specs and is only a few months old. So how to reduce the file size of these .psds and thereby optimize their loading time. Because working like this is extremely time consuming and unproductive...

View 7 Replies View Related

Premiere Pro :: Consistently Immense Loading / Media Pending Times In Both CS6 And CC

Dec 20, 2013

I've had this problem since switching over to Premiere, and continue to have it since upgrading from CS6 to CC.  I can't believe this is actually how Premiere is supposed to work.  It's a global thing, not specific to a single project.  But I'll use my current project as an example:
 
I have about 4 hours of media, mostly P2 Avc-Intra, with some R3D as well.  Total number of media clips: around 2600.Every time I open the project, it takes a thoroughly horrific amount of time for the media to finish loading (as evidenced by the "Loaded" status message at the bottom of the screen, and the "Media Pending" screen display on still-pending clips).  On this particular project, for example, it takes 12 minutes for the media to finish loading.  It doesn't take many crashes or reboots per day before the re-loading process eats up a significant chunk of my billable hours.
 
I've tried having the media cache in the internal drive/Adobe/Common directory, and I've deleted that and set the media cache for the external Thunderbolt media RAID.  Same results either way.
 
System specs: OS 10.7.5 iMac 2.7 GHz Core i5     20 GB RAM     P Pro 7.1.0   (though, as I said, it has been like this in CS6 as well)RADEON 6770M   
  
Hardware Mercury acceleration is not an option (grayed out), so that's turned off.Results are the same regardless of whether I have the RED Rocket card connected.

View 3 Replies View Related

CorelDRAW Graphics Suite 12 :: Running Script Multiple Times Produces Multiple Copies?

Sep 1, 2011

I have this script that basically makes a shape expand by adding an outline, conveting the outline to an object, and then welding the whole thing together.

I have the script set to execute with hotkey ctrl+numpad+

The odd thing is, when I run it once, it seems to work fine and only one object is left, but when I hold down ctrl and press numoad+ over and over again, it seems to produce a new copy of the object everytime.

I'm not sure why this is happening, but I need to get it to stop. 

Sub Expand()    EventsEnabled = False        'Dim vars    Dim c1 As New Color    Dim OrigSelection As ShapeRange    Dim OrigColor As Shape    Dim width1 As Double    Dim height1 As Double    Dim minSize As Double    Dim Thickness As Double        'copy color of current selection    Set OrigColor = ActiveShape    If OrigColor Is Nothing Then Exit Sub    If OrigColor.Fill.Type <> cdrUniformFill Then Exit Sub    c1.CopyAssign OrigColor.Fill.UniformColor        'get thickness to increase by    Set OrigSelection = ActiveSelectionRange    OrigSelection.GetSize width1, height1    If width1 <= height1 Then minSize = width1    If width1 > height1 Then minSize = height1    Thickness = minSize * 0.035        OrigSelection.SetOutlineProperties Color:=CreateRGBColor(0, 0, 0)    OrigSelection.SetOutlineProperties Thickness, ScaleWithShape:=True        'weld    Dim s1 As Shape    Set s1 = OrigSelection(1).Outline.ConvertToObject    Dim s2 As Shape    Set s2 = s1.Weld(OrigSelection(1), True, True)            'auto reduce    's2.Curve.Nodes.All.AutoReduce 0.001    's2.Fill.ApplyUniformFill c1        'delete remnants    OrigSelection.Delete    s1.Delete    'OrigColor.Delete            EventsEnabled = TrueEnd Sub

View 5 Replies View Related

AutoCAD LT :: Copying Object Multiple Times

Nov 22, 2013

I'm copying 1 object, multiple times. Yes I know how to multiple copy.

The problem is this.

The object I'm copying will have varying distances between each copy e.g. , 50, 100, 90, 150, 140, 100, 190 so on and so forth.

Is there a way in LT to copy relative to the last object placed?

View 5 Replies View Related

AutoCAD Map 3D :: Unable To Import SHP File Multiple Times

Aug 8, 2011

I'm using Autodesk Map 3D 2006, it's a new install.  I am trying to import an ESRI .shp file with the object data, but have only been able to successfully import it once.  When I try again (even after restarting the program), I keep getting 0 objects processed and no linework imported, even with new drawings.  I also got 2 error messages at one point: 1900 - about having coincident points and a can't transform object error.

View 1 Replies View Related

AutoCAD .NET :: Event Handler Triggered Multiple Times?

Jul 15, 2011

I have a SelectionAdded event handler that reacts three times when selecing a single block and once when deselecting it.

If there are two blocks in the drawing but only selected one it reacts 5 or 6 times.

And it reacts every time I pass the mouse over the selected block.

Is there any way to sidestep the events in the handler so that AutoCAD doesn't grind to a halt if I have multiple blocks in the drawing. And decide to move my mouse over all of them?

View 5 Replies View Related

AutoCAD Civil 3D :: How To Copy Object Multiple Times In A Curve

May 9, 2012

Trying to find out how to copy an object multiple times in a curve. I've used microstation and it does it easily and just wandering is AC has the same type funtion without going throught 6-8 steps for each copy.

View 9 Replies View Related

AutoCad :: How To Copy A Layout Multiple Times Inside A Sheet Set

Feb 3, 2014

I am trying to copy a layout tab inside an AutoCad file into a sheet set I created. All folders and sub folders are created and setup. What I need is to be able to copy the same layout under different sub folders inside sheet set manager.

To explain this better, I have a sheets set with all different departments inside our company (ex. CNC Dept., Bending, Machining, Welding, etc.). Some drawings have information for CNC, Welding and bending dept. Therefore I need to be able to copy the same drawing layout multiple times under each dept folder.

How can I do this? It only allow me to drag and copy the file once. I wont be able to drag it again under another folder.

View 4 Replies View Related

AutoCAD Inventor :: Run Addin From VBA Macro

Nov 9, 2011

How to call a addin from vba ? The addin is existing, source code not available :-(

My only idea is to somehow activate the button on the ribbon. Made a dump with the Print Ribbon routine from the online API help:

Tab: CDLIGHT, CDLIGHT.Part.Tab

Panel: iToolbox, CDLIGHT.iToolbox.Part.ToolBar

View 1 Replies View Related

Photoshop :: CS6 Sends Same Job Multiple Times

Sep 25, 2012

Using PS CS6 on WIndows 7 64.  All drivers updated.  When I set 5 copies in the print menu, with either PSDs, TIFFs, or JPGs, PS sends the same job five times rather than telling the printer to just make 5 copies.
 
This happens when using either the color laser or Epson R3000.  This does NOT happen when using non-CS6 products.  On a 25 print run, this takes an abnormally long time.What I HAVE found is that PS is NOT passing the information to the printer.  In other words, even though I set PS to multiple copies, when I click printer options the number of copies has not been passed to the driver.

View 7 Replies View Related

AutoCAD Inventor :: Getting An Addin To Load Without Registry

Sep 22, 2011

how to load an addin without using the registry for Inventor 2012? Failing that, I just can't seem to get it to work.

View 1 Replies View Related

AutoCAD Inventor :: Example Of Embedding IronPython Into A C# Addin

Dec 13, 2012

Below is a link to a github repo that has a code example showing how to embed an IronPython engine inside a C# addin.  It is the same as the "Simple AddIn" that comes with the SDK, only with the logic part of the addin factored out into IronPython.  I could never find anything on using IronPython with Inventor so I'm posting this for any others that might be interested. 

The main reason for doing this is to speed up development time.  Edits related to the python code do not require the cycle of shutting down Inventor, compiling, restarting etc.  More detail is in the readme. URL....

View 4 Replies View Related

AutoCAD Inventor :: AddIn Sample Tool Bar

Oct 29, 2004

I followed exactly step-by-step showing in the program. After compile the DLL register the registry, run IV, I couldn't see the AddIn SampleToolbar in the Panel bar.

View 9 Replies View Related

AutoCAD Inventor :: Calling AddIn Function From Outside

Dec 17, 2013

I would like to make an Inventor AddIn with commands (functions) that can be called from other standalone applications. I have tried to create a COM interface for my AddIn, and that works with rather small effort, but I think I have heard that it should be possible to do this without the COM interface. I would like to avoid COM if possible. if I need to do anything special in the AddIn to make the function visible and how I on client side calls the function.

View 1 Replies View Related

AutoCAD Inventor :: Creating An Addin That Uses WPF (instead Of WinForms)

Jan 27, 2010

creating an Inventor addin that uses WPF (instead of WinForms). We are trying it with Inventor 2010 and are running into problems.

View 2 Replies View Related

AutoCAD Inventor :: Reload An Addin For Each File

Feb 13, 2013

I have an addin which displays a form, then when I click a button operations are launched. The form is no modal, so I display it, select objects, apply, select objects, apply,... then close the form with another button (form.close).

All functions, but only on the first opened file : I open the file, use the addin, close the form. I open another file, the addin is always loaded, but when I click on the icon to display the form nothing happens... I have to unload the addin and reload it.

View 2 Replies View Related

AutoCAD Inventor :: How To Pass Variable From One Addin To Another

Aug 25, 2013

I've used vb.net to write two separate addins.  I was wondering if there is a way to pass a variable from one addin to another similar to the way shared variables are passed from rule to rule in iLogic.

View 2 Replies View Related

AutoCAD Inventor :: Unable To Get Addin To Load

Aug 25, 2011

I have having difficulty getting any addins to load at the moment and am totally stumped as to what the problem is. I have even created a very simple addin from the (C#) template, compiled and registered it and it still will not load up. I get the addin to appear in the Inventor Add-ins dialog ok but it will not load for some reason. I have tried generating various .Net versions 2.0, 3.0 & 3.5 all produce the same result. I have also tried to debug the add-in by getting Visual Studio to launch Inventor but it does not even appear to be loading the add-in. I have dug out some work I did months ago and tried that but it does not work either. Is there a log in Inventor?

I am using C# in Visual Studio 2008 Pro & Inventor 2011.

View 1 Replies View Related

AutoCAD Inventor :: Create Addin With Compatibility

Sep 12, 2013

I am looking for any example to create an addin compatible between versions of inventor and also compatible win between 32 and 64bit.

Today I know create all separate. Thereby generating 4 different files. 

Example:

Addin2013_32x.dll
Addin2013_64x.dll
Addin2014_32x.dll
Addin2014_64x.dll 

View 2 Replies View Related

AutoCAD Inventor :: Trap Escape Key From Within AddIn?

Oct 24, 2012

show me an event handler (or whatever is needed) for bailing out of an AddIn?  I'm using VB.net.  The end users would prefer to use the ESCAPE key for this. 

View 5 Replies View Related

Revit :: How To Flip Face Multiple Times

Jul 6, 2012

Is there a way to flip face multiple times?  I have lots of composite window in the external wall of my model which someone has placed the wrong way round,  at the moment I’m just flipping one window at a time.

View 4 Replies View Related

Maya :: How To Import One FBX Into The Scene Multiple Times

Apr 22, 2013

I want to put multiple people in the scene. So I'm trying to import people.fbx into the scene. It succeed at the first time. I grouped the meshes and skeleton and name it in name people1. But I can't import the same people.fbx again. Is there any way to import one .fbx into the scene for multiple times?

View 1 Replies View Related

InDesign :: Same File Opening Multiple Times In CC

Apr 2, 2014

I'm getting the same file opening multiple (20-30 times)try closing and it just keeps opening new copiesHave to force quit in the end

View 2 Replies View Related







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