Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

dgopois
13-Aquamarine

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?

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;

}

dgopois
13-Aquamarine
(To:ClayHelberg)

Clay,

Thank you for your help.

David

Announcements

Top Tags