[PowerCivil .789] Keyin for placing a named reference on top based on file name.

Hi.

I have seen several solution for scripting of reference sequence reordering, but have not yet found a solution for my needs that can easily be used in the Batch Process utility.

My workspace is set up to place active design last, but in some occasions, I would like to override this.

Hopefully some of you has an easy solution to this.

The mvba / Batch utility script should:

  • Place a specific reference on top (last)
  • The reference shall be specified by file name
  • The input for the file name shall be "read" from the Batch Process script.
  • No user input shall be needed during the process.

 

Communities user RobertArnold made an excellent script several years ago, (reference file sequence.mvba)

but I have not managed to "hack" the script to my needs.

http://communities.bentley.com/products/programming/microstation_programming/f/19570/t/39633

EDIT:Someone moved this post to Geopak/ InRoads/MX/ OpenRoads  forum. I do not understand why, as this question is related to a Microstation workflow.