New in Version 2027

Custom elements

Note

Since ZEISS INSPECT 2027, custom elements are the standard replacement for Scripted elements. Scripted elements remain supported for backward compatibility.

Custom elements are ZEISS INSPECT elements which are defined using the Python Extensions API. They can be parametric, i.e. their parameters may depend on other elements. If a dependency changes, a recomputation of the custom element is triggered.

Note

In this How-to chapter, the user-facing term “custom elements” is used. The current API uses the Custom* class family (for example CustomElement, CustomActual, CustomNominal, and CustomInspection). Scripted* class names are documented as legacy aliases.

See also

Custom elements are commonly used as data providers for interactive diagrams.

Continue with Using Custom Diagrams once you are familiar with defining custom element payloads.

The following How-to sections will introduce the concept of custom elements.