AutoCAD Inventor :: Use DXF Translator Addin To Export A Sketch?

Jun 18, 2009

Is it possible to use the DXF Translator Addin to export a sketch?

I've managed to export a sketch using the DataIO mechanism, but I need to be able to export the DXF in an older file version than 2010. Is there any way to specifiy the version to export to using the DataIO mechanism?

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Cannot Get The PDF Translator Add-In

Jun 24, 2013

Can not get the PDF translator Add-In

Trying to export a PDF with PDF translator. Using sample "Save as PDF Translator Sample" from programers.

Getting error "Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))" with

 Dim PDFAddIn As TranslatorAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")

Tried on another system with same results. Can get other translators with ItemById. Can export PDF manually.  

Inventor 2014, Visual Studios 2012

View 9 Replies View Related

AutoCAD Inventor :: DXF Translator Macro

May 24, 2013

When I am done with a drawing (inventor .dwg), I manually go to "Save Copy As" and select DXF, and using my default options, save the drawing as a DXF on a server (OUTSIDE of vault) that our shop guys can access for CNC stuff. I understand there is a DXF Translator that I may be able to set to do this for me. How to use Inventor add-ins (my translator is loaded, thats as far as I got) or set them as macros. A button on the ribbon to export to DXF would be nice and I may also want to automate this further and have it do it on file save.

View 9 Replies View Related

AutoCAD Inventor :: Export Sketch From IPT To IDW

Jul 26, 2013

I am working on iLogic models and have a sketch feature in a part that is used as a referance for a caulk bead. The sketch is in an IPT and is a stand alone feature. I am trying to have this sketch feature be visible in and IDW file of the product I am developing but cannot seem to find a solution. Is this even possible and if so what am I doing wrong?

I am doing it this way because the caulk bead spans the entire height of the part which can change via different custom parameters, therefore the caulk bead needs to be able to change with the part while not losing its sketch references.

View 4 Replies View Related

AutoCAD Inventor :: Include Sketch In DXF Export

Jul 30, 2012

Is it possible to include Model Sketches when exporting a DXF from a drawing document?

Previously I could do a simple export : 

ThisDoc.Document.SaveAs(DXFNAME , True)
 
Which used the options I'd set in the 'DXF File Export Options'

However, now I need to include some geometry from 'Sketch 2' within my DXF.

I've looked at the TranslatorAddIn Interface but can't see any options to include sketches in DXFs.

I'm using Inventor 2011

View 1 Replies View Related

AutoCAD Inventor :: ILogic - STL Translator Specific Parameters Info

Sep 11, 2013

I am looking for information on the option parameters, any documentation?

I found some code to query what parameters there are (Rule: GetTranslatorOptions), just not sure what the enumerations are for some.

Specifically: ExportUnits, Resolution

Using Rule:ExportSTL

I have changed the Export Units from 1 to 4 and do not see any change to the STL ASCII output.. not sure what this parameter does... Expected it to be an enumeration of the drop-down box that you see during "manual" exporting.  

View 1 Replies View Related

AutoCAD Inventor :: Flat Pattern 2D Translator Not Installed And Save Copy As DXF

Aug 28, 2013

I am working with inventor 2014 professional now. But There is a problem. it is ( a: 2d translator not installed and b:sketch export failed ) . dxf drawings of sheet metal environment, particularly these problems started recording format.

View 3 Replies View Related

AutoCAD Inventor :: Mechanical Desktop Part / Assembly Translator Not Registered

Oct 11, 2011

I am trying to import my MDT 2009 (SP3) files into Inventor 2012 (SP1) but I get the error in the subject line.

View 9 Replies View Related

AutoCAD Inventor :: Export Sketch To DXF And Control Entity Target Layers

Mar 18, 2013

Is there any way to export a sketch to DXF and control the target layer of sketch entities?

Solid Lines go to Layer=0

Construction Lines go to Layer=Construction

Center Lines go to Layer=Center

I am currently using

Sketch.DataIO.WriteDataToFile("DXF", strDXFOutputFile)

which send everything to layer=0

View 1 Replies View Related

AutoCAD Inventor :: Export Start And End Point Of Various Lines In Sketch To Excel File?

Oct 26, 2012

I have been searching for a macro to export the start and end point of a line coordinates to excel, but I can only find information on how to export 3D Points.

Is it possible to program a macro that allows me to export the start and end point of various lines in a sketch?

The objective of this is to connect an excel file which is updated when I create a line with it correspondent points, then i could not only import these x,y,z coordinates from excel to inventor but I whould be able to update my spreedsheet whenever I change my sketch.

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

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 :: 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

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

AutoCAD Inventor :: Communication Error With Vault Addin

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

AutoCAD Inventor :: How To Prevent DLL Addin From Reverse-engineering

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

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

AutoCAD Inventor :: Debugging 2012 Addin With VS2010

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

AutoCAD Inventor :: Using Nullptr (instead Of NULL) Valid In Addin?

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

AutoCAD Inventor :: 2012 Addin Load Sequence

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

AutoCAD Inventor :: Access Material Property From Addin?

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

AutoCAD Inventor :: Shared Sketch Generates Sketch Doctor Error - Feature Suppressed

Sep 21, 2011

I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013

View 2 Replies View Related

AutoCAD Inventor :: Copy Part Sketch Into Drawing Sketch

Sep 20, 2012

How do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?

I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations.  Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.

I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist.  I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.

I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way.  I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option.  I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.

View 4 Replies View Related







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