Hi everyone,
I am looking for a way to centralize the configuration of AreaAnnotator. I have managed to start it from one directory on the server, but are not able to make configuration variables work from the annotator.cfg file on server. It only works locally. I would like to use one config fiel for several users instead of copying it on every machine...
Maybe i have it in the wrong folder? or do i need to add a variable for microstation to search in the right place?
help appreciated!
regards, nico
Hi Nico,
because AreaAnnotator is not Bentley software and isn't delivered with MicroStation, it's probably better to ask its author (LA-Solutions) directly. But I believe Jon Summers will answer your question anyway.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
AreaAnnotator is freeware. It is designed to work standalone or in a networked MicroStation configuration. There's nothing special about AreaAnnotator's configuration file.
What technique do you currently use to centralise your configuration? One way to incorporate AreaAnnotator would be to %include its .cfg file in one of your existing project or site configuration files.
Regards, Jon Summers LA Solutions
I tried to place the cfg file on our server. The server has similar paths as default folder and has MS_SITE set to it.
What I found out is that the variables also work in the pcf/upf files... think that is the most simple solution. Where would I have to put the %include thing?
thanks alot,
nico
Nico said:The variables also work in the pcf/upf files
I think you mean pcf/ucf files (project or user configuration file). AreaAnnotator doesn't store any user preferences and hence doesn't use the user preference (upf) file
Nico said:That is the most simple solution. Where would I have to put the %include thing?
Use the simplest solution that works for you! Configuration variables can be defined anywhere. The %include thing provides a quick way to include an existing file in another file. If you wanted to use your existing Annotator.cfg in your project configuration file, for example, you would write:
# Nico.pcf%include Annotator.cfg
That has the same effect as copying the contents of Annotator.cfg to Nico.pcf