PythonCode

Defines a PythonCode.

Declaration Syntax

public class PythonCode : DataModelObject, IExtendableObject, ISelectionAttachableUserObject

Table 349: Members

Property

AllowRecursion

Gets or Sets whether the PythonCode allows recursion.

Property

Connected

Gets whether the callbacks are currently connected.

Property

DataModelObjectCategory

Gets the current DataModelObject's category.

Property

InternalObject

Gets the internal object. For advanced usage only.

Property

PropertyProvider

Gets or sets the property provider instance associated with this python code object.

Property

PropertyProviderText

Gets or sets the text in the property provider tab for the Python Code object.

Property

ScriptEngineType

Gets or sets what type of engine used to execute the scripts associated with the Python Code object.

Property

ScriptExecutionScope

The scope identifier in which the code execution will take place.

Property

Text

Gets or sets the text in the script tab for the Python Code object.

Method

Connect()

Register the python code.

Method

Delete()

Run the Delete action.

Method

ReloadProperties()

Reload properties to update properties provided by the provider.

Method

ResetPropertyProviderText()

Resets the code inside the property provider tab with default property provider text. Any changes made to the property provider text are lost.