How do I access a ProjectWise file property from Microstation VBA

Does anyone have any insight as to how I would access a ProjectWise file property via Microstation VBA? I want use Microstation VBA to generate a drawing description from a set of title block tags, and insert that into the ProjectWise file properties description attribute.

Is it possible to do this from Microstation VBA without any backend access to ProjectWise? If it does require backend access to ProjectWise, what needs to be done there to expose these variables to Microstation?

An example would be greatly appreciated.

  • Hi Robert,

    at first, please follow best practices and specify what product versions (both MicroStation and ProjectWise) do you use.

    Does anyone have any insight as to how I would access a ProjectWise file property

    I guess it's more ProjectWise programming question, not MicroStation one, because MicroStation does not know anything about ProjectWise and does not provide any API to access ProjectWise.

    I want use Microstation VBA to generate a drawing description from a set of title block tags, and insert that into the ProjectWise file properties description attribute.

    Am I correct the title block(s) are maintained by ProjectWise automatically, so your quesion is specifically about "to collect title blocks values and to store it as one value back to ProjectWise"?

    Is it possible to do this from Microstation VBA without any backend access to ProjectWise?

    In my opinon when you want to modify any file property maintained (stored in) by ProjectWise, you have to use ProjectWise API and to call ProjectWise backend. I am not sure what VBA API is provided by ProjectWise client, but similar topics were discussed in ProjectWise programming group several times.

    With regards,

      Jan