Microstation elements

Heeeelp me...

 Sorry my bad English... I’m a Brazilian Student and curious about Intergraph PDS (working now with it).

 Pleeeeease, can you help me with how can I work with type 63 data in seed settings for microstation – PDS configuration?

 

I want to edit the active segment attributes in piping PDS model (microstation J) externally… it’s possible?

 

something like what was said in this post:

 https://communities.bentley.com/products/microstation/f/140/t/15335.aspx#

Can you give an example code? …or, at least, an advice?

Like... how can I read dgnbuf... or type 63 elements (read sub elements)... functions to read variables... write...

Any comment are welcome

Best Regards,

Augusto Telles

Parents
  • Hi,

    because element type 63 is PDS element (PDS Equipment) and not standard MicroStation, there is not any specific API in MicroStation which allows to work with this element. In the thread you mentioned it it's expressed quite clearly. I guess that because a structure of the type 63 is not published, you cannot work with it using MDL.

    Unknown said:
    I want to edit the active segment attributes in piping PDS model (microstation J) externally… it’s possible?

    What do you mean by "externally"? To access the data without MicroStation and PDS? Yes, it's possible, but not easy. A general structure of DGN V7 is well described as well as structures of the most of element types. If there is any element with unknown structure (like type 63), you can read is as binary data and try to parse it on your own.

    WIth regards,

      Jan

  • Augusto,

    Your reference link on the Be Communities and Jan's answer are both correct.  "MicroStation Element" type 63 is a PDS construct foreign to MicroStation and it's APIs, with the exception of "detecting" that a design file is intended for PDS.  See: 

    msdefs.h:2283:    DGNFILE_FORMAT_PDS      = 11,

    The best and most current solutions for working with PDS design files and data and taking them into the future would be to use Bentley's OpenPlant product.  OpenPlant is able to properly process and interpret the Intergraph PDS extensions to the MicroStation/IGDS file format.

    The second option (though not recommended by Bentley and the riskier choice) would be to check with the last poster of your link (Karsten Evans) and see if he is willing (or able) to provide you any of his reference code.

    HTH,
    Bob



  • Thanks for the comments,

    Jan,

    I actually already tried and found the position of this binary data... but it's pretty hard to edit because I need to update this information current time, type, with opened file.

    I thought about doing using MDL ... even with my little knowledge.

    The problem is that I am not knowing how to read and write these data ... dont know the structure of this elements ...

    I think that this is a kind of buffer that I need to read and write via microstation.

    Is there a way to see all the information stored in this buffer?  ... or element and sub ​​elements (type 63)?

    Robert,

    I really need to use the PDS in this case ... the idea is to try to integrate information in modeling time.

    As this information of 'active segment' is stored directly in microstation V7 file ... and not in the database ... I reaaaaaally need some help.

    About Karsten ... I sent an email three months ago ... but not response yet.

    Anyway, I really appreciate your help.

    Is there is any other advice... I will be glad

    best,

    Augusto Telles

  • Unknown said:
    The problem is that I am not knowing how to read and write these [PDS] data ... dont know the structure of this elements

    None of us knows the structure of those elements.  PDS was designed by Intergraph, and as far as I know they continue to own it today.  The details of the type 63 element are known only to Intergraph.

     
    Regards, Jon Summers
    LA Solutions

Reply Children