VCOM:VectorWorks:Scripting:IPythonWrapper::RunText: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 9: | Line 9: | ||
Member of [[VCOM:VectorWorks:Scripting:IPythonWrapper]] | Member of [[VCOM:VectorWorks:Scripting:IPythonWrapper]] | ||
. | Execute a text representing python script into the run-time. Note that this execution will modify the run-time, so consecutive calls to <b>RunText</b> will use the same data (variables, values, and so on. | ||
</desc> | </desc> | ||
Line 25: | Line 25: | ||
pythonCode | pythonCode | ||
const char* | const char* | ||
The python script code. | |||
</line> | </line> | ||
</lineList> | </lineList> |
Latest revision as of 17:41, 19 September 2013
Description
namespace VectorWorks::Scripting
Member of VCOM:VectorWorks:Scripting:IPythonWrapper
Execute a text representing python script into the run-time. Note that this execution will modify the run-time, so consecutive calls to RunText will use the same data (variables, values, and so on.
virtual voidVCOM_CALLTYPE RunText(
const char* pythonCode) = 0;
Parameters
pythonCode const char* The python script code.
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_Failed Routine failed.
Version
Availability: from Vectorworks 2014