Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
Is there any way to check the assembly edit mode in current view?
I am checking it as shown below. It is working but I would like to know whether it is correct or not.
Regards,
Naing Oo
Autodesk.Windows.RibbonControl r = Autodesk.Windows.ComponentManager.Ribbon; bool IsAssemblyEditMode = true; foreach (Autodesk.Windows.RibbonTab t in r.Tabs) { if(t.Title == "Modify | Assemblies") { IsAssemblyEditMode = false; break; } }
Solved! Go to Solution.