GH_ComponentParamServerSync Method (GH_ComponentParamServerIGH_SyncObject, Int32) |
Sync changes from a prerecorded state.
All param references in the sync object which are no longer
present in the current server will be properly deleted.
The sync object will be reset in the process, so you can only call this function
with a specific Sync object once.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void Sync(
GH_ComponentParamServerIGH_SyncObject sync_data,
out int cleanup_count
)
Public Sub Sync (
sync_data As GH_ComponentParamServerIGH_SyncObject,
<OutAttribute> ByRef cleanup_count As Integer
)
Parameters
- sync_data
- Type: Grasshopper.KernelGH_ComponentParamServerIGH_SyncObject
Sync object. Should be obtained by calling EmitSyncObject() - cleanup_count
- Type: SystemInt32
Number of parameters that were cleaned up.
See Also