[CONNECT EDITION] How Split a Shape Element

Hello,

could someone show me (with a code example) how to perform, in c #, the Split operation on a Shape element?


Thanks for your help,
regards

Salvio Montella

Parents
  • Hi Salvio,

    there are several problems in your question:

    • What version do you use? To say [CONNECT Edition] is simply not enough, there have been 15 versions of MicroStation CE release so far. And please, do not waste the space, to use e.g. [MStn CE U13 C#] as discussed in this forum best practices provides more information using less space.
    • What API do you use? COM/Interop or "new NET"?
    • What "split" means to you? Without further details (requirements or limitations) defined by you the issue cannot be discussed, because on this general level, there is infinite ways how a shape can be split. Should the shape by split to triangles, to defined number of smaller pieces...?
      At a code level, it's about to create new shapes, following defined algorithm, in memory, and in one transaction to delete old one and to add the new ones to a model.

    With regards,

      Jan

Reply
  • Hi Salvio,

    there are several problems in your question:

    • What version do you use? To say [CONNECT Edition] is simply not enough, there have been 15 versions of MicroStation CE release so far. And please, do not waste the space, to use e.g. [MStn CE U13 C#] as discussed in this forum best practices provides more information using less space.
    • What API do you use? COM/Interop or "new NET"?
    • What "split" means to you? Without further details (requirements or limitations) defined by you the issue cannot be discussed, because on this general level, there is infinite ways how a shape can be split. Should the shape by split to triangles, to defined number of smaller pieces...?
      At a code level, it's about to create new shapes, following defined algorithm, in memory, and in one transaction to delete old one and to add the new ones to a model.

    With regards,

      Jan

Children