Quantcast
Channel: NX Journaling - Journaling / NXOpen API
Viewing all articles
Browse latest Browse all 783

AskDisplayedObjects

$
0
0

Hello
I have a question about

Public Function CreateSetRender()
 
        Dim listTag As Tag() = Nothing
        Dim objCounter As Integer
 
        Dim mviews As ModelingViewCollection = workPart.ModelingViews
        Dim topView As NXOpen.ModelingView = Nothing
        For Each mv As ModelingView In mviews
            If mv.Name.Equals("Top") Then
                topView = mv
            End If
        Next
 
        ufs.Draw.AskDisplayedObjects(topView.Tag, objCounter, listTag)
 
        Return Nothing
    End Function

I have an error "view is not a view of element"

I need use AskDisplayedObjects for get "list of tags" to SetRenderSetObjects.

public void SetRenderSetObjects(
	Tag render_set,
	int number_objects,
	Tag[] objects
)

Help!


Viewing all articles
Browse latest Browse all 783

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>