C3DFile.Refresh |
nStatus = C3DFile.Refresh( BYVAL nFile AS INTEGER, [BYVAL Timeout AS REAL=2.0] ) AS INTEGER
Notifies all processes that has opened/connected to a shared C3D file that the file has been updated and needs to refresh its UI.
Example:
' Open 123.C3D
nFile = C3DFile.Open( "e:\123.c3d" );
' Open 123.C3D in shared mode
nFile = C3DFile.Open( "e:\123.c3d /s" ); ' <-- /s == Shared
' Update File with new Point names
C3DFile.SetPointName( nFile, 1, "Point_1" ) C3DFile.SetPointName( nFile, 2, "Point_2" ) C3DFile.SetPointName( nFile, 3, "Point_3" )
' Notify all processes about this change
C3DFile.Refresh( nFile )
|