delete macro

delete macro

Anonymous
Not applicable
530 Views
6 Replies
Message 1 of 7

delete macro

Anonymous
Not applicable
How can I remove macros of an inventor document?
0 Likes
531 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Follow this topic through to the end. You may be able to apply the concepts to your problem.

http://www.mcadforums.com/forums/viewtopic.php?t=8314
0 Likes
Message 3 of 7

Anonymous
Not applicable

If you look for a posting titled "The non-empty VBA
project warning" I provided a utility that will remove a VBA project from a
document.  Let me know if you can't find it.
--
Brian
Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
0 Likes
Message 4 of 7

Anonymous
Not applicable
Is it possible to get the source code of the DeleteVBA tool. I need it for a C# program for one of our customers. Our C# program should remove macros and do other things as well.
0 Likes
Message 5 of 7

Anonymous
Not applicable

I've attached the source for the program but it
won't be easy to convert to C#.  The original is a C++ program that makes
some calls that I don't think exist within the .Net Framework.  If you are
able to convert it, I'd like to know.  When I wrote it I did a fair amount
of searching and didn't find much.  One option is to just leave it as-is
and use it from your C# program by executing as a shell command and passing the
filename as a command line argument.
--
Brian Ekins
Autodesk Inventor
API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
0 Likes
Message 6 of 7

Anonymous
Not applicable

One more time, this time with the attachment.
:)


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


I've attached the source for the program but it
won't be easy to convert to C#.  The original is a C++ program that makes
some calls that I don't think exist within the .Net Framework.  If you
are able to convert it, I'd like to know.  When I wrote it I did a fair
amount of searching and didn't find much.  One option is to just leave it
as-is and use it from your C# program by executing as a shell command and
passing the filename as a command line argument.
--
Brian
Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
0 Likes
Message 7 of 7

Anonymous
Not applicable
I think I will leave it as it is. Thank you very much.
0 Likes