Brian Ekins

February 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

« VBA Document Projects | Main | Autodesk University »

October 02, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e553fcbfc6883401053523eac2970c

Listed below are links to weblogs that reference Converting VBA Auto Macros to an Add-In:

Comments

Wes D

What would I have to do to impliment this Add In on a Win7 64 Bit system?

Eddie

I am newbie to all this and for some odd reason doesn't recognize the add in i've created thru VS2010. I've read alot about implementing regasm.exe to register your add in, but don't have clue how to do or what that means. Can anyone advise of how to get around this issue or have any reference material they can provide.

thanks

Darren Smith

Dear Brian,

Can I please ask you if you have the source code (either Visual Basic or "C") for the above project (AutoSave.dll) that I can download?

Can you make the source code public domain?

Kindest Regards

Darren Smith

swtor credits

My add-in uses classes that are defined in other custom assemblies that I have created to be used with the add-in. When I register the add-in, run Inventor, and click on my created add-in button.

M.S.R

Hi Brain,
I have created an Addin for Inventor using VB.Net in VisualStudio 2008, I have created it as a model-less dialog but when I press tab key the cursor is not moving to next tool.
I have also checked the TabStop and TabIndex those are perfect and when I create the same as model then the tab order is working...Is there any possible ways that I can make the tab order working for model less dialog also...

Jon Holler

Hi Brian,

The "StandardAddInServer" gives me errors when I open the the template in vb2008. Any idea what's happening here?

Jon

Enrico Lucchetti

Hi Brian, I built the project and I regoster i on 32 bit, but it does not work in Inventor (I'm using 2008 version). What am I missing? Is it right if the dll is not in the bin directory of Inventor?

thanks

Enrico

Randy

What I was missing was the name it was published with. It is there and works great.

Thanks

Randy

I have the expresss version of visual basic. I build a project in 32 bit and it works. I build it on a 64 bit machine and it doesn't show in the addins. I tried to manually registering it per your bat setup, got a successful register and it still does not show. What am I missing.

AlvaA

Is it necessary for me to register (using RegAsm) any custom assemblies that my add-in class references?

Here is the problem I am having:
I am have created an add-in to Inventor 2009(in C#) and I am in the process of debugging it. My add-in uses classes that are defined in other custom assemblies that I have created to be used with the add-in. When I register the add-in, run Inventor, and click on my created add-in button, I sometimes get exceptions stating that my add-in cannot find the custom assemblies that are needed in order for it to run, although the assemblies are in the same directory as the add-in .dll and are of the correct version.

Brian Ekins

The full filename of the file to create is being defined in the program. You set this to anything you would like. In the sample it's getting the full filename of the document being saved and modifying the extension.

Dim filename As String
filename = DocumentObject.FullFileName
filename = Left(filename, Len(filename) - 4)

It could be changed to something like this:

Dim filename As String
filename = "T:\InvDrw\Myfile.dwf"

Peter Bosse

Hi Brian,

(AutoSave DWF/PDF)

If I want to place the DWF/PDF in a particular folder fx. T:\InvDrw.. How do i do that..?

Tim Straz

Hi Brian,

Thank you for posting this and all the other great tips. Is it possible to see the conversion of a VBA form to a VB Add-in?
Thanks,
Tim

DanV

Brian,

Great code. This will come in handy. A question though, is there a way to generated a pdf\dwf of all the sheets in the IDW file. I noticed that it only publishes the current sheet.

Thanks,

Dan

-----------

See the posting http://modthemachine.typepad.com/my_weblog/2009/01/translating-files-with-the-api.html

-Brian

Bob Collins

Brian,

I ran thru this example using C# and it builds successfully, but I have to manually register the dll to get Inventor to see it. I am running Vista64 / Inventor 2009 64 bit. Do I need to do anything different for the 64 bit vs the 32?

Just got back from AU - had a great time!

Thanks,

Bob

AlexF

Hi,
I realise I'm a little late joining the party on this, but I was wondering if the template you've created can be used with the Express 2008 versions of both C# and VB.NET?

Cheers,

Alex.

Jon Brabbs

Man I've been doing this the hard way, I've got about 100 lines to do this!

Thanks for the post Brian. I will have a play and see what happens.

Cheers

Jon

The comments to this entry are closed.

RSS Feed

  •  Subscribe

Survey