Integrations (PTC products, 3rd party products and code)
>
Code integration (Ada, C, C#, C++, IDL, Java, SQL and VB)
>
SDL script for generating code
>
Keywords
>
%list keyword (SDL script)
%list keyword (SDL script)
This keyword declares a global list for recording lists of Modeler items.
Use this keyword only in the Generate.sdl template.
After declaring a global list, you can set its content through the %setlist keyword and read its content through the %getlist keyword.
Syntax
%list "<name of list>"
In this example, the code declares a global list named ChildAttributes.
%list "ChildAttributes"
Related Topics
%and keyword (SDL script)
%getlist keyword (SDL script)
%inlist keyword (SDL script)
%locallist keyword (SDL script)
%or keyword (SDL script)
%setlist keyword (SDL script)
For loop (SDL script)
Overview of keywords (SDL script)
Was this helpful?
This site works best with JavaScript enabled