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

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

With Arbortext Command Language, How to remove a catalog path from the set catalogpath?

dgopois
12-Amethyst

With Arbortext Command Language, How to remove a catalog path from the set catalogpath?

With Arbortext Command Language, How to remove a catalog path from the set catalogpath?

1 ACCEPTED SOLUTION

Accepted Solutions

You should be able to do something along these lines:

function fixCatalogPath() {

     local p = option("catalogpath");

     gsub('C:\Path\To\Remove','', p);

     set catalogpath = $p;

}

View solution in original post

2 REPLIES 2

You should be able to do something along these lines:

function fixCatalogPath() {

     local p = option("catalogpath");

     gsub('C:\Path\To\Remove','', p);

     set catalogpath = $p;

}

Clay,

Thank you for your help.

David