EBDN - Community - Question & Answers

  Thursday, 14 January 2021
  3 Replies
  710 Visits
0
Votes
Undo
I would like add short-cut in multi selection on Sheet.
With the new .NET assistant it's not work so I use the vba CustomMenu

I add :

Call oMenu.AddMacro("AutomaticNamingTopologicalElements.NamingSegmentsOnSheet", aucMenuContextOnly, aucDesktopShapeWithAO, 299, , True)
Call oMenu.AddMacro("AutomaticNamingTopologicalElements.NamingSegmentsOnSheet", aucMenuContextOnly, aucDesktopShapeWithoutAO, 299, , True)


But if I have a segment tag in my selection my short-cut not work.
How can I modified the CustomMenu for work in all object on selection sheet ?