I'm doing some drawing automation, basically placing symbols at the centers of any DV circles.
The problem that I am having is that I cant seem to find out if my DV circle is visible or not e.g. I've got a hole in my model that is hidden detail and I am not showing hidden lines.
Please see some example code below:
' Loop through each view on my drawing
For Each p_seView In g_sedraft.ActiveSheet.DrawingViews
' Loop through each DVcircle in the view
For Each p_seDVCircle2D In p_seView.DVCircles2d
' How do I find out if this object is actually being displayed
' .visible isn't a property
Posted by: James SingletonPost date: 2/6/2008 1:26:58 AM
I've found the solution,
If I use the GetSegmentedStyle method it will fail if its not visible as there is no style attached, otherwise I get the style that is applied e.g. Visible
Posted by: James SingletonPost date: 2/6/2008 2:28:41 AM