AnsweredAssumed Answered

Can I have an example PDM API showing EdmMenu_Administration?

Question asked by Edwin Chung on Jul 12, 2016
Latest reply on Jul 12, 2016 by Lee CS Young



Does anyone have an example that demonstrates use of EdmMenu_Administration as described on 2016 SOLIDWORKS API Help - EdmMenuFlags Enumeration ? I believe this can be used to create a "Settings" page for an Add-on which would be accessible in the Solidworks pdm Administration tool - such as the "Administrative Actions" link in Dispatch64. I believe it is used like this:


Public Sub GetAddInInfo(ByRef poInfo As EdmAddInInfo, poVault As IEdmVault5, poCmdMgr As IEdmCmdMgr5) Implements IEdmAddIn5.GetAddInInfo


     poCmdMgr.AddCmd(1, "Add-in Settings", EdmMenuFlags.EdmMenu_Administration

End Sub


Is it common to make system-calls to the Registry or a local file to actually store information?


Thanks in advance.