VCOM:VectorWorks:Workspaces:IWorkspaceFile::CreateToolSet
Jump to navigation
Jump to search
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks::Workspaces
Member of VCOM:VectorWorks:Workspaces:IWorkspaceFile
Creates a tool set in the workspace if it does not exist.
virtual VCOMError VCOM_CALLTYPE CreateToolSet(
const TXString& inIdentifier,
IWorkspaceToolSet** outToolSet) = 0;
Parameters
inIdentifier const TXString& the identifier to be used to represent this tool set. Use the IWorkspaces interface to create this identifier. outToolSet IWorkspaceToolSet** Output parameter. the newly created tool palette.
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_Failed Routine failed.