VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository SetValue

From Vectorworks Developer
Jump to: navigation, search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference


Description

namespace VectorWorks::VectorScript

Member of VCOM:VectorWorks:VectorScript:IVectorScriptEngine

One of the functions allowing access to data repository inside the script engine. You can use this repository from within the Script and thus have a way to communicate data in and out the Script.

The following scripting functions are available to access the repository: VS:Rpstr_RemoveValues | VS:Rpstr_RemoveValue | VS:Rpstr_GetValueBool | VS:Rpstr_SetValueBool | VS:Rpstr_GetValueInt | VS:Rpstr_SetValueInt | VS:Rpstr_GetValueReal | VS:Rpstr_SetValueReal | VS:Rpstr_GetValueStr | VS:Rpstr_SetValueStr

virtual VCOMErrorVCOM_CALLTYPE Repository_SetValue(
const TXString& name,
const VWVariant& value) = 0;

Parameters

name const SDK:TXString& no info.
value const VWVariant& no info.

Return Value

Uses standard VCOM Error Reporting.

Return value meaning:

kVCOMError_NotInitialized Bad VCOM instance used to call the fuction.
kVCOMError_Failed Routine failed.

See Also

VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository RemoveValues |

VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository RemoveValue | VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository GetValue | VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository SetValue | VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository GetValueNames

[[VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository RemoveValues]] |

[[VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository RemoveValue]] | [[VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository GetValue]] | [[VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository SetValue]] |

[[VCOM:VectorWorks:Scripting:IVectorScriptEngine::Repository GetValueNames]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox