[C# Connect U14] Transient-Element not working for Parametric Elements

I used the COM Functions CreateTransientElementContainer1(null, MsdTransientFlags.Overlay, MsdViewMask.AllViews, MsdDrawingMode.Hilite); and AppendCopyOfElement(element); but this doesn't work for Parametric Elements. I tested it with Parametric Volumes and Parametric Cells. I didn't tested every Element Type but non Parametric Elements do work.
Is there an easy fix to this or do I need to use a different function now?

Parents
  • I used the COM Functions CreateTransientElementContainer1 etc.

    Better questions might be...

    • How can I handle transient elements with the .NET API?
    • Can I include a parametric element in a transient container using the .NET API?
    • Can I include a parametric element in a transient container using the C++ MicroStationAPI?

    Unfortunately, I see no mention of transient in the MstnPlatformNET or DgnPlatformNET documentation.

    I added the third question because the C++ API provides the core of transient element handling.  If C++ can't do it, then neither can the other languages.

     
    Regards, Jon Summers
    LA Solutions

  • Unfortunately, I see no mention of transient in the MstnPlatformNET or DgnPlatformNET documentation.

    Yes and no. I have several hits but not Transient Element. I'm aware that there is no NET Function for it and other Forum Topics said it too.

    The old COM Function is still there. When it can't handle all Elements and no fix can be expected, than the question would be if the C++ API can handle parametric elements or if transient elements are a thing of the past and other solutions need to be used.

    Mit freundlichen Grüßen / Best regards
    Jean-Pierre Hundhausen

    |  AB_DATE Engineering  Software   |  ab-date.de  |

Reply
  • Unfortunately, I see no mention of transient in the MstnPlatformNET or DgnPlatformNET documentation.

    Yes and no. I have several hits but not Transient Element. I'm aware that there is no NET Function for it and other Forum Topics said it too.

    The old COM Function is still there. When it can't handle all Elements and no fix can be expected, than the question would be if the C++ API can handle parametric elements or if transient elements are a thing of the past and other solutions need to be used.

    Mit freundlichen Grüßen / Best regards
    Jean-Pierre Hundhausen

    |  AB_DATE Engineering  Software   |  ab-date.de  |

Children