Skip to main content
Jul 19, 2012 11:15 PM UTC
Acknowledged

Automatically include in the search path all directories present in the Working directory

Related products:Creo Parametric

Instead of having to write all the new search paths in the search.pro file whenever we start a new project that includes parts and assemblies from other directories, the system should automatically (behavior would be controlled by a config.pro option) consider all the directories and subdirectories under the Working directory as valid directories to search first for objects.

Working_directory

               |

               |-----------> 2D_Drawings

               |-----------> Customer_files

               |-----------> Injec_system

               |-----------> Others...

This way we could always add more directories to the main project directory (working directory) and keep a better organized project approach.

15 replies

Jul 23, 2012 2:19 PM UTC

Hello Martin Hanak,

May I ask why are you opposed to this idea?

Aug 6, 2012 11:16 AM UTC

I'm not going to vote down as I can see that this would be useful, but it should be selectable via an option and not enforced.

Our project directory structure can contain dozens of 'data in' directories with imported customer data, sometimes duplicated in several versions.  We would certainly not want these to be included on the search path.

BariAuthor
Aug 6, 2012 11:27 AM UTC

Hello Jonathan,

I tottally agree on that. I'll modify the text of the idea to include that suggestion.

Thanks for the input.

Aug 7, 2012 8:18 AM UTC

I voted down, because this kind of automatic functionality is not good.

Aug 17, 2012 12:02 PM UTC

So maybe it could be modified, like

\working_directory

will add only content of said directory, but


\working_directory\* (with asterisk at the end, for example)

would add contents of directory and subdirectories. That way it could be a bit more maintainable.

BariAuthor
Aug 17, 2012 1:29 PM UTC

Hello Lukasz,

"So maybe it could be modified, like \working_directory will add only content of said directory, but \working_directory\* (with asterisk at the end, for example) would add contents of directory and subdirectories. That way it could be a bit more maintainable."

This is a very good suggestion for the behavior of this option. Thanks for the input.

Aug 20, 2012 8:00 AM UTC

Yes, I like that.  I'd be happy to see it implemented that way.

Aug 20, 2012 9:18 AM UTC

Just couple of notes...

1.] User who uses Windchill PDMLink does not need the requested functionality. This means that big customers will not vote for it. I guess there is no chance for implementation.

2.] User can create simple utility to create search.pro file containing all requested paths. The following commands launched from Command Prompt window will create requested list of directories:

dir /b /l /ad

dir /b /l /ad /s

Martin Hanak

BariAuthor
Aug 20, 2012 9:51 AM UTC

Hello Martin, thanks for your input.

This Idea was simply to avoid all the manual work that has to be done each time you have a new project. You must agree that working with this text files is a little bit "old School". Even Inventor has a dedicated interface to manage all this information (that it probably registers in some text file in the end ).

Aug 20, 2012 3:47 PM UTC

Personal opinion... Inventor spends time mucking about with interfaces for managing directories because they can't match Creo in modeling, assemblies, creating drawings, or stability. They have to do SOMETHING better, right?

I'm going to actually vote this down. At first I voted on each idea on it's merits assuming that at some later time we'd prioritize. However, I'm beginning to feel that if we're vying for a limited amount of development time, I want to see that time go towards issues that truly impact productivity. A simple batch or javascript application could solve this issue far faster and would conserve valuable development resources at PTC.

I like the idea of adding a "*" to the end of a search path if you want it to be recursive... but beyond that, I wouldn't support spending time on this. And I know that's going to be taken badly by some people but we have to start getting selective I think. Just my humble opinion, thank you!