AnsweredAssumed Answered

Accessing a pre-selected silhouette edge

Question asked by Robert Luck on Oct 7, 2020
Latest reply on Oct 8, 2020 by Robert Luck

I am trying to build a macro that attached some specific notation to edges within a drawing view. However, I cannot seem to find a way to uncover the identity of a silhouette edge through the API. When I use 'GetSelectedObject6' the returned object is the drawing view. I have tried using the SelectionMgr.SelectData to set a mark but that failed as well.

I am not sure how access the ISilhouette interface from the the Selection Manager and this is my problem.

 

I can successfully uncover all the entities within a drawing view using the example that is given in the API Help but stepping through to the point at which the desired silhouette edge selected the Locals window shows no variables and trying the options of the ISilhouette interface via the Immediate window didn't shed any light on the problem.

I have tried recording a macro whilst selecting a silhouette edge but this used the 'SelectByRay' method and when I tried to replicate it within my macro it also failed.

Any ideas would be warmly received.

Many thanks

Bob

Outcomes