Vladislav, try using the ISmView.Refresh method. For example:
Dim smGUIView As SmGUISrv.ISmView
Dim SmSession As SmApplic.SmSession
Dim GUISrv As SmGUISrv.SmGUIServices
Set SmSession = SCREXT_ObjectForInterface(ApplHndl)
Set GUISrv = SmSession.GetService("SmGUISrv.SmGUIServices")
Set smGUIView = GUISrv.ActiveViewWindow.SmView
...<code to update attributes>...
iRet = smGUIView.Refresh(rfaUpdate, smGUIView.Selected.Objects, False)
Author: Jay Imerman |