VCOM:VectorWorks:ISDK::CustomBatchConvert: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
virtual voidVCOM_CALLTYPE CustomBatchConvert(ICustomBatchConvertParams* params) = 0; | virtual voidVCOM_CALLTYPE CustomBatchConvert(ICustomBatchConvertParams* params) = 0; | ||
</funcDef> | </funcDef> | ||
"params" is an interface inherited from ICustomBatchConvtParams. There are five pure virtual functions requiring implementation. | |||
# bool ShouldOpenFileForConvert(const TXString& path); | |||
# void ConvertFile(const TXString& path); | |||
# void GetSourceFolder(IFolderIdentifier** srcFolder); | |||
# void GetDestinationFolder(IFolderIdentifier** dstFolder); | |||
# bool ShouldWriteLogFile(); | |||
</def> | </def> | ||
Line 26: | Line 32: | ||
params | params | ||
ICustomBatchConvertParams* | ICustomBatchConvertParams* | ||
</line> | </line> | ||
</lineList> | </lineList> |
Latest revision as of 14:24, 20 December 2013
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks
Member of VCOM:VectorWorks:ISDK
This function is used to batch convert files in a folder and save converted files in another folder.
virtual voidVCOM_CALLTYPE CustomBatchConvert(
ICustomBatchConvertParams* params) = 0;
"params" is an interface inherited from ICustomBatchConvtParams. There are five pure virtual functions requiring implementation.
- bool ShouldOpenFileForConvert(const TXString& path);
- void ConvertFile(const TXString& path);
- void GetSourceFolder(IFolderIdentifier** srcFolder);
- void GetDestinationFolder(IFolderIdentifier** dstFolder);
- bool ShouldWriteLogFile();
Parameters
params ICustomBatchConvertParams*
Version
Availability: from Vectorworks 2013