Skip to main content
Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for PythonCode class.

Inheritance

object ← PythonCodeAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

ImportPythonCode(Document, params string[])

Import python code

Parameters

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 code

Parameters

document Document The Document to import python code codes IEnumerable<string> Pathes to python codes.

Returns

Obj[] Array of the created PythonCode entities.

Exceptions

ArgumentNullException Raised when document or codes are null or empty.