Create folder for plots when project is created.

Microstation Vi8ss4

I have additional folders created in my project other than just the typical setup.

I would like to create a folder that is for my pdf plot files that is on a different drive under the folder e:\Plots\

So every time I create a new project I would like Microstation to add a folder in E:\plot\new Job name

This sub directory under the E:\plots\ would be a copy of the project name

How do I set this up?

This is what is my msdirs.fg file

_USTN_PROJECTSUBDIRS = cell
_USTN_PROJECTSUBDIRS > data
_USTN_PROJECTSUBDIRS > dgn

_USTN_PROJECTSUBDIRS > equip
_USTN_PROJECTSUBDIRS > in

_USTN_PROJECTSUBDIRS > out
_USTN_PROJECTSUBDIRS > seed
_USTN_PROJECTSUBDIRS > symb
_USTN_PROJECTSUBDIRS > dgnlib
_USTN_PROJECTSUBDIRS > pdf
_USTN_PROJECTSUBDIRS > cnc
_USTN_PROJECTSUBDIRS > cnc/25mdf
_USTN_PROJECTSUBDIRS > cnc/75ply
_USTN_PROJECTSUBDIRS > cnc/75wply
_USTN_PROJECTSUBDIRS > cnc/75bply
_USTN_PROJECTSUBDIRS > cnc/75vply
_USTN_PROJECTSUBDIRS > cnc/5wply
_USTN_PROJECTSUBDIRS > cnc/75hdwd

Parents
  • The folders created through the msdirs.cfg file are always created to the same location from the msdirs file it states as follows:

    # Each directory is appended to the directory defined by $(_USTN_PROJECT)/<project name>
    # and then created.  Sub directories are allowed, i.e.

    You can certainly move the directory in which the folders are created but it would redirect them all not just a single folder. This would involve editing other system cfg files which I would not recommend.

    The best suggestion would be to edit the project template file so any new project the ms_pltfiles variable is set. In your case it would be something like:

    ms_pltfiles = e:/plots/$(_ustn_projectname)

    you would then just have to create a folder in the proper location that matches the project name.

  • Unknown said:

    The folders created through the msdirs.cfg file are always created to the same location from the msdirs file it states as follows:

    # Each directory is appended to the directory defined by $(_USTN_PROJECT)/<project name>
    # and then created.  Sub directories are allowed, i.e.

    You can certainly move the directory in which the folders are created but it would redirect them all not just a single folder. This would involve editing other system cfg files which I would not recommend.

    The best suggestion would be to edit the project template file so any new project the ms_pltfiles variable is set. In your case it would be something like:

    ms_pltfiles = e:/plots/$(_ustn_projectname)

    you would then just have to create a folder in the proper location that matches the project name.

    This could be done as a two step process not  sure which come first

    Step 1 Create your project through  mstn new project as set above ms_pltfiles = e:/plots/$(_ustn_projectname)

    ( I assume you  have a separate system to allocate  project numbers)

    Step 2  Either create a batch file ( DOS programing search google ) that  creates the new pathed e:\plots\projectname by either uses a  prompt to enter the  project name or  edit your  project number allocation system program to create the  said folder...

    I have used dos batch files for years  to create folders with subfolders renaming  which copy a default template and rename everything very simple stuff  ask your  you IT dept or  google... lots of examples you can copy and edit....

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

Reply
  • Unknown said:

    The folders created through the msdirs.cfg file are always created to the same location from the msdirs file it states as follows:

    # Each directory is appended to the directory defined by $(_USTN_PROJECT)/<project name>
    # and then created.  Sub directories are allowed, i.e.

    You can certainly move the directory in which the folders are created but it would redirect them all not just a single folder. This would involve editing other system cfg files which I would not recommend.

    The best suggestion would be to edit the project template file so any new project the ms_pltfiles variable is set. In your case it would be something like:

    ms_pltfiles = e:/plots/$(_ustn_projectname)

    you would then just have to create a folder in the proper location that matches the project name.

    This could be done as a two step process not  sure which come first

    Step 1 Create your project through  mstn new project as set above ms_pltfiles = e:/plots/$(_ustn_projectname)

    ( I assume you  have a separate system to allocate  project numbers)

    Step 2  Either create a batch file ( DOS programing search google ) that  creates the new pathed e:\plots\projectname by either uses a  prompt to enter the  project name or  edit your  project number allocation system program to create the  said folder...

    I have used dos batch files for years  to create folders with subfolders renaming  which copy a default template and rename everything very simple stuff  ask your  you IT dept or  google... lots of examples you can copy and edit....

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

Children
No Data