Accessing MX config variables in C#?

Hi all,

Is there a way to access/define MX config variables in C#? I have a good understanding of VBA and it's use within Microstation and MX environments but am just getting started on c#. Couldn't find a lot of information on here or the web.

MX 08.11.09.879, Visual Studio 2017

Parents
  • Hi Les,

    Unknown said:
    Is there a way to access/define MX config variables in C#?

    I don't know MX, so I am not sure whether MX config variables are the same as MicroStation configuration variables or some special mechanism is used instead of the standard MicroStation way. If the first option is correct, you can use the same method ConfigurationVariableValue() as in VBA.

    Unknown said:
    Couldn't find a lot of information on here or the web.

    It's true there is not any official tutorial as far as I know and also only a few examples are delivered with MicroStation SDK ... plus no documentation available. On the other hand, programming forums provide plenty of discussions including code snippets and sometimes even with complete VS projects.

    With regards,

      Jan

Reply
  • Hi Les,

    Unknown said:
    Is there a way to access/define MX config variables in C#?

    I don't know MX, so I am not sure whether MX config variables are the same as MicroStation configuration variables or some special mechanism is used instead of the standard MicroStation way. If the first option is correct, you can use the same method ConfigurationVariableValue() as in VBA.

    Unknown said:
    Couldn't find a lot of information on here or the web.

    It's true there is not any official tutorial as far as I know and also only a few examples are delivered with MicroStation SDK ... plus no documentation available. On the other hand, programming forums provide plenty of discussions including code snippets and sometimes even with complete VS projects.

    With regards,

      Jan

Children
No Data