Glyph Version 3.18.3 Mode Types - - IOMode |
pw:: IOModeThe base IO mode type Derives FromSummary
initialize
This action initializes the mode with the file type and name. Parameters
ReturnsThis action returns a boolean where true if initialized, false if not. If -strict, a Tcl error is thrown on failure. NotesIf -type Automatic was specified (or defaulted), it is possible the file type selected internally is incorrect because some file types ambiguously use the same extension. getForeignEntityCounts
This action gets the counts of foreign entities processed by the mode. ParametersThis action has no parameters. ReturnsThis action returns a list of strings which are foreign entity name and count pairs. getDetails
This action gets the details of the last IO operation. ParametersThis action has no parameters. ReturnsThis action returns a string of text details. getWarningCount
This action gets the number of warnings that occurred during the last IO operation. ParametersThis action has no parameters. ReturnsThe integer number of errors. getWarnings
This action gets the information of the all the warnings. ParametersThis action has no parameters. ReturnsThis action returns a string list of information about the warnings. getErrorCount
This action gets the number of errors that occurred during the last IO operation. ParametersThis action has no parameters. ReturnsThe integer number of errors. getErrorCode
This action gets the code of the given error. Parameters
ReturnsThis 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 getErrorCodesThis action gets the error code list ParametersThis action has no parameters. ReturnsThis action returns a string list of error codes. getErrors
This action gets the list of information of the given errors. ParametersThis action has no parameters. ReturnsThis action returns a string list of extra information about the errors. getUniqueErrorCodes
This action gets the unique errors from the last IO operation. ParametersThis action has no parameters. ReturnsA list of string error codes. See getErrorCode for a list of possible values. getFailureGroups
This action gets the groups that were created during import to group left over entities when an entity has conversion problems. ParametersThis action has no parameters. ReturnsA list of pw::Group objects getFileType
This action gets the mode’s file type. Parameters
ReturnsThis action returns a file type string. getAttributeNames
This action returns a list of the names of the currently available IO mode attributes. Parameters
ReturnsA 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. See AlsogetAttributeCount
This action returns the number of currently available IO mode attributes. ParametersThis action has no parameters. ReturnsThe integer number of IO mode attributes. See AlsogetAttributeDefinition
This action gets the definition of the given IO mode attribute. Parameters
ReturnsThis action returns the attribute definition which will be a list of { name type description enum_values }:
See AlsogetAttributeDefinitions
This action gets the named IO mode attribute list. ParametersThis action has no parameters. ReturnsThis action returns all the attribute definitions which will be a list of { name type description enum_values }:
See AlsoAttributesThe valid IOMode attributes. Not all attributes are supported by every IOMode instance. Use getAttributeNames to obtain the attributes supported by a particular IOMode object. BlockFacesOnly
Export block faces only. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by all grid export types. BoundaryConditionsOnly
Only export the grid’s boundary condition data. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is not used by any import types. ExportersThis attribute is available to any CaeExporter that supports it. CellCombineAnisotropic
TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is not used by any import types. ExportersThis attribute is not used by any export types. DomainSplitAngle
Split domains at this angle. TypeThis attribute is of type float. DefaultThe default for this attribute is 0.0 ImportersThis attribute is used by all grid import types. ExportersThis attribute is not used by any export types. DomainSplitMultipleEdges
Split domains that have multiple edges. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is used by all grid import types. ExportersThis attribute is not used by any export types. DomainSurfaceDegree
Domain surface degree. TypeThis attribute is of type string; < Bilinear | Bicubic >. DefaultThe default for this attribute is Bilinear. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the IGES export types. EntityIgnoreIfNameUsed
Ignore entities with existing names. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is used by all import types. ExportersThis attribute is not used by any export types. EntityExportFilter
Set GridPro export filter type. This attribute determines how an ambiguous entity selection of structured and unstructured domains should be written to a file. TypeThis attribute is of type string; < StructuredOnly | UnstructuredOnly | DiagonalizeAll > DefaultThe 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. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the GridPro export type. EntityMeshStyle
Specifies the file format’s entity mesh style. TypeThis attribute is of type string; < Single | Multiple >. Single exports all entities as a single mesh. Multiple exports each entity as a separate mesh. DefaultThe export default for this attribute is Single. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the STL export type. EntityVisibility
Handling for entity visibility data. TypeThis attribute is of type string; < Import | ImportAndHideSupports | ShowAll | ShowAllAndHideSupports >. DefaultThe default for this attribute is ImportAndHideSupports. ImportersThis attribute is used by all database import types. ExportersThis attribute is not used by any export types. ExportDonorInformation
Should donor information be written in the ZoneGridConnectivity_t node when writing a CGNS file. TypeThis attribute is of type boolean. DefaultThe default for this attribute is true. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the CGNS CaeExporter. ExportParentElements
Should parent elements be included in Element_t nodes when writing a CGNS file. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the CGNS CaeExporter. FileByteOrder
File byte order. TypeThis attribute is of type string; < Native | Swap | LittleEndian | BigEndian >. DefaultThe default for this attribute is Native. ImportersThis attribute is used by all import types. ExportersThis attribute is used by all export types. FileConvertFormatSettings
Use Native CAD Reader format specific conversion settings. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is used by the Native CAD Reader import type. ExportersThis attribute is not used by any of the export types. FileConvertHealTopology
Use Native CAD Reader topology healing functionality. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is used by the Native CAD Reader import type. ExportersThis attribute is not used by any of the export types. FileFormat
File format. TypeThis attribute is of type string; < ASCII | Binary | Unformatted >. DefaultThe default for this attribute is varied. ImportersThis attribute is used by all import types. ExportersThis attribute is used by all export types. NotesThe Unformatted value is only valid for “FORTRAN” file types. FileLargeWidthColumns
Use Nastran “large” format. TypeThis attribute is of type boolean. DefaultThe default for this attribute is true. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the Nastran export type. FileModelSizeFromFile
Use information from the file to set the model size during import. TypeThis attribute is of type boolean. DefaultThe default for this attribute is true. ImportersThis attribute is used by the IGES and Native Cad Reader types. ExportersThis attribute is not used by any export types. FilePrecision
Floating-point precision. TypeThis attribute is of type string; < Single | Double >. DefaultThe default for this attribute is varied. ImportersThis attribute is used by all import types. ExportersThis attribute is used by all export types. FileUnits
File units specification. TypeThis attribute is of type string; < Microinches | Mils | Inches | Feet | Miles | Microns | Millimeters | Centimeters | Meters | Kilometers | FromFile >. DefaultThe default for this attribute is FromFile for importers and Inches for exporters. ImportersThis attribute is used by the IGES and Native Cad Reader types. ExportersThis attribute is used by the IGES export type. GridBlockDimension
Specifies the block dimensionality. TypeThis attribute is of type integer; < 1, 2, 3 >. DefaultThe import default for this attribute is 3. The export default for this attribute is 3. ImportersThis attribute is used by the PLOT3D import type. ExportersThis attribute is used by the PLOT3D export type. GridBlockStyle
Specifies the file format’s grid block style. TypeThis attribute is of type string; < Single | Multiple >. Single exports exactly one PLOT3D block using the single block format. Multiple exports one or more PLOT3D blocks using the multiple block format. DefaultThe import default for this attribute is Single. The export default for this attribute is Multiple. ImportersThis attribute is used by the PLOT3D import type. ExportersThis attribute is used by the PLOT3D export type. GridExportMirrored
Set mirroring on export. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by all plugin exporters and CGNS, GASP, KESTREL, and TECPLOT exporters. GridStructuredAsUnstructured
Domain surface degree. TypeThis attribute is of type boolean. DefaultThe 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. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the CGNS and Tecplot CaeExporter. HybridInterfaceSet the interface data type to be used to establish connectivity between blocks of differing type (structured and unstructured). TypeThis attribute is of type string; < FaceToFace | NodeToNode | CellToCell >. DefaultThe default for this attribute is FaceToFace. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the CGNS CaeExporter. IblankStyle
Iblank array type. TypeThis attribute is of type string; < None | PointBased >. DefaultThe default for this attribute is None. ImportersThis attribute is used by the PLOT3D import type. ExportersThis attribute is used by the PLOT3D export type. ModelAssembleTolerance
Assemble models with the given tolerance. TypeThis attribute is of type float. DefaultThe default for this attribute is 0.0. ImportersThis attribute is used by all database import types. ExportersThis attribute is not used by any export types. ModelFromFreeSurface
Automatically converts free surfaces into models with a single quilt and trimmed surfaces. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is used by all database import types. ExportersThis attribute is not used by any export types. PointwiseCompatibilityMode
Export the file using Pointwise extensions. TypeThis attribute is of type boolean. DefaultThe default for this attribute is true. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the IGES export type. PyramidStyle
Set Pyramid Style for Nastran. TypeThis attribute is of type string; < CPENTA | CPYRAM >. DefaultThe default for this attribute is CPENTA. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the Nastran export type. QuiltAssembleAngle
Assemble quilts at the given angle. TypeThis attribute is of type float. DefaultThe default for this attribute is 0.0. ImportersThis attribute is used by all database import types. ExportersThis attribute is not used by any export types. QuiltBoundaryAssembleAngle
Assemble quilt boundaries at the given angle. TypeThis attribute is of type float. DefaultThe default for this attribute is 0.0. ImportersThis attribute is used by all database import types. ExportersThis attribute is not used by any export types. ShellCellMode
Shell cell handling mode. TypeThis attribute is of type string; < AsTriangles | AsTrianglesAndQuadrilaterals | AsIs | MergeCoplanar ). DefaultThe default for this attribute is AsTriangles. ImportersThis attribute is used by all faceted database import types. ExportersThis attribute is not used by any export types. ShellSplitAngle
Split shells at this angle. TypeThis attribute is of type float. DefaultThe default for this attribute is 0.0. ImportersThis attribute is used by all faceted database import types. ExportersThis attribute is not used by any export types. SurfaceSplineBilinear
Spline the control points of imported bilinear surfaces. TypeThis attribute is of type boolean. DefaultFor 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. ImportersThis attribute is used by the PLOT3D and Network import types. ExportersThis attribute is not used by any export types. SurfaceSplitDiscontinuous
Split surfaces at discontinuities. TypeThis attribute is of type boolean. DefaultThe default for this attribute is false. ImportersThis attribute is used by the IGES import type. ExportersThis attribute is not used by any export types. TecplotFileFormat
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. TypeThis attribute is of type string; < PLT | SZPLT > DefaultThe default for this attribute is PLT ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the Tecplot CaeExporter. UnstructuredInterface
Set the interface data type to be used to establish connectivity between unstructured blocks. TypeThis attribute is of type string; < FaceToFace | NodeToNode | CellToCell >. DefaultThe default for this attribute is FaceToFace. ImportersThis attribute is not used by any import types. ExportersThis attribute is used by the CGNS CaeExporter. ImportLayerScheme
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. TypeThis attribute is of type string; < DefaultLayers | SingleLayer | SequentiallyFromLayer>. DefaultThe default for this attribute is DefaultLayers. ImportersThis attribute is used by all database import types. ExportersThis attribute is not used by any export types. ImportLayerNumber
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. TypeThis attribute is of type integer. DefaultThe default for this attribute is 0. ImportersThis attribute is used by all database import types. ExportersThis attribute is used by the export Importer. GridExportMeshLink
Enables the creation of MeshLink files during CAE export. TypeThis attribute is of type boolean. DefaultThe default for this attribute is 0. ImportersThis attribute is not used by any import types. ExportersThis attribute is available to any CaeExporter that supports it. See Alsopw::Application <getCAESolverAttribute> <MeshLinkSupported> GridExportMeshLinkFileName
The name of the exported MeshLink XML file. TypeThis attribute is of type string. DefaultThe default for this attribute is “<grid filename>.xml”. ImportersThis attribute is not used by any import types. ExportersThis attribute is available to any CaeExporter that supports it. See Alsopw::Application <getCAESolverAttribute> <MeshLinkSupported> GridExportMeshLinkFileType
The type of the exported MeshLink XML file. TypeThis attribute is of type string; One of < Uncompressed >. DefaultThe default for this attribute is Uncompressed. ImportersThis attribute is not used by any import types. ExportersThis attribute is available to any CaeExporter that supports it. See Alsopw::Application <getCAESolverAttribute> <MeshLinkSupported> GridExportMeshLinkDatabaseFileName
The name of the exported MeshLink database file. TypeThis attribute is of type string. DefaultThe default for this attribute is “<grid filename>.<ext>”. Where ext is appropriate for the specified database file type. ImportersThis attribute is not used by any import types. ExportersThis attribute is available to any CaeExporter that supports it. See Alsopw::Application <getCAESolverAttribute> <MeshLinkSupported> GridExportMeshLinkDatabaseFileType
The type of the exported MeshLink database file. TypeThis attribute is of type string; One of < NMB-Binary | NMB-ASCII >. DefaultThe default for this attribute is NMB-Binary. ImportersThis attribute is not used by any import types. ExportersThis attribute is available to any CaeExporter that supports it. See Alsopw::Application <getCAESolverAttribute> <MeshLinkSupported> |
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