[CE C#/.NET] Unite Solid Elements

What are the ideas to unite two slab elements in C# .NET?

Parents
  • So just to bring this question to a close for anyone else years later still looking for a solution to Unite Solids.

    In CONNECT U16.2 (and earlier but not sure since when) you can use the Bentley.DgnPlatformNET.Modify class to run Boolean operations on Solid Elements.

    Modify.BooleanIntersect, Modify.BooleanSubtract, BooleanUnion, BooleanCut, etc.

    It is located in the Bentley.DgnDisplayNET assembly, as is the SolidUtil Class.

    Regards, Francois Grobler

    Answer Verified By: Robert Hook 

  • FWIW. In addition to the correct findings/solution  provided above hopefully some additional (reference) information may help others in the future too.

    1. MicroStation CONNECT Edition Update 10 announced updates to the SDK Example: ManagedToolsExample - providing: a Readme.txt (#4), SolidUtilClassExamples.cs class using methods: Modify.BooleanUnionModify.BooleanSubtract, and Modify.BooleanIntersect.

      TIP: Current and Future Modify examples can be queried from the MicroStation Developer Shell in the default Examples folder typing:

       scs Modify.*Bool* *.cs

    2. As both you and  point out the current DgnPlatformNET.chm documentation does not (explicitly) include reference to external library modules like the Parasolid SolidUtil library functionality (PSolidCoreApi.h) that can (optionally) be referenced/consumed by MicroStation DgnPlatformNET Addin applications. Current there is only some (native code) documentation in MicroStationAPI.chm help topics: "SolidUtil Struct Reference" and "SolidUtil::Modify Struct Reference" that could be of some direct help on leveraging the SolidUtil library extensions.

    3. How to use SolidUtil APIs - MicroStation Programming Blog is also available to provide some initial guidance wrt using SolidUtil::Modify in managed code applications.

    HTH,

    Bob

     



Reply
  • FWIW. In addition to the correct findings/solution  provided above hopefully some additional (reference) information may help others in the future too.

    1. MicroStation CONNECT Edition Update 10 announced updates to the SDK Example: ManagedToolsExample - providing: a Readme.txt (#4), SolidUtilClassExamples.cs class using methods: Modify.BooleanUnionModify.BooleanSubtract, and Modify.BooleanIntersect.

      TIP: Current and Future Modify examples can be queried from the MicroStation Developer Shell in the default Examples folder typing:

       scs Modify.*Bool* *.cs

    2. As both you and  point out the current DgnPlatformNET.chm documentation does not (explicitly) include reference to external library modules like the Parasolid SolidUtil library functionality (PSolidCoreApi.h) that can (optionally) be referenced/consumed by MicroStation DgnPlatformNET Addin applications. Current there is only some (native code) documentation in MicroStationAPI.chm help topics: "SolidUtil Struct Reference" and "SolidUtil::Modify Struct Reference" that could be of some direct help on leveraging the SolidUtil library extensions.

    3. How to use SolidUtil APIs - MicroStation Programming Blog is also available to provide some initial guidance wrt using SolidUtil::Modify in managed code applications.

    HTH,

    Bob

     



Children
No Data