setNoteData
- Last UpdatedFeb 01, 2023
- 1 minute read
The parameter list is:
|
setNoteData(<NoteNo>,<ModelType>,<Model>,<PartType>,<Part> |
This method takes an integer note number referring to the list of notes defined by getNoteName. The first note has # 1 and so on. The following parameters are used to specify a model object part that has been picked by the user. The method is called once for each model part picked and is used to populate an internal list of note definition records to be read by the method getNoteData.
The <ModelType>,<PartType> and <SubPartType> can have the values described under getNoteFilter above. <Model> is the name of the model object while <Part> is the component/part number and <SubPart> is the subordinate component/part number. Empty strings for the types implies non-valid numbers.
The implementation of the setNoteData method is entirely up to the user. The suggestion is to use Data Extraction to retrieve relevant data from the model and then transform it into note definition records.
When adding note definition records certain rules about the order has to be fulfilled.
-
The first record must define a reference symbol.
-
Only one reference symbol record is allowed.
-
Before a record defining a text in a symbol, a symbol record must have been added (containing the used text position).