Model API TipsThese client application tools are based on the COM-based API methods version 3.0 version which do have certain limitations: Extract from Plex Help: "A local model must be open for calls to the Model API to work successfully. If multiple instances of CA Plex are open, each with a local model, the Model API methods work against one instance (but necessarily the one from which the wizard was launched). The developer of a wizard can use the GetLocalModelPath method to determine if a local model is open or, if multiple local models are open, to determine which one is being addressed. Note: While running a Wizard, only one instance of CA Plex should be running when the Wizard API calls are used. Otherwise, an incorrect version of the local models could be updated. This is a known limitation of COM." C:\Program Files (x86)\CA\Plex\6.1\PlexAPI.chm is often over looked resource for model api
Write Permissions
Press Toolbar Add-In and the Tool does not launchIf the current local model (The instance of Plex that has access to the Code Library Wizard or Add-Ins that use Plex Macros due to other instances of Plex running) is updating a group model then the tool will only open after the group model update, irrespective of from which plex instance it is launched. Dialog message “Currently there are no instances of Plex running"The application has been launched from outside of CA Plex and there are no plex.exe processing running which is mandatory. Open a local model you want to work with and launch the tool again. Dialog message “A local must be open for calls to the Model API to work successfully”![]() The application has been launched from outside or inside CA Plex but the running plex.exe process has not got a local model open. Open a local model you want to work with and launch tool again.OR You may have launched application from a local model but an existing Plex.exe which is currently the instance of Plex which has access to the Code Library Wizard or Add-Ins Model API is still running but no local opened. Open task manager and close the Plex.exe (usually the smallest in terms of memory use) but be careful you may close your plex session running with your local so best to save work before. Add-In Right Context Menu options are ProtectedYour current local model's Plex Log message probably has the following:It is a limitation of COM when using Plex Macros, You will have to close the other instances of Plex.exe (check with Task Manager to see if any Plex.exe are running) Screencast Links Missing from INI file[ScreencastURL] StellaSrchLP=http://youtu.be/NE194pGpBgk StellaExportLP=http://youtu.be/Cik8KiW1NHM StellaCrtListLP=http://youtu.be/XYUHq5u6vi4 StellaImpObjs=http://youtu.be/Nttr_0VxZ2A StellaOBGrid=http://youtu.be/53ilMX0dlzE StellaOBTree=http://youtu.be/53ilMX0dlzE StellaCreateList=http://youtu.be/44PywgVe_wE StellaEdtLP=http://youtu.be/_sRZDcsFQW4 StellaListObjects=http://youtu.be/gtwKdcLVxIo Runtime Error R6025Sorry have seen this before but the problem is within the runtime and I have been unable to recreate on demandso if you can recreate on demand please report it |