Class PythonCodeAPI
Last update: 16.07.2025Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for
public static class PythonCodeAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
ImportPythonCode(Document, params string[])
Import python code
public static Obj[] ImportPythonCode(this Document document, params string[] additionalCodes)
Parameters
document Document
The
additionalCodes string[]
Additional pathes to python codes.
Returns
Obj[]
Array of the created
Exceptions
Raised when document or codes are null or empty.
ImportPythonCode(Document, IEnumerable<string>)
Import python code
public static Obj[] ImportPythonCode(this Document document, IEnumerable<string> codes)
Parameters
document Document
The
codes IEnumerable<string>
Pathes to python codes.
Returns
Obj[]
Array of the created
Exceptions
Raised when document or codes are null or empty.