VCOM:VectorWorks:Scripting:IPythonWrapper::Call: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
Member of [[VCOM:VectorWorks:Scripting:IPythonWrapper]] | Member of [[VCOM:VectorWorks:Scripting:IPythonWrapper]] | ||
Execute a function already present in the run-time. | |||
</desc> | </desc> | ||
Line 25: | Line 25: | ||
<params> | <params> | ||
<lineList ident=1> | <lineList ident=1> | ||
<line> | |||
moduleName | |||
const char* | |||
Module name that contains the function | |||
</line> | |||
<line> | <line> | ||
functionName | functionName | ||
const char* | const char* | ||
The function name to execute; | |||
</line> | </line> | ||
<line> | <line> | ||
arrParams | arrParams | ||
const TXStringArray& | const TXStringArray& | ||
Parameters for the call. | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 65: | Line 70: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<seeAlso> | <seeAlso> | ||
[[VCOM:VectorWorks:Scripting:IPythonWrapper::GetCallResult]] | |||
</seeAlso> | </seeAlso> | ||
Latest revision as of 17:43, 19 September 2013
Description
namespace VectorWorks::Scripting
Member of VCOM:VectorWorks:Scripting:IPythonWrapper
Execute a function already present in the run-time.
virtual bool VCOM_CALLTYPE Call(
const char* functionName,
const TXStringArray& arrParams) = 0;
virtual bool VCOM_CALLTYPE Call(
const char* moduleName,
const char* functionName,
const TXStringArray& arrParams) = 0;
Parameters
moduleName const char* Module name that contains the function functionName const char* The function name to execute; arrParams const TXStringArray& Parameters for the call.
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
See Also
VCOM:VectorWorks:Scripting:IPythonWrapper::GetCallResult
[[VCOM:VectorWorks:Scripting:IPythonWrapper::GetCallResult]]