Hi all,
I am trying to select an element in reference inactivated but there is nothing I can find in the examples or any of the documentation.
Is there anyone who know how to do it?
My source code is following.
protected override bool OnDataButton(DgnButtonEvent ev) { if (mode == FormAlignmentManager.Mode.selectSurfaceTemplates) { var hitPath = DoLocate(ev, true, 1); if (hitPath == null) return false; var element = hitPath.GetCursorElement(); if (element == null) // element is null when I select an element in reference inactivated. return false; // something to do ... } }
Let me know how to select an element in reference inactivated?
Best Regards.
Hi,
BasisSoft BDN said:in reference inactivated
What do you mean by "inactivated reference"?
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hello,
What if you first got a list of all inactive references, then made them temporarily activate, pick your element, and then once you got the info you needed make those references inactive again.
Andrew