can't you use the OperatorContext and use either GetOutputTarget ? or maybe use GetSource to get the operator itself and navigate up?
i haven't tried it in c++ but a simple runtime SCOP with this in the Update callback works... Application.LogMessage(In_UpdateContext.Operator.Parent3DObject) # INFO : sphere s On Tue, May 1, 2012 at 11:33 AM, Oleg Bliznuk <gbo...@gmail.com> wrote: > Hi List, > a simple question about custom op. I have a custom op which can has either > 1 or 2 input geometries and connected to polymesh of created geo as output > target ( see screenshot ).I need to get name of the global parent ( > X3DObject ) of the object on which this operator is applied ( "grid_FR" in > my case ). The SDK says that I am unable to do it from the operator update > callback, only from ExecuteCommand. So is there way to obtain this name > without creating any additional properties\userdatas etc in the op update > callback ? Something like this which works validly in executeCommand > callback : > > Application().LogMessage ( "GLOB NAME: " + > mainMeshObj.GetActivePrimitive().GetParent3DObject().GetName() ); > > Many thanks, > -Oleg > > >