在处理图纸集后触发。 支持的平台:仅窗口 Namespace:传输利布 组装:acETransmit20.tlb 签名VB.NET: Friend Class custom_class_name Implements ITransmittalSheetSetNotification Public Sub postSheetSetProcessing(pISheetSet As Object, _ pFile As TransmittalFile, _ pTransmit As TransmittalOperation) _ Implements ITransmittalSheetSetNotification.postSheetSetProcessing ... End Sub End Class C#: internal class custom_class_name : ITransmittalSheetSetNotification { public void postSheetSetProcessing(object pISheetSet, TransmittalFile pFile, TransmittalOperation pTransmit) { ... } } 返回值(RetVal)无返回值。 言论没有额外的评论。 发布信息释放:AutoCAD 2005 及更高版本 例子VB.NET: ' Custom class used to monitor the processing of a sheet set Friend Class MyTransSSMNotifier Implements ITransmittalSheetSetNotification Public Sub postSheetSetProcessing(pISheetSet As Object, _ pFile As TRANSMITTALLib.TransmittalFile, _ pTransmit As TRANSMITTALLib.TransmittalOperation) _ Implements TRANSMITTALLib.ITransmittalSheetSetNotification.postSheetSetProcessing Application.DocumentManager.MdiActiveDocument.Editor. _ WriteMessage(Environment.NewLine & "Sheet Set post processing: " & pFile.sourcePath) End Sub End Class C#: // Custom class used to monitor the processing of a sheet set internal class MyTransSSMNotifier : ITransmittalSheetSetNotification { public void postSheetSetProcessing(object pISheetSet, TRANSMITTALLib.TransmittalFile pFile, TRANSMITTALLib.TransmittalOperation pTransmit) { Application.DocumentManager.MdiActiveDocument.Editor. WriteMessage(Environment.NewLine + "Sheet Set post processing: " + pFile.sourcePath); } } |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:34
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.