The base IO mode type
pw:: | The base IO mode type |
Instance Actions | |
initialize | This action initializes the mode with the file type and name. |
getForeignEntityCounts | This action gets the counts of foreign entities processed by the mode. |
getDetails | This action gets the details of the last IO operation. |
getWarningCount | This action gets the number of warnings that occurred during the last IO operation. |
getWarningInformation | This action gets the information of the given warning. |
getWarnings | This action gets the information of the all the warnings. |
getErrorCount | This action gets the number of errors that occurred during the last IO operation. |
getErrorCode | This action gets the code of the given error. |
getErrorCodes | This action gets the error code list |
getErrorInformation | This action gets the information of the given error. |
getErrors | This action gets the list of information of the given errors. |
getUniqueErrorCodes | This action gets the unique errors from the last IO operation. |
getFailureGroups | This action gets the groups that were created during import to group left over entities when an entity has conversion problems. |
getFileType | This action gets the mode’s file type. |
getFileSubType | This action gets the mode’s file type. |
getFileVersion | This action gets the mode’s file version. |
getAttributeNames | This action returns a list of the names of the currently available IO mode attributes. |
getAttributeCount | This action returns the number of currently available IO mode attributes. |
getAttributeDefinition | This action gets the definition of the given IO mode attribute. |
getAttributeDefinitions | This action gets the named IO mode attribute list. |
getAttribute | This action gets the named IO mode attribute. |
setAttribute | This action sets the named IO mode attribute. |
Attributes | The valid IOMode attributes. |
BlockFacesOnly | Export block faces only. |
BoundaryConditionsOnly | Only export the grid’s boundary condition data. |
CellCombineAnisotropic | |
DomainSplitAngle | Split domains at this angle. |
DomainSplitMultipleEdges | Split domains that have multiple edges. |
DomainSurfaceDegree | Domain surface degree. |
EntityIgnoreIfNameUsed | Ignore entities with existing names. |
EntityExportFilter | Set GridPro export filter type. |
EntityMeshStyle | Specifies the file format’s entity mesh style. |
EntityVisibility | Handling for entity visibility data. |
ExportDonorInformation | Should donor information be written in the ZoneGridConnectivity_t node when writing a CGNS file. |
ExportParentElements | Should parent elements be included in Element_t nodes when writing a CGNS file. |
FileByteOrder | File byte order. |
FileConvertFormatSettings | Use Native CAD Reader format specific conversion settings. |
FileConvertHealTopology | Use Native CAD Reader topology healing functionality. |
FileFormat | File format. |
FileLargeWidthColumns | Use Nastran “large” format. |
FileModelSizeFromFile | Use information from the file to set the model size during import. |
FilePrecision | Floating-point precision. |
FileUnits | File units specification. |
GridBlockDimension | Specifies the block dimensionality. |
GridBlockStyle | Specifies the file format’s grid block style. |
GridExportMirrored | Set mirroring on export. |
GridStructuredAsUnstructured | Domain surface degree. |
HybridInterface | Set the interface data type to be used to establish connectivity between blocks of differing type (structured and unstructured). |
IblankStyle | Iblank array type. |
ModelAssembleTolerance | Assemble models with the given tolerance. |
ModelFromFreeSurface | Automatically converts free surfaces into models with a single quilt and trimmed surfaces. |
PointwiseCompatibilityMode | Export the file using Pointwise extensions. |
PyramidStyle | Set Pyramid Style for Nastran. |
QuiltAssembleAngle | Assemble quilts at the given angle. |
QuiltBoundaryAssembleAngle | Assemble quilt boundaries at the given angle. |
ShellCellMode | Shell cell handling mode. |
ShellSplitAngle | Split shells at this angle. |
SurfaceSplineBilinear | Spline the control points of imported bilinear surfaces. |
SurfaceSplitDiscontinuous | Split surfaces at discontinuities. |
TecplotFileFormat | Set Tecplot binary file format: Tecplot Binary (.plt) is the legacy format written by Tecplot 360 and Tecplot Focus. |
UnstructuredInterface | Set the interface data type to be used to establish connectivity between unstructured blocks. |
ImportLayerScheme | Set the import layer scheme that will be used to determine what layer entities are imported into. |
ImportLayerNumber | Set the layer number that imported database entities will be imported into. |
GridExportMeshLink | Enables the creation of MeshLink files during CAE export. |
GridExportMeshLinkFileName | The name of the exported MeshLink XML file. |
GridExportMeshLinkFileType | The type of the exported MeshLink XML file. |
GridExportMeshLinkDatabaseFileName | The name of the exported MeshLink database file. |
GridExportMeshLinkDatabaseFileType | The type of the exported MeshLink database file. |
GridExportPolyVoxel | Enables, for export, the conversion of voxel block, transition region, canonical elements into cuboid polyhedrons. |
PolyVoxelImproveOrthogonality | Enables the improvement of face orthogonality metrics in the voxel block transition regions by offsetting the combined polyhedron center nodes. |
STLFormatCompliance | Controls the level to which the exported STL file complies with the STL file format specification. |
$io initialize ?-strict? ?-type file_type? filename
This action initializes the mode with the file type and name.
-strict | If set, all mode subcommands will be run in strict mode. In strict mode, certain subcommands will throw a Tcl error instead of returning false. See the subcommand documentation for details. |
-type file_type | This optional parameter is the string file type of the file with options < Automatic | Asset | CGNS | CGNS-STRUCT | CGNS-UNSTR | DBA | DEM | EGADS | FVUNS | FVUNS30 | GG | GridPro | IGES | Nastran | Network | NMB | Patran | PLOT3D | Segment | STL | UCD | UGRID | VRML | VRML97 | Xpatch >. See Notes for more details. |
filename | This parameter is the string full path and name of the file to import. |
This action returns a boolean where true if initialized, false if not. If -strict, a Tcl error is thrown on failure.
If -type Automatic was specified (or defaulted), the file type is set based on the filename extension. It is possible the auto-selected file type is incorrect because some file types ambiguously use the same extension.
Not all file types are supported for all modes in all situations. The supported file types can change based on mode entities or other global settings (e.g. the current CAE solver). Use $io getFileTypes to get the list of types currently supported by the mode.
$io getForeignEntityCounts
This action gets the counts of foreign entities processed by the mode.
This action has no parameters.
This action returns a list of strings which are foreign entity name and count pairs.
$io getDetails
This action gets the details of the last IO operation.
This action has no parameters.
This action returns a string of text details.
$io getWarningCount
This action gets the number of warnings that occurred during the last IO operation.
This action has no parameters.
The integer number of errors.
$io getWarnings
This action gets the information of the all the warnings.
This action has no parameters.
This action returns a string list of information about the warnings.
$io getErrorCount
This action gets the number of errors that occurred during the last IO operation.
This action has no parameters.
The integer number of errors.
$io getErrorCode index
This action gets the code of the given error.
index | This parameter is the integer index of the error to get with the range [1, number of errors]. |
This action returns a string error code that may be one of the following: AttributeIsInvalid, HeaderIsInvalid, CannotOpenFile, CannotAccessFile, FormatIsInvalid, DuplicateNameDetected, UnsupportedEntityDetected, UnsupportedByCAEDetected, CannotConvertEntity, Unknown, Fatal, InconsistentDimensionDetected
This action gets the error code list
This action has no parameters.
This action returns a string list of error codes.
$io getErrors
This action gets the list of information of the given errors.
This action has no parameters.
This action returns a string list of extra information about the errors.
$io getUniqueErrorCodes
This action gets the unique errors from the last IO operation.
This action has no parameters.
A list of string error codes. See getErrorCode for a list of possible values.
$io getFailureGroups
This action gets the groups that were created during import to group left over entities when an entity has conversion problems.
This action has no parameters.
A list of pw::Group objects
$io getFileType ?-nomap?
This action gets the mode’s file type.
-nomap | This optional flag forces the return of the unmapped -type value passed to initialize. In this case, it is possible for “Automatic” to be returned. See the initialize Notes for some caveats. |
This action returns a file type string.
$io getAttributeNames ?-regex? ?pattern?
This action returns a list of the names of the currently available IO mode attributes.
-regex | This optional flag signifies that the given pattern should be considered a regular expression pattern rather than a glob pattern. |
pattern | This optional parameter is the string pattern used to filter the returned attribute names. |
A list of strings of the names of the currently available IO mode attributes that fit the filter pattern. If a pattern is not given, all attribute names will be in the list.
$io getAttributeCount
This action returns the number of currently available IO mode attributes.
This action has no parameters.
The integer number of IO mode attributes.
$io getAttributeDefinition ?-extended? < index | name >
This action gets the definition of the given IO mode attribute.
-extended | If set, the definition list includes additional items similar to pw::Application.getCAESolverAttributeDefinition. |
index | This parameter is the integer index of the IO mode attribute to get with the range [1, number of attributes]. |
name | This parameter is the string parameter name. |
This action returns the attribute definition.
If -extended is not specified, the returned list contains { name type description enum_values }.
If -extended is specified, the returned list contains { group name etype access description default range }.
Where,
Attributes, pw::Application.addCAESolverAttribute
Code
# $io is a CGNS CaeExport mode puts [$io getAttributeDefinition ExportParentElements] puts [$io getAttributeDefinition -extended ExportParentElements]
Output
ExportParentElements boolean {Include Parent Elements in export flag} Mode ExportParentElements Bool RW {Include Parent Elements in export flag} false {}
$io getAttributeDefinitions
This action gets the named IO mode attribute list.
This action has no parameters.
This action returns all the attribute definitions which will be a list of { name type description enum_values }:
The valid IOMode attributes.
Not all attributes are supported by every IOMode instance. Use getAttributeNames to obtain the attributes supported by a particular IOMode object.
$io get/setAttribute BlockFacesOnly att_value
Export block faces only.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is not used by any import types.
This attribute is used by all grid export types.
$io get/setAttribute BoundaryConditionsOnly att_value
Only export the grid’s boundary condition data.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
$io get/setAttribute CellCombineAnisotropic att_value
Deprecated | Formerly combine anisotropic tet cells into pyramids and prisms. Use of this attribute for querying or setting will cause an error. |
This attribute is of type boolean.
The default for this attribute is false.
This attribute is not used by any import types.
This attribute is not used by any export types.
$io get/setAttribute DomainSplitAngle att_value
Split domains at this angle.
This attribute is of type float.
The default for this attribute is 0.0
This attribute is used by all grid import types.
This attribute is not used by any export types.
$io get/setAttribute DomainSplitMultipleEdges att_value
Split domains that have multiple edges.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is used by all grid import types.
This attribute is not used by any export types.
$io get/setAttribute DomainSurfaceDegree att_value
Domain surface degree.
This attribute is of type string; One of < Bilinear | Bicubic >.
This attribute is not used by any import types.
This attribute is used by the IGES export types.
$io get/setAttribute EntityIgnoreIfNameUsed att_value
Ignore entities with existing names.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is used by all import types.
This attribute is not used by any export types.
$io get/setAttribute EntityExportFilter att_value
Set GridPro export filter type. This attribute determines how an ambiguous entity selection of structured and unstructured domains should be written to a file.
This attribute is of type string; One of < StructuredOnly | UnstructuredOnly | DiagonalizeAll >
The default for this attribute is determined by the entity selection. If the selection is mixed structured and unstructured, then the attribute is set to DiagonalizeAll. Otherwise, the attribute matches the domain type of the selection.
This attribute is not used by any import types.
This attribute is used by the GridPro export type.
$io get/setAttribute EntityMeshStyle att_value
Specifies the file format’s entity mesh style.
This attribute is of type string; One of < Single | Multiple >.
Single exports all 2-D entities and block faces as a single, possibly non-manifold collection of mesh elements (Triangles and Quadrilaterals).
Multiple exports each 2-D entity and block face as a separate mesh.
Domain surface patch topology will be lost in the exported mesh if blocks are exported. In this case, it may be possible to recover these patches using a non-zero DomainSplitAngle or ShellSplitAngle.
To better preserve the domain surface patch topology in the exported mesh, domains should be exported.
This attribute is not used by any import types.
This attribute is used by the STL export type.
$io get/setAttribute EntityVisibility att_value
Handling for entity visibility data.
This attribute is of type string; One of < Import | ImportAndHideSupports | ShowAll | ShowAllAndHideSupports >.
This attribute is used by all database import types.
This attribute is not used by any export types.
$io get/setAttribute ExportDonorInformation att_value
Should donor information be written in the ZoneGridConnectivity_t node when writing a CGNS file.
This attribute is of type boolean.
The default for this attribute is true.
This attribute is not used by any import types.
This attribute is used by the CGNS CaeExporter.
$io get/setAttribute ExportParentElements att_value
Should parent elements be included in Element_t nodes when writing a CGNS file.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is not used by any import types.
This attribute is used by the CGNS CaeExporter.
$io get/setAttribute FileByteOrder att_value
File byte order.
This attribute is of type string; One of < Native | Swap | LittleEndian | BigEndian >.
This attribute is used by all import types.
This attribute is used by all export types.
$io get/setAttribute FileConvertFormatSettings att_value
Use Native CAD Reader format specific conversion settings.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is used by the Native CAD Reader import type.
This attribute is not used by any of the export types.
$io get/setAttribute FileConvertHealTopology att_value
Use Native CAD Reader topology healing functionality.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is used by the Native CAD Reader import type.
This attribute is not used by any of the export types.
$io get/setAttribute FileFormat att_value
File format.
This attribute is of type string; One of < ASCII | Binary | Unformatted >.
The default for this attribute is varied.
This attribute is used by all import types.
This attribute is used by all export types.
The Unformatted value is only valid for “FORTRAN” file types.
$io get/setAttribute FileLargeWidthColumns att_value
Use Nastran “large” format.
This attribute is of type boolean.
The default for this attribute is true.
This attribute is not used by any import types.
This attribute is used by the Nastran export type.
$io get/setAttribute FileModelSizeFromFile att_value
Use information from the file to set the model size during import.
This attribute is of type boolean.
The default for this attribute is true.
This attribute is used by the IGES and Native Cad Reader types.
This attribute is not used by any export types.
$io get/setAttribute FilePrecision att_value
Floating-point precision.
This attribute is of type string; One of < Single | Double >.
The default for this attribute is varied.
This attribute is used by all import types.
This attribute is used by all export types.
$io get/setAttribute FileUnits att_value
File units specification.
This attribute is of type string; One of < Microinches | Mils | Inches | Feet | Miles | Microns | Millimeters | Centimeters | Meters | Kilometers | FromFile >.
The import default for this attribute is FromFile. The export default for this attribute is Inches.
This attribute is used by the IGES and Native Cad Reader types.
This attribute is used by the IGES export type.
$io get/setAttribute GridBlockDimension att_value
Specifies the block dimensionality.
This attribute is of type integer; One of < 1, 2, 3 >.
This attribute is used by the PLOT3D import type.
This attribute is used by the PLOT3D export type.
$io get/setAttribute GridBlockStyle att_value
Specifies the file format’s grid block style.
This attribute is of type string; One of < Single | Multiple >.
The import default for this attribute is Single. The export default for this attribute is Multiple.
Single exports exactly one PLOT3D block using the single block format.
Multiple exports one or more PLOT3D blocks using the multiple block format.
This attribute is used by the PLOT3D import type.
This attribute is used by the PLOT3D export type.
$io get/setAttribute GridExportMirrored att_value
Set mirroring on export.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is not used by any import types.
This attribute is used by all plugin exporters and CGNS, GASP, KESTREL, and TECPLOT exporters.
$io get/setAttribute GridStructuredAsUnstructured att_value
Domain surface degree.
This attribute is of type boolean.
The default for this attribute depends on the entity selection. When only structured blocks are selected, it is false. When mixed blocks are selected, it is true.
This attribute is not used by any import types.
This attribute is used by the CGNS and Tecplot CaeExporter.
Set the interface data type to be used to establish connectivity between blocks of differing type (structured and unstructured).
This attribute is of type string; One of < FaceToFace | NodeToNode | CellToCell >.
This attribute is not used by any import types.
This attribute is used by the CGNS CaeExporter.
$io get/setAttribute IblankStyle att_value
Iblank array type.
This attribute is of type string; One of < None | PointBased >.
This attribute is used by the PLOT3D import type.
This attribute is used by the PLOT3D export type.
$io get/setAttribute ModelAssembleTolerance att_value
Assemble models with the given tolerance.
This attribute is of type float.
The default for this attribute is 0.0.
This attribute is used by all database import types.
This attribute is not used by any export types.
$io get/setAttribute ModelFromFreeSurface att_value
Automatically converts free surfaces into models with a single quilt and trimmed surfaces.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is used by all database import types.
This attribute is not used by any export types.
$io get/setAttribute PointwiseCompatibilityMode att_value
Export the file using Pointwise extensions.
This attribute is of type boolean.
The default for this attribute is true.
This attribute is not used by any import types.
This attribute is used by the IGES export type.
$io get/setAttribute PyramidStyle att_value
Set Pyramid Style for Nastran.
This attribute is of type string; One of < CPENTA | CPYRAM >.
This attribute is not used by any import types.
This attribute is used by the Nastran export type.
$io get/setAttribute QuiltAssembleAngle att_value
Assemble quilts at the given angle.
This attribute is of type float.
The default for this attribute is 0.0.
This attribute is used by all database import types.
This attribute is not used by any export types.
$io get/setAttribute QuiltBoundaryAssembleAngle att_value
Assemble quilt boundaries at the given angle.
This attribute is of type float.
The default for this attribute is 0.0.
This attribute is used by all database import types.
This attribute is not used by any export types.
$io get/setAttribute ShellCellMode att_value
Shell cell handling mode.
This attribute is of type string; One of < AsTriangles | AsTrianglesAndQuadrilaterals | AsIs | MergeCoplanar ).
This attribute is used by all faceted database import types.
This attribute is not used by any export types.
$io get/setAttribute ShellSplitAngle att_value
Split shells at this angle.
This attribute is of type float.
The default for this attribute is 0.0.
This attribute is used by all faceted database import types.
This attribute is not used by any export types.
$io get/setAttribute SurfaceSplineBilinear att_value
Spline the control points of imported bilinear surfaces.
This attribute is of type boolean.
For backwards compatibility, the default for this attribute is false. The Pointwise app always sets this to true. It is highly recommended that this is set to true in scripts that import bilinear surfaces.
This attribute is used by the PLOT3D and Network import types.
This attribute is not used by any export types.
$io get/setAttribute SurfaceSplitDiscontinuous att_value
Split surfaces at discontinuities.
This attribute is of type boolean.
The default for this attribute is false.
This attribute is used by the IGES import type.
This attribute is not used by any export types.
$io get/setAttribute TecplotFileFormat att_value
Set Tecplot binary file format: Tecplot Binary (.plt) is the legacy format written by Tecplot 360 and Tecplot Focus. Tecplot Subzone Loadable (.szplt) was introduced with Tecplot 360 EX.
This attribute is of type string; One of < PLT | SZPLT >
This attribute is not used by any import types.
This attribute is used by the Tecplot CaeExporter.
$io get/setAttribute UnstructuredInterface att_value
Set the interface data type to be used to establish connectivity between unstructured blocks.
This attribute is of type string; One of < FaceToFace | NodeToNode | CellToCell >.
This attribute is not used by any import types.
This attribute is used by the CGNS CaeExporter.
$io get/setAttribute ImportLayerScheme att_value
Set the import layer scheme that will be used to determine what layer entities are imported into. DefaultLayers will not influence layers. SingleLayer will import all entities into the layer specified with the ImportLayerNumber attribute. SequentiallyFromLayer will retain separate layers if they exist in the file, but they will be mapped sequentially beginning at the the layer specified with the ImportLayerNumber attribute.
This attribute is of type string; One of < DefaultLayers | SingleLayer | SequentiallyFromLayer>.
This attribute is used by all database import types.
This attribute is not used by any export types.
$io get/setAttribute ImportLayerNumber att_value
Set the layer number that imported database entities will be imported into. This number is only used if the ImportLayerScheme is set to an option other than DefaultLayers.
This attribute is of type integer.
The default for this attribute is 0.
This attribute is used by all database import types.
This attribute is used by the export Importer.
$io get/setAttribute GridExportMeshLink att_value
Enables the creation of MeshLink files during CAE export.
This attribute is of type boolean.
The default for this attribute is 0.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute pw::Application.MeshLinkSupported
$io get/setAttribute GridExportMeshLinkFileName att_value
The name of the exported MeshLink XML file.
This attribute is of type string.
The default for this attribute is “<grid filename>.xml”.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute pw::Application.MeshLinkSupported
$io get/setAttribute GridExportMeshLinkFileType att_value
The type of the exported MeshLink XML file.
This attribute is of type string; One of < Uncompressed >.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute pw::Application.MeshLinkSupported
$io get/setAttribute GridExportMeshLinkDatabaseFileName att_value
The name of the exported MeshLink database file.
This attribute is of type string.
The default for this attribute is “<grid filename>.<ext>”. Where ext is appropriate for the specified database file type.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute pw::Application.MeshLinkSupported
$io get/setAttribute GridExportMeshLinkDatabaseFileType att_value
The type of the exported MeshLink database file.
This attribute is of type string; One of < NMB-Binary | NMB-ASCII >.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute pw::Application.MeshLinkSupported
$io get/setAttribute GridExportPolyVoxel att_value
Enables, for export, the conversion of voxel block, transition region, canonical elements into cuboid polyhedrons. The exported polyhedrons are point-matched with their neighboring cells.
This attribute is of type boolean.
The default for this attribute is 0.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute <pw::Application.PolyVoxelImproveOrthogonality>
$io get/setAttribute PolyVoxelImproveOrthogonality att_value
Enables the improvement of face orthogonality metrics in the voxel block transition regions by offsetting the combined polyhedron center nodes.
This attribute is of type boolean.
The default for this attribute is 0. This value is ignored if <pw::Application.GridExportPolyVoxel> is false.
This attribute is not used by any import types.
This attribute is available to any CaeExporter that supports it.
pw::Application pw::Application.getCAESolverAttribute <pw::Application.GridExportPolyVoxel>
$io get/setAttribute STLFormatCompliance att_value
Controls the level to which the exported STL file complies with the STL file format specification.
This attribute is of type string; One of < Strict | AllowQuadrilaterals | AllowPolygons >. Most STL readers only support Strict.
This attribute is not used by any import types.
This attribute is used by the STL export type.
Reference: https://en.wikipedia.org/wiki/STL_(file_format)#ASCII_STL Strict --------------------------------------------- solid SolidName facet normal nX nY nZ outer loop vertex X Y Z vertex X Y Z vertex X Y Z endloop endfacet ... facet normal nX nY nZ ... endfacet endsolid SolidName AllowQuadrilaterals or AllowPolygons --------------------------------------------- solid SolidName facet normal nX nY nZ outer loop vertex X Y Z ... - vertex repeated as needed vertex X Y Z endloop endfacet ... facet normal nX nY nZ ... endfacet endsolid SolidName
Reference: https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL Strict --------------------------------------------- UINT8[80] - Header UINT32 - Number of triangles foreach triangle REAL32[3] - Normal vector REAL32[3] - Vertex 1 REAL32[3] - Vertex 2 REAL32[3] - Vertex 3 UINT16 - Attribute byte count = 0 end AllowQuadrilaterals or AllowPolygons (version nnnn == 1) --------------------------------------------- UINT8[80] - Header text UINT32 - Number of triangles = 0* UINT32 - Magic Number = 0xABCDnnnn (nnnn = version) UINT32 - Number of polyfacets (tris + quads + polys) foreach poly REAL32[3] - Normal vector UINT16 - number of vertices (N) REAL32[3] - Vertex 1 ... REAL32[3] - Vertex N UINT16 - Attribute byte count = 0 end * A standard reader should stop on a zero tri count. An extended reader will proceed if it finds a valid magic number/version.
This action initializes the mode with the file type and name.
$io initialize ?-strict? ?-type file_type? filename
This action gets the counts of foreign entities processed by the mode.
$io getForeignEntityCounts
This action gets the details of the last IO operation.
$io getDetails
This action gets the number of warnings that occurred during the last IO operation.
$io getWarningCount
This action gets the information of the given warning.
$io getWarningInformation index
This action gets the information of the all the warnings.
$io getWarnings
This action gets the number of errors that occurred during the last IO operation.
$io getErrorCount
This action gets the code of the given error.
$io getErrorCode index
This action gets the information of the given error.
$io getErrorInformation index
This action gets the list of information of the given errors.
$io getErrors
This action gets the unique errors from the last IO operation.
$io getUniqueErrorCodes
This action gets the groups that were created during import to group left over entities when an entity has conversion problems.
$io getFailureGroups
This action gets the mode’s file type.
$io getFileType ?-nomap?
This action gets the mode’s file type.
$io getFileSubType
This action gets the mode’s file version.
$io getFileVersion
This action returns a list of the names of the currently available IO mode attributes.
$io getAttributeNames ?-regex? ?pattern?
This action returns the number of currently available IO mode attributes.
$io getAttributeCount
This action gets the definition of the given IO mode attribute.
$io getAttributeDefinition ?-extended? < index | name >
This action gets the named IO mode attribute list.
$io getAttributeDefinitions
This action gets the named IO mode attribute.
$io getAttribute att_name
This action sets the named IO mode attribute.
$io setAttribute att_name att_value
Export block faces only.
$io get/setAttribute BlockFacesOnly att_value
Only export the grid’s boundary condition data.
$io get/setAttribute BoundaryConditionsOnly att_value
$io get/setAttribute CellCombineAnisotropic att_value
Split domains at this angle.
$io get/setAttribute DomainSplitAngle att_value
Split domains that have multiple edges.
$io get/setAttribute DomainSplitMultipleEdges att_value
Domain surface degree.
$io get/setAttribute DomainSurfaceDegree att_value
Ignore entities with existing names.
$io get/setAttribute EntityIgnoreIfNameUsed att_value
Set GridPro export filter type.
$io get/setAttribute EntityExportFilter att_value
Specifies the file format’s entity mesh style.
$io get/setAttribute EntityMeshStyle att_value
Handling for entity visibility data.
$io get/setAttribute EntityVisibility att_value
Should donor information be written in the ZoneGridConnectivity_t node when writing a CGNS file.
$io get/setAttribute ExportDonorInformation att_value
Should parent elements be included in Element_t nodes when writing a CGNS file.
$io get/setAttribute ExportParentElements att_value
File byte order.
$io get/setAttribute FileByteOrder att_value
Use Native CAD Reader format specific conversion settings.
$io get/setAttribute FileConvertFormatSettings att_value
Use Native CAD Reader topology healing functionality.
$io get/setAttribute FileConvertHealTopology att_value
File format.
$io get/setAttribute FileFormat att_value
Use Nastran “large” format.
$io get/setAttribute FileLargeWidthColumns att_value
Use information from the file to set the model size during import.
$io get/setAttribute FileModelSizeFromFile att_value
Floating-point precision.
$io get/setAttribute FilePrecision att_value
File units specification.
$io get/setAttribute FileUnits att_value
Specifies the block dimensionality.
$io get/setAttribute GridBlockDimension att_value
Specifies the file format’s grid block style.
$io get/setAttribute GridBlockStyle att_value
Set mirroring on export.
$io get/setAttribute GridExportMirrored att_value
Domain surface degree.
$io get/setAttribute GridStructuredAsUnstructured att_value
Iblank array type.
$io get/setAttribute IblankStyle att_value
Assemble models with the given tolerance.
$io get/setAttribute ModelAssembleTolerance att_value
Automatically converts free surfaces into models with a single quilt and trimmed surfaces.
$io get/setAttribute ModelFromFreeSurface att_value
Export the file using Pointwise extensions.
$io get/setAttribute PointwiseCompatibilityMode att_value
Set Pyramid Style for Nastran.
$io get/setAttribute PyramidStyle att_value
Assemble quilts at the given angle.
$io get/setAttribute QuiltAssembleAngle att_value
Assemble quilt boundaries at the given angle.
$io get/setAttribute QuiltBoundaryAssembleAngle att_value
Shell cell handling mode.
$io get/setAttribute ShellCellMode att_value
Split shells at this angle.
$io get/setAttribute ShellSplitAngle att_value
Spline the control points of imported bilinear surfaces.
$io get/setAttribute SurfaceSplineBilinear att_value
Split surfaces at discontinuities.
$io get/setAttribute SurfaceSplitDiscontinuous att_value
Set Tecplot binary file format: Tecplot Binary (.plt) is the legacy format written by Tecplot 360 and Tecplot Focus.
$io get/setAttribute TecplotFileFormat att_value
Set the interface data type to be used to establish connectivity between unstructured blocks.
$io get/setAttribute UnstructuredInterface att_value
Set the import layer scheme that will be used to determine what layer entities are imported into.
$io get/setAttribute ImportLayerScheme att_value
Set the layer number that imported database entities will be imported into.
$io get/setAttribute ImportLayerNumber att_value
Enables the creation of MeshLink files during CAE export.
$io get/setAttribute GridExportMeshLink att_value
The name of the exported MeshLink XML file.
$io get/setAttribute GridExportMeshLinkFileName att_value
The type of the exported MeshLink XML file.
$io get/setAttribute GridExportMeshLinkFileType att_value
The name of the exported MeshLink database file.
$io get/setAttribute GridExportMeshLinkDatabaseFileName att_value
The type of the exported MeshLink database file.
$io get/setAttribute GridExportMeshLinkDatabaseFileType att_value
Enables, for export, the conversion of voxel block, transition region, canonical elements into cuboid polyhedrons.
$io get/setAttribute GridExportPolyVoxel att_value
Enables the improvement of face orthogonality metrics in the voxel block transition regions by offsetting the combined polyhedron center nodes.
$io get/setAttribute PolyVoxelImproveOrthogonality att_value
Controls the level to which the exported STL file complies with the STL file format specification.
$io get/setAttribute STLFormatCompliance att_value
This action gets the definition of a CAE solver attribute.
pw::Application getCAESolverAttributeDefinition ?-rangeNamesOnly? attribute_name
This action adds the named attribute to the current CAE solver.
pw::Application addCAESolverAttribute group name type access desc val range
This action gets the named CAE solver attribute.
pw::Application getCAESolverAttribute attribute_name
This returns a boolean flag that indicates whether the current CAE solver supports the export of MeshLink files.
pw::Application getCAESolverAttribute MeshLinkSupported