[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 Reply
  • I imported the mdlTransient_addElemDescr and it also doesn't work with transient elements. As it looks mdlTransient_addElement isn't working or I'm doing something wrong. With the Interop Element I get the ElementDescP. With the .NET Element, I can only get the ElementP. ElementDescP is Null.
    Maybe using directly C++ would give better results.

    Application.MdlLib.mdlTransient_addElemDescr() is even worse. A 32bit Pointer in a 64bit Program? They probably forgot to port this. I guess it would be just a Wrapper to import the native function.

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

    |  AB_DATE Engineering  Software   |  ab-date.de  |

Children
No Data