Main Content
padv.util.getCurrentProject
Get current project and persist project instance
Description
gets the
currently open project, and returns a project object, cp
= padv.util.getCurrentProject()cp
. You can use
this function to get the current project in your code, for example, in custom queries. This
function can be faster than the currentProject
function because
cp
is a persistent variable.
This functionality requires CI/CD Automation for Simulink Check.