Lua SDK - Python SDK
2.4.3
  • Chapters
  • Classes
    • ArchRef
    • ArchReference
    • AttributeShader
    • BakePlug
    • Border
    • Camera
    • CameraBase
    • CameraFrustum
    • ChannelReader
    • CheckList
    • Compositing
    • CompositingNode
    • Constraint
    • Context
    • ContextControlNode
    • ContextReader
    • ContextValue
    • ControlFilename
    • ControlNode
    • Curve
    • CurveBool
    • CurveColor
    • CurveFloat
    • CurveVector
    • Decal
    • DecalChannel
    • DecalChannelPlug
    • DeletableNode
    • DisplayImage
    • Displayable
    • DistanceMeter
    • DistanceVertex
    • DistantConstraint
    • Document
    • DropCheck
    • DropComboCheck
    • DropComboToggleCheck
    • DropList
    • DynAttrPlug
    • Edit
    • EditBox
    • EnvironmentBase
    • EnvironmentLocator
    • EnvironmentShader
    • Expression
    • ExpressionInput
    • ExpressionLink
    • ExpressionOutput
    • Gizmo
    • Gizmo3D
    • Golaem
    • Graph
    • GraphFrame
    • GraphInput
    • GraphMacro
    • GraphMacroOutput
    • GraphNode
    • GraphOutput
    • GraphPlug
    • GroupRef
    • HostNode
    • HostPlug
    • HostReference
    • LODConstraint
    • LayerOut
    • Light
    • LightRef
    • LightRig
    • Locator
    • LuaScript
    • LuaScriptNode
    • Material
    • MaterialRef
    • MatrixLocator
    • MayaCamera
    • MayaImagePlane
    • MeshPlug
    • Node
    • NonReferencable
    • Pass
    • Plug
    • Portal
    • Preferences
    • Primitive
    • Procedural
    • ProceduralRef
    • Projector
    • PyScript
    • Quad
    • Reference
    • ReferenceBase
    • Render
    • RenderFarm
    • RenderFileOut
    • RenderGraph
    • RenderGraphAll
    • RenderGraphBinop
    • RenderGraphFilter
    • RenderGraphInput
    • RenderGraphMacro
    • RenderGraphMacroOutput
    • RenderGraphNode
    • RenderGraphNodeArchRef
    • RenderGraphNodeAttributes
    • RenderGraphNodeCameraAttributes
    • RenderGraphNodeDecal
    • RenderGraphNodeDecalAttributes
    • RenderGraphNodeDecalLayer
    • RenderGraphNodeGenChild
    • RenderGraphNodeLightAttributes
    • RenderGraphNodeLightOverride
    • RenderGraphNodeMaterial
    • RenderGraphNodeMaterialOverride
    • RenderGraphNodeMayaCameraAttributes
    • RenderGraphNodeMembership
    • RenderGraphNodePrimVarOverride
    • RenderGraphNodePrimitive
    • RenderGraphNodeProcedural
    • RenderGraphNodeProceduralAttributes
    • RenderGraphNodeRelay
    • RenderGraphNodeRenderLayer
    • RenderGraphNodeRibBox
    • RenderGraphNodeSG
    • RenderGraphNodeScript
    • RenderGraphNodeSelect
    • RenderGraphNodeSet
    • RenderGraphNodeSetTags
    • RenderGraphNodeShader
    • RenderGraphNodeSubPrimOverride
    • RenderGraphNodeYeti
    • RenderGraphNodeYetiAttributes
    • RenderGraphOutput
    • RenderGraphPath
    • RenderGraphPathFilter
    • RenderGraphTag
    • RenderLayer
    • RenderOutput
    • RenderPass
    • RibAttributes
    • RibBox
    • RibGen
    • RunProgram
    • Scene
    • SceneGraphNode
    • SceneLua
    • ScenePy
    • Script
    • SelectableNode
    • Settings
    • Shader
    • ShaderDataNode
    • ShaderNode
    • ShaderNodeBinOp
    • ShaderNodeBox
    • ShaderNodeBoxFalloff
    • ShaderNodeCameraMap
    • ShaderNodeCloud
    • ShaderNodeCone
    • ShaderNodeConeFallof
    • ShaderNodeCurve
    • ShaderNodeCylinder
    • ShaderNodeCylinderFallof
    • ShaderNodeDisplacementInputs
    • ShaderNodeEnvironment
    • ShaderNodeExtOut
    • ShaderNodeFileIn
    • ShaderNodeFrustum
    • ShaderNodeFrustumFallof
    • ShaderNodeGizmo
    • ShaderNodeGradient
    • ShaderNodeGradient2
    • ShaderNodeIn
    • ShaderNodeInput
    • ShaderNodeLightDecay
    • ShaderNodeLightOutput
    • ShaderNodeLocator
    • ShaderNodeMacro
    • ShaderNodeMacroRef
    • ShaderNodeMayaParticle
    • ShaderNodeMinDistance
    • ShaderNodeOcclusion
    • ShaderNodeOut
    • ShaderNodeOutputAOV
    • ShaderNodeOutputCompo
    • ShaderNodeOutputDiplacement
    • ShaderNodeOutputEnvironment
    • ShaderNodeOutputLight
    • ShaderNodeOutputOutline
    • ShaderNodeOutputSurface
    • ShaderNodeOutputVolume
    • ShaderNodeOutputVolumeAOV
    • ShaderNodePlane
    • ShaderNodeRandom
    • ShaderNodeSL
    • ShaderNodeSingleOp
    • ShaderNodeSphere
    • ShaderNodeSphereFallof
    • ShaderNodeSurfaceInputs
    • ShaderNodeTexture
    • ShaderNodeVolumeInputs
    • ShaderOutputNode
    • ShadingSettings
    • SubLocator
    • SubPrimitive
    • SystemCamera
    • TargetPrimitive
    • Template
    • Text
    • TextButton
    • Texture
    • TitleWindow
    • ToggleCheckList
    • Transform
    • Tree
    • TreeEx
    • UserPlug
    • Window
    • XGen
    • XGenSpline
    • Yeti
    • ZoomableView
    • aabb
    • curve
    • envcontext
    • matrix
    • numop
    • point3
    • rnode
    • scene
    • scenegraphnode
    • sceneinstanciate
    • scenemerge
    • sceneoverride
    • scriptjob
    • shape
    • subshader
    • tagslist
    • timesampled
    • transform
    • types
    • unode
    • uref
    • urefnode
    • uscene
    • varbinding
    • xformop
  • Functions
  • Packages
  • Iterators
Guerilla Render
  • Docs »
  • Classes »
  • ExpressionLink

ExpressionLinkΒΆ

class ExpressionLink

An ExpressionLink is a dynamic input plug to the Expression control.
The parent's Invalid plug automatically depends on this plug.

Hierarchy

class ExpressionLink < class Plug

Members


Inherited from class Plug

Methods:

boolean result isconnected ( Plug output ) Test if a plug is connected to another
bool result hasoutputs ( ) Tells if the plug is connected in output to some other plugs
nil adddependency ( Plug output ) Connect an output plug to this plug
nil removedependency ( Plug output ) Connect an output plug to this plug
nil removealldependencies ( ) Remove all input dependencies of this plug
nil hasdependencies ( ) Tells if the plug is dependent on other plugs
nil getbackdependencies ( ) Retrieve the list of plugs this plug has dependencies on, or nil if none
nil hasbackdependencies ( ) Tells if some plugs are dependent on this plug
nil getname ( ) Returns the name of the plug in its parent
nil getpath ( ) Returns the path of the plug
number flags getflags ( ) Gets the plug flags.
types.bool state getflag ( number flag ) Get a specific plug flag.
nil isanimatable ( ) Tells if the plug value can be animated
nil gettype ( ) Get the type associated to the plug
nil isrefoverriden ( ) Tells if the plug state is overriden from its reference state
string result tostring ( ) Returns a human readble string of the plug's value
nil getdependencies ( ) Retrieve the list of plugs this plug is dependent on, or nil if none
nil adddependencies ( Plug ... ) Connect outputs plug to this plug
nil removedependencies ( Plug ... ) Connect an output plug to this plug
nil get ( ) Returns the value of a plug. The plug must be readable.
nil set ( Type value ) Set the value of a plug. The plug must be writable.
nil setexpression ( string expression ) Connect the plug to an Expression node
nil getraw ( ) Returns the raw value of a plug, regardless of its invalidation state.
boolean result isvalid ( ) Returns the validity status of the plug
nil validate ( ) Force the plug validation by evaluating the plug.
nil setvalid ( ) Force the plug valid state, but the plug is not evaluated.
nil touch ( ) Invalidate this plug
nil connect ( Plug output , boolean safe ) Connect an output plug to this plug
{Plug} result getoutputs ( ) Returns the list of output connections
nil disconnectall ( ) Disconnect a plug from all its connections
nil disconnect ( Plug output ) Disconnect an output plug from this plug
nil disconnectcontrol ( ) Disconnect the plug from its input and delete the input if it is a control and it is no longer connected
nil getnode ( ) Returns the parent node of the plug
boolean dependent isdependent ( Plug plug ) Returns true if this plug is dependent on other
Plug result getinput ( ) Returns the input connection
nil delete ( ) Delete this plug.
nil setflags ( number flags ) Sets the plug flags
nil getinmotion ( int steps , float time , float start , float stop ) Return an array of values of this plug evaluated in time.

Functions:

nil flushinvalidation ( ) Flush the invalidation counter

Documentation

Next Previous

© Copyright 2025, Mercenaries Engineering.