Dissecting the Sections of the SPDL File

Following any comment that may appear in the SPDL file, there are a number of sections, which may include the sections listed below, depending on what the SPDL files are defining and how complicated the feature is:

• File Header: identifies the operator.

• PropertySet: defines the return value and parameters of a plug-in.

- Parameter: defines the implementation of a plug-in or a parameter.

• Layout block: specifies the layout of controls on a property page—see Defining Layout with SPDL.

• Logic block: defines event handlers that control the user interface layout and behavior--seeDefining Property Page Logic with SPDL.

• Plugin: specifies whether the plug-in defined by this SPDL file is a scripted operator or a compiled plug-in. Note that this section is not used by custom property set SPDLs.

• PortSet gives the port definitions for the plug-in.

Commenting SPDL Files

SPDL files for plug-ins may begin with comments using the styles below:

    # This is a one-line comment.

When script code is embedded inside a SPDL file, for example inside the Logic section, then use the comment appropriate for that scripting language.