AnsweredAssumed Answered

Get unplaced components by C#

Question asked by redheadivan on Sep 1, 2020
Latest reply on Sep 2, 2020 by FUAT SENGUL

Hello, comrades!

 

I need to get list of unplaced components for schematic variants, but can't understand how to call variant manager

Could someone provide any example?

I'm trying to create variant manager object this way:

object vm = app.Addins("Variant Manager");

where "app" is DxDesigner instance, which provides me a component list (also there are two versions of EVX on my PC, maybe it's important for variant manager?)

But I dont know to which type I should cast returned object.

Also I've try to cast it to all types from MGCVARIANTMGR and MGCVARIANTGUI, but get zero matches.

 

Any suggestions?

 

Best Regards

Ivan

Outcomes