[C# Addin] How to load Addin (.ddl) everywhere as load mdl (.ma) . No Edit MS_ADDIN ?

[C# Addin] How to load Addin (.ddl)  everywhere as load mdl (.ma) . No Edit MS_ADDIN ?

Parents
  • Hi NguyenDinh,

    Unknown said:
    How to load Addin (.ddl)  everywhere

    I am not sure if I understand your question correctly: Are you asking:

    • If it is possible to load some MicroStation addin automatically after MicroStation is loaded or a design file is opened?
    • If it's possible to load MicroStation addin from any location?

    Unknown said:
    No Edit MS_ADDIN ?

    No such configuration variable exists in MicroStation. Do you mean MS_ADDINPATH or some other?

    With regards,

     Jan

  • Hi jan thanks you relay
    If it's possible to load MicroStation addin from any location?
    When I send my friend addin then must edit MS_ADDINPATH or MS_ADDIN_DEPENDENCYPATH .
    I see it uneasy.
  • Hi,

    Unknown said:
    If it's possible to load MicroStation addin from any location?

    No, it's not possible. I don't know if it's a limitation of MicroStation itself or this is a consequence how addin assemblies generally works, but you have to use MS_ADDINPATH.

    Another limitation is that the addin should be stored locally. If network location is used, the addin has to be compiled as trusted and the location has to be configured as trusted network location. These requirements are defined by NET security system, not by MicroStation.

    Unknown said:
    When I send my friend addin then must edit MS_ADDINPATH or MS_ADDIN_DEPENDENCYPATH .

    In the most cases MS_ADDINPATH is enough, the dependency path variable is rarely used.

    Unknown said:
    I see it uneasy.

    I disagree, because the workspaces and configuration variables are core MicroStation configuration concept used for nearly any functionality or MicroStation customization, so the variables are where any MicroStation admin learning starts.

    Typically any application installer adds own configuration file with a definition of the required variables, which makes the administration systematic and easy to manage in my opinion.

    With regards,

      Jan

Reply
  • Hi,

    Unknown said:
    If it's possible to load MicroStation addin from any location?

    No, it's not possible. I don't know if it's a limitation of MicroStation itself or this is a consequence how addin assemblies generally works, but you have to use MS_ADDINPATH.

    Another limitation is that the addin should be stored locally. If network location is used, the addin has to be compiled as trusted and the location has to be configured as trusted network location. These requirements are defined by NET security system, not by MicroStation.

    Unknown said:
    When I send my friend addin then must edit MS_ADDINPATH or MS_ADDIN_DEPENDENCYPATH .

    In the most cases MS_ADDINPATH is enough, the dependency path variable is rarely used.

    Unknown said:
    I see it uneasy.

    I disagree, because the workspaces and configuration variables are core MicroStation configuration concept used for nearly any functionality or MicroStation customization, so the variables are where any MicroStation admin learning starts.

    Typically any application installer adds own configuration file with a definition of the required variables, which makes the administration systematic and easy to manage in my opinion.

    With regards,

      Jan

Children
No Data