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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Search Path very slow

Matteo_1987
16-Pearl

Search Path very slow

Hello everybody,

With Creo Parametric I have a config that through search path allows me to search for components in another folder (libraries)

I put myself in the workbook, which inevitably contains about 1000 codes.

The problem is that when the CAD does not find a model because it is in libraries, it takes an eternity to understand it before moving on to the library folder.

It seems because there are so many files

It's normal?? Do you want us to be the only ones working with folders with many codes and the search path?

ACCEPTED SOLUTION

Accepted Solutions


@Matteo_1987 wrote:

Good morning,

I use only one search path in a library folder that contains about 1000 codes.

Attached is the config .pro file.

Thanks,

Matteo.


Hi,

 

tip no1.

Rename your config.pro

Create config.pro containing single line - see below

search_path j:\cfg_flat_bag\librerie

 

tip no2.

Rename your config.pro

Create copy of your config.pro and remove two lines - see below

instance_search_exhaustive YES

pro_library_dir wtpub://PDMLink/Prodotti/FLAT_BAG/Libreria/Componenti standard

 


Martin Hanák

View solution in original post

7 REPLIES 7
BenLoosli
23-Emerald II
(To:Matteo_1987)

Searching that many folders for as file is very time consuming and there is no way around the delay as the system tries to find your file in a library that is at the bottom of your search path listing.

 

The way to cure it is to utilize a PDM system, like Windchill, where the database knows the location of each file and does not have to do a massive directory search.

 

The function of PDM is already clear to me and this is not the case for using it.

I'm talking about a single search path for a folder that acts as a library.

I have already tried other config with more than one search path and it has never been so slow.

Are there other possible variables / options to be set at Creo level?

Could it depend on the server, firewall, antivirus, etc.?

Greetings,

Thank you.

BenLoosli
23-Emerald II
(To:Matteo_1987)

Server, firewall and antivirus can all have an impact on retrieving files.

 

Creo will search your local directory where the assembly is loaded from and then move to the search path, if it has not found its files. What is your search path line in your config.pro? Does it point to a single folder or use a wildcard search for sub-folders?

Is this a new set-up that is slow compared to older ones that you have used? What has changed in your environment?


@Matteo_1987 wrote:

The function of PDM is already clear to me and this is not the case for using it.

I'm talking about a single search path for a folder that acts as a library.

I have already tried other config with more than one search path and it has never been so slow.

Are there other possible variables / options to be set at Creo level?

Could it depend on the server, firewall, antivirus, etc.?

Greetings,

Thank you.


Hi,

 

Q1: Do you use search_path or search_path_file option in config.pro ?

 

Q2: Do you use UNC path or mapped drive when specifying the path ?

 


Martin Hanák

Good morning,

I use only one search path in a library folder that contains about 1000 codes.

Attached is the config .pro file.

Thanks,

Matteo.


@Matteo_1987 wrote:

Good morning,

I use only one search path in a library folder that contains about 1000 codes.

Attached is the config .pro file.

Thanks,

Matteo.


Hi,

 

tip no1.

Rename your config.pro

Create config.pro containing single line - see below

search_path j:\cfg_flat_bag\librerie

 

tip no2.

Rename your config.pro

Create copy of your config.pro and remove two lines - see below

instance_search_exhaustive YES

pro_library_dir wtpub://PDMLink/Prodotti/FLAT_BAG/Libreria/Componenti standard

 


Martin Hanák
BenLoosli
23-Emerald II
(To:Matteo_1987)

If you are using Windchill/PDMlnk, why are you using search paths?

Put your library files in Windchill and do not use a disk folder.

 

FYI

You have your pro_format_dir pointing to a disk folder. This should always point to a Windchill location so when creating a drawing, Windchill does not think the format is a new file in your workspace.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags