getNoteFilter
- Last UpdatedJan 18, 2024
- 1 minute read
This method is supposed to have access to a list of pick filters for each note. These filters define the valid models/parts/subparts to be picked for note setting. The method takes two integer arguments, the first is the note type index and the second is a filter index within this note type. This means that each note can have many filters. All components matching any of the filters can be picked.
The return value should be a list of three strings defining the model type, the part type and the subpart type. The valid string value combinations are described in the table below:
|
Model type |
Part type |
Subpart type |
|---|---|---|
|
plane panel |
stiffener |
- |
|
flange |
- |
|
|
pillar |
- |
|
|
plate |
- |
|
|
bracket |
stiffener |
|
|
flange |
||
|
seam |
- |
|
|
hole |
- |
|
|
notch |
- |
|
|
cutout |
- |
|
|
hull curve |
part |
- |
|
placed volume |
" |
- |
|
longitudinal |
- |
- |
|
transversal |
- |
- |
|
curved panel |
stiffener |
- |
|
plate |
- |
Irrelevant values should be set to empty strings. Note that it is not necessary to define the filter all the way down even if it is possible. for example, if a bracket as a whole should be picked the subpart type should be empty, or if the whole panel should be picked, also the part type is set empty.
Giving indices outside the list bounds should result in a nil object return.