How to export cell as image in Powerdraft CONNECT Edition (update12)

Hi,

I'm new to microstation. I need to export microstation cells in a drawing file as images. How can I do that ? 

Or is there any utility ,programming C#,VB is available to do that ?

--

Since many users are confused about my question, I will write briefly what I wanted.

I am actually converting legacy P&ID microstation drawing to SmartPlant P&ID(Hope many of them aware of it) programmatically. Graphical part such as line, text circle are some components of those microstation like Piperun, Instrument and so on. Since those 60K drawings are originally drew in V7 and right now the company allocated only Powerdraft CE edition only to me. I don't have full SDK access as per company policy.

So I have to extract cells as images and tag in it. after extracting this information I will give those information to our drafting team, they will identify which component it is, and then I will map what it should go to SPID.

Earlier I was using HTML Author, but in POWERDRAFT CE It doesn't appear the installation I have. That's why the discussion went different direction it seems. 

Parents
  • Can you tell us what you want to achieve? I guess we are all getting more confused if we do not know the purpose:

    cuz there are about 60K files I need to extract.

    60000 files you need to extract cells from? as images? or as cells? Again what is your aim with all this?

    I am stunned.

  • I updated the original question. Sorry to confused you.

  • Thanks for the clarification in your original question description but this now brings up further questions. You mentioned that these design files are being converted from V7 and were produced in P&ID for use in SmartPlant P&ID but you're then saying that you're only using PowerDraft CE. If the cells were originally in V7 format they would not be in DGN format as cells operated differently in those old versions. Had you also converted these V7 cells to V8 DGN? Can you supply an example for what type of cell file that you're wanting to produce these images from?

    You might finds it more helpful if this is relating to Plant software to post your question to the AutoPLANT | OpenPlant | PlantWise Community Forum. The support team from this forum might understand better what you're trying to achieve.

    Regards
    Andrew Bell
    Technical Support
    Bentley Systems

  • Hi Maharajan,

    thanks for the updates. The discussion is good example why it is important to share as many details as possible from a beginning, both in terms of requirements and expected goals (you newly mentioned tags in cells), and also overall context (to process 10 files completely different from 60k files).

    Because of an amount of the files, to use any manual process cannot be used in my opinion, so to solve the situation programmatically is the only option. So MicroStation Programming forum is better place for further discussion(s).

    Also, because only MicroStation PowerDraft is available, to use MicroStation VBA is the only option (I am not sure whether PowerDraft is also available as COM for Automation).

    I see nothing in the discussion, that cannot be done using VBA (of course, using MicroStation with C# / C++ APIs would be better):

    • Convert files from DGN V7 to V8 form (even though it's not really necessary)
    • Find and export cells in the files to raster pictures (extra conversion to specific raster format can be required)
    • Export tags into (text?) files

    I think everything (at least hints, ideas or advises) was discussed in this thread (code to export cells) or can be found in programming forum(s).

    With regards,

      Jan

Reply
  • Hi Maharajan,

    thanks for the updates. The discussion is good example why it is important to share as many details as possible from a beginning, both in terms of requirements and expected goals (you newly mentioned tags in cells), and also overall context (to process 10 files completely different from 60k files).

    Because of an amount of the files, to use any manual process cannot be used in my opinion, so to solve the situation programmatically is the only option. So MicroStation Programming forum is better place for further discussion(s).

    Also, because only MicroStation PowerDraft is available, to use MicroStation VBA is the only option (I am not sure whether PowerDraft is also available as COM for Automation).

    I see nothing in the discussion, that cannot be done using VBA (of course, using MicroStation with C# / C++ APIs would be better):

    • Convert files from DGN V7 to V8 form (even though it's not really necessary)
    • Find and export cells in the files to raster pictures (extra conversion to specific raster format can be required)
    • Export tags into (text?) files

    I think everything (at least hints, ideas or advises) was discussed in this thread (code to export cells) or can be found in programming forum(s).

    With regards,

      Jan

Children
No Data