AutoCAD Inventor :: Addin File Require Assembly Item?
Jun 21, 2013
If regsvr32 registers my AddIn DLL why does the .AddIn file require the Assembly item?
It seems to me that the path to my DLL is duplicated. It is present in the call to RegSrv32 as well as in the .AddIn file.
I may be missing something vital of course...
View 2 Replies
ADVERTISEMENT
Feb 13, 2013
I have a drawing in which I need to keep a part in the assembly but I don't want to display it on the BoM. Is there any way I can remove it from the BoM without removing it from the assembly and drawing?
View 3 Replies
View Related
Nov 23, 2012
Is it possible to make the column 'REV' automatically equal to the 'Item' column in attached BOM view? I manually added the values 1 to 5 in the REV column for example.
Maybe with some ilogic rule? I don't know if it's possible and/or where to start.
When i place a mono-part-detail on a assembly drawing i want to be able to place a leader referenced to the REV value. When this is possible there is a link between assembly item number and the mono-part leader.
View 1 Replies
View Related
Sep 28, 2012
I'd like to create a macro that I can run from within an assembly that will loop through each BOM item and add the quantity req'd to a custom property within the component. I'm very familiar with VBA from Office, but I'm new to it with respect to Inventor so I'm pretty fuzzy with object titles and options.
Here's an outline of what I'd like to do:
Execute Macro from within Assembly file
For Each BOM Item to # of BOM Items
If Vendor = "Make" then
Set Component Custom Property "Qty_Reqd" = Total Qty from BOM
Endif
Next BOM Item
View 9 Replies
View Related
Jan 30, 2013
I have a subassembly that has been patterned.
I need to toggle the visibility of a part in that subassembly in each pattern element.
How do I refer to the part?
I have declared an object for my pattern, and can toggle the suppression on any element.
But I need to get at an individual component inside the element.
I've been trying something like this:
oPattern.OccurrencePatternElements.Item(X).Component.Visible("Valance Jig Frame - 1in:1") = False
View 1 Replies
View Related
Apr 25, 2012
I don't know how useful this will be but I was trying to figure out how to track what item number in an assembly any given part may be. I was thinking that on an individual part drawing I may want to reference the item number that is used in an assembly's Bill of Material for that part. I can't find where this may be stored for retrieval. If I do this I would want it to be automated so that if the BoM were renumbered the part file and drawing would update to the new item number.
This may not be possible since any part may be used in any number of different assemblies with different locations in a Bill of Material. Most of our assemblies use "one off" parts that are only used in that assembly so it may be possible in my particular situation to do this if there is a way to get at the BoM item number and connect it to the IPT file.
View 4 Replies
View Related
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
Apr 19, 2013
I'm looking to get the file path of a selected part/assembly while inside of an assembly. I think I found something that can get it but the example is just different enough I can't figure it out and I don't have time to play with it. There also might be an easier way I couldn't find while searching.
This is the example code that seems to be able to do loads of things including get the full path, if you know what you're doing.
[URL]
View 9 Replies
View Related
Sep 24, 2012
I have created a new item in content center in my personnel library. When i am creating a new item in content center its creating *.ipt file somewhere ? If so from which location i can open the part file ?
View 3 Replies
View Related
Sep 27, 2012
I have a problem with shortcut keys in inventor 2013.Example:
-In 2012 when pressing "s", it would create sketch.
-In 2013 when pressing "s", it needs enter/spacebar to confirm that sketch creation.
I can't seem to find a setting that changes this, or a thread here on the forums describing anything about this. Only threads about shortcuts suddenly not working anymore, which is not the problem for me at this moment.
View 4 Replies
View Related
Sep 5, 2012
Why does the Round() function require that the number of decimal places be either a number or an object if you want to use a variable? It seems that a Single should work here, but iLogic won't accept it.
See sample code below which is rounding off dimension values. If I dim the variable "somenumber" as Single or Double, I get this error message from the Round() function: "Overload resolution failed because no accessible 'Round' can be called without a narrowing conversion."
When I dim "somenumber" as an object it works, but this seems unnecessary when all it is storing is a single digit number. Why wouldn't Single or Double work for this variable?
Here's the code snippet:
'Dim Current Sketch & Count Constraints
Dim oSketch As Sketch = ThisApplication.ActiveEditObject
Dim oDimCount As Single = oSketch.DimensionConstraints.Count
[Code]....
View 3 Replies
View Related
Sep 24, 2012
I want to import some of the iproperties of one ipt file into an iam file.how to do it.
IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit
View 9 Replies
View Related
Dec 13, 2013
Describe the external referencing of a part file by an assembly file? I keep getting confused between part file and an assembly file.
View 2 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
Sep 9, 2013
Using Inventor 2014 and Vault Basic 2014. It was working this morning but now when Invnetor is opened it automatically logs into Vault and says it is successful but the open from vault icon is greyed out. Similarly when opening a drawing from the vault it used to automatically run and open inventor but now seems to lack the connection. Even when manually opening a drawing that is in the vault by downloading it from the browser and then opening in inventor there is no Vault tab on the browser and all Vault commands except "log out" are greyed out. I think it has something to do with the add-in as well as the Vault group.
View 2 Replies
View Related
Sep 24, 2012
We create a greate deal of DLL add ins for Inventor using Microsoft VB.NET. The code security is very important to us. I hear certain program such " Lutz Roeder's Reflector " can reverse engineer the DLL assemblies and get the actual code from it. This would cause concern when we deploy the DLL to various users.
So, is it true that DLL from VB.NET (or C# and C++) is so vulnerable from reverse engineering? if yes, what is any practice to add security to it?
View 4 Replies
View Related
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
View Related
Jun 20, 2011
I cannot debug an addin for Inventor 2012 from Visual Studio 2010 professional on Win7 64.
I started with a new “Autodesk Inventor Addin” project
Set debug “Start external program” to inventor
Added a form and called it from StandardAddInServer.Activate sub
IF I debug from here inventor starts but form does not open. Addin not loaded.
Move *.addin file to Inventor addins
Now when running debug, form opens but breakpoints do not work. VS reports no errors on build.
View 9 Replies
View Related
Jun 3, 2013
Is using nullptr (instead of NULL) valid in an Inventor Addin?
(I'm trying to drag myself into the second decade of the 21st century)
View 2 Replies
View Related
May 27, 2013
What the inventor addin load sequence is. I want first load addin and then load another addin what i create it.
View 1 Replies
View Related
Nov 24, 2012
I can get property through API such as Density,LinearExpansion,YieldStrength...
In inventor 2013 it is added additional fields such as Description,Source etc.
is it posiible to adress to theese fields through API?
View 1 Replies
View Related