Click or drag to resize

CTInterfaceOnSerializeForSecondPhase Event

When the export is executed "On-Client" at PDM, the add-in may request a second execution phase by setting Handled to TRUE. Also any data can be stored to SerializationData for later retrieval at OnDeserializeSecondPhase and OnFinalizeSecondPhase. The second execution phase is invoked for new instance at SOLIDWORKS context and in case the export profile defined any conversion rules and they were not cancelled in OnQueryExportSuccess, OnPreBatchProcessFile will be invoked for each individual conversion rule and document as if the export was originally executed in SOLIDWORKS context. OnFinalizeSecondPhase will be called when all conversions are done. CreateLogger returns null for this event.

Namespace:  ATR.CT.CTInterface
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public event EventHandler<ExportSerializationArgs> OnSerializeForSecondPhase

Value

Type: SystemEventHandlerExportSerializationArgs
Availability

CUSTOMTOOLS 2021 SP0


See Also