RedisplayObject() not working
RedisplayObject() not working
(OP)
I am trying to use RedisplayObject() method after setting the layers for NX7.5. Although I am able to build my NXOpen C++ application but layers are not getting updated in the view.
Can someone tell me the fix. Or can someone share the source code for RedisplayObject() method.
Can someone tell me the fix. Or can someone share the source code for RedisplayObject() method.





RE: RedisplayObject() not working
www.nxjournaling.com
RE: RedisplayObject() not working
RE: RedisplayObject() not working
VB code snippet taken from:
thread561-363348: NXopen - How to move complete DatumCsys to new Layer
CODE
For Each temp As DisplayableObject In DCObj temp.Layer = newLayer temp.RedisplayObject() Next DBuilder.Destroy() Dim updateMark As Session.UndoMarkId updateMark = theSession.SetUndoMark(Session.MarkVisibility.Invisible, "update") Try theSession.UpdateManager.LogForUpdate(myFeature) theSession.UpdateManager.DoUpdate(updateMark) Catch ex As Exception End Trywww.nxjournaling.com