Role: Use to query result images for values on nodes / elements / groups. Image query can be done simultaneously for multiple images. User can call methods such as ExportImageData or ExportGroupImageData. Use following method to get an object of ABQImageQuery Dim abqCase As ABQAnalysisCase Dim ImageQuery As ABQImageQuery Set ImageQuery = abqCase.GetItem ("ABQVBImageQuery")
Methods
- Sub ExportGroupImageData( iImagesList, iGroup, iType, iFile)
-
Method to export image data in text or excel format for a group.
The data in a row will be in following order: Node / element id, X coordinate, Y coordinate, Z coordinate, value for image 1, value for image 2, ...
File type will be identified using file extension. If file extension is 'xls' then it will be exported in excel otherwise the file type will be considered as text
- Parameters:
-
- iImagesList
- List of images to export dd>
- iGroup
- CATIA group or display group to query image data dd>
- iType
- Entity type to query.
Legal values- ABQ_NODE
- ABQ_ELEMENT
- iFile
- File path to export data.
- Example:
-
The following example exports image query data to specified file
Dim ImageQuery As ABQImageQuery Dim File As FileSystem Dim MyGroup As AnalysisEntity Dim imageList As AnalysisImages ImageQuery.ExportImageData imageList, MyGroup, ABQ_NODE, File
dd>
- Sub ExportImageData( iImagesList, iListNumbers, iType, iFile)
-
Method to export image data in text or excel format.
The data in a row will be in following order: Node / element id, X coordinate, Y coordinate, Z coordinate, value for image 1, value for image 2, ...
File type will be identified using file extension. If file extension is 'xls' then it will be exported in excel otherwise the file type will be considered as text
- Parameters:
-
- iImagesList
- List of images to export dd>
- iListNumbers
- List of entity indices to export (node numbers or element numbers) dd>
- iType
- Entity type to query.
Legal values- ABQ_NODE
- ABQ_ELEMENT
- iFile
- File path to export data
- Example:
-
The following example exports image query data to specified file
Dim ImageQuery As ABQImageQuery Dim File As FileSystem Dim EntityList As CATSafeArrayVariant Dim imageList As AnalysisImages ImageQuery.ExportImageData imageList, EntityList, ABQ_NODE, File
dd>