cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to get non-members from a sandbox?

sknopp
12-Amethyst

How to get non-members from a sandbox?

Hi,

I'm trying to print a list off all non-members within a sandbox into a textfile. I've tried 'si viewnonmembers' but got this error message in return:

MKS124814: Cannot show view information: MKS125335: Out of tree members and subprojects (not located in the project directory or a subdirectory of the project directory) are not supported.

The errormessage doesn't seem to fit my sandbox so I would be grateful if anyone has a clue what went wrong. By the way, if I am using the GUI (Sandbox -> Views -> view non-members)   this works fine.

Thanks!

ACCEPTED SOLUTION

Accepted Solutions
fpastano
7-Bedrock
(To:sknopp)

Before executing the command, you should jump into your local sandbox

cd C:\Users\USERNAME\MKS\SANDBOXNAME     (or wherever your sandbox is placed)

After that, you can use the viewnonmembers command

si viewnonmembers > C:\Users\USERNAME\Desktop\nonmembers.txt

I hope it helps!

BR

View solution in original post

3 REPLIES 3
fpastano
7-Bedrock
(To:sknopp)

Before executing the command, you should jump into your local sandbox

cd C:\Users\USERNAME\MKS\SANDBOXNAME     (or wherever your sandbox is placed)

After that, you can use the viewnonmembers command

si viewnonmembers > C:\Users\USERNAME\Desktop\nonmembers.txt

I hope it helps!

BR

sknopp
12-Amethyst
(To:fpastano)

Yes, it works. Thanks a lot!

tdalon
12-Amethyst
(To:sknopp)

Or use the si viewnonmembers command with the options --sandbox and --cwd to avoid having to change the directory.

Example:

si viewnonmembers --sandbox="D:\MATLAB\Sandboxes\AVLab\project.pj" --cwd="D:\MATLAB\Sandboxes\AVLab"

Announcements


Top Tags