I am doing a customization project in AutoCAD 2012 using C#.net.
My objective is to extract BOM table from an AutoCAD drawing using c# programming.
I am trying to create a custom menu in AutoCAD which will have the export BOM functionality.
Since I am new to C# programming I am finding it difficult to form the code.
Any sort of help is appreciated.
Thanks in advance.
Solved! Go to Solution.
Solved! by Hallex. See the answer in context.
The real world example, based on the drawing from there:
The data extraction tool does not export my BOM table.
I am attaching a sample drawing with a BOM table on it.
The task that export function does when right clicking on any table, i have to do that with the help of C# code.
My objective is to create a new custom menu in any toolbar of AutoCAD and link the export functionality to that menu.
Exactly the function which _TABLEEXPORT does, i have to do that with the help of a custom menu or by creating a custom action in the quick access toolbar. after creating the action i have to link the _TABLEEXPORT functionality to that custom action.
can anybody help me with the code to create such a custom menu or custom action?
I understand what you are telling is also a way to fulfill my objective.
But I was looking for a way other than customizing it through UI.
Can you explain me further the steps to save my new custom menu as a partial menu and load it when needed.
I have created a new menu and also loaded it with the _TABLEEXPORT command,
but each time I am opening AutoCAD it is showing the menu.
If it is possible to change it to a partial menu and load it as and when required please suggest the way for it.
You can do it many ways.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.