Forums:
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!