Re: Get IceTree from Menu

2012-11-15 Thread Eric Thivierge
Solution: def myCallback(in_ctxt): oSource = in_ctxt.Source oICETreeView = in_ctxt.GetAttribute("Target") oContainer = oICETreeView.GetAttributeValue("container") xsi.LogMessage(oContainer) Eric Thivierge http://www.ethivierge.com On

Get IceTree from Menu

2012-11-15 Thread Eric Thivierge
I have a command I need to run on the active Ice Tree in the ICE Tree editor and the command will be called from a CallbackItem the "User Tools" menu. Is there a way to get to the ICE Tree view object from that menu without having to get all ICE Trees visible? In the callback I can use the followi