Assembly: VM.API.Pre.dll This class implements APIs for PythonCode class.
Inheritance
object ← PythonCodeAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
ImportPythonCode(Document, params string[])
Import python codeParameters
document Document
The Document to import python code
additionalCodes string[]
Additional pathes to python codes.
Returns
Obj[] Array of the created PythonCode entities.Exceptions
ArgumentNullException Raised when document or codes are null or empty.ImportPythonCode(Document, IEnumerable<string>)
Import python codeParameters
document Document
The Document to import python code
codes IEnumerable<string>
Pathes to python codes.