Skip to main content

Component Plug-In SDK 2026 R1

Class AbstractScriptLanguage

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

Abstract implementation of IScriptLanguage that provides some default behavior.

public abstract class AbstractScriptLanguage : IScriptLanguage

Inheritance

object ← AbstractScriptLanguage

Implements

IScriptLanguage

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Properties

DefaultText

The default text shown when the language is selected and the user has not changed the script.

DisplayName

The name to display in the UI.

FilenameBase

The base file name of the script file in the PACZ

FilenameExtension

The filename extension to use in the PACZ, including the dot.

NamedVariableDisplayName

The display name to use for the named variable field.

NamedVariableToken

The label to use for the named variable in the 'Variable Text Editor' Must be alphanumeric with no spaces or special characters.

SyntaxName

The name of the scripting language as needed to be loaded by the AvalonEdit text editor.

UsesNamedVariable

If the Script uses 'Named Variables' These are user specified names that differ from the name of the CAM variable.

Methods

GetHighlightNames(IEnumerable)

Provides a default behavior of only including variables not grouped.

GetScriptFilename()

Gets the filename to use for the script within a pacz.

Connect with Ansys