Leader / Dim associativity for viewport objects
Hello,
Does anyone have experience of getting leaders/dimensions to associate to objects inside a viewport/viewbase viewport through either .net/c++? I am missing a way to get gsmarker / FullSubEntityPath for the selected point inside the viewport. Currently i can get it to work for a 3dsolid that is drawn inside layout by manually selecting the object (which returns me gsmarkers and i can do GetSubentityPathsAtGraphicsMarker, which returns me fullsubentitypaths that i can use to construct OSnapPointRef) and using that to SetPointRef.
My question is, is it possible to obtain gsmarkers or fullsubentitypath for objects in viewport programmatically (even for solids in layout [?!]) or is it purely internal as even e.g DimReAssociate requires a graphical selection not just a point, so invoking _dimreassociate and feeding it a point wont work.