Picture

The value type Picture is used to display a picture in the property palette.

../../../../_images/Picture.png

Syntax

<Parameter>
<Name>Picture</Name>
<Value>PictureForPalette.png</Value>
<Orientation>Right</Orientation>
<ValueType>Picture</ValueType>
</Parameter>

The name of the image file is set by the Value tag. The location of the file is local to the pyp file. The Orientation tag is used to set the orientation of the image inside the property palette. The possible values are Left, Middle and Right.

Optional

Sometimes it’s useful to hide the picture depending on the value of another parameter. This is achieved by adding an additional tag to the parameter or by defining a function in the py-file Enable and visible options

Example

The implementation of the Picture value type is described in the example Picture, which is located in

…\etc\Examples\PythonParts\PaletteExamples\Picture.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\Picture.py