Page 1 of 1

How to find or check if an object is available/exists in a workfile?

Posted: Wed Jan 08, 2025 11:03 pm
by JC198998
Hello,

I have a workfile with hundreds of objectives (graphs, equations, tables, etc). Is there a command (or line of code) I can run to open a certain object instead of having to look through the workfile each time?

Re: How to find or check if an object is available/exists in a workfile?

Posted: Thu Jan 09, 2025 8:13 am
by EViews Steve
Just select the correct workfile page (if there are multiple), then type in:

Code: Select all

show x

to display the X object. If you type this into the Command window, you should see a dropdown after typing the first letter of the object name so you can pick from matching names.

Help page: show

To test if an object exists, use @isobject

Re: How to find or check if an object is available/exists in a workfile?

Posted: Thu Jan 09, 2025 6:30 pm
by JC198998
It works, thank you!

Re: How to find or check if an object is available/exists in a workfile?

Posted: Wed Jan 22, 2025 8:07 pm
by JC198998
Hi Gareth,

Just another question - how do you quickly check to see if a list of objects with the same first few letters exist in your work file? For example, is there a quick way to see if any objects that start with "Varxy..." exist in my workfile?

Thank you.

Re: How to find or check if an object is available/exists in a workfile?

Posted: Wed Jan 22, 2025 8:33 pm
by EViews Gareth

Re: How to find or check if an object is available/exists in a workfile?

Posted: Tue Jan 28, 2025 11:48 pm
by JC198998
Thank you, this helps massively!