Glyph Version 7.22.2 |
pw:: ApplicationGlobal actions of the application Derives FromSummary
getVersion
This action gets the program and version of the application. ParametersNone ReturnsThis action returns a string describing the version of the application. ExampleCode pw::Application getVersion Output Pointwise V16.04R1 checkForDuplicates
This action checks if loading the given file would result in duplicate named entities. Parameters
ReturnsThis action returns a boolean, which is true if there are duplicates. InformationThis command supports progress updates. ExampleCode pw::Application checkForDuplicates -rules result "C:\test.pw" Output 1 checkForMissingReferences
This action checks if loading the given file would result in missing references. Parameters
ReturnsThis action returns a boolean, which is true if there are missing references. InformationThis command supports progress updates. ExampleCode pw::Application checkForMissingReferences "C:\test.pw" Output 0 checkCAEUnsupportedEntities
This action checks for the number of unsupported entities that will be ignored or deleted if the file is loaded. Parameters
ReturnsThis action returns the number of unsupported entities. InformationIf you have -ignoreCAESolver it gets the number of ents in the file that are not supported by the current CAE solver and dimension, and if you don’t have the flag, it gets the number of existing ents that are not supported by the file’s CAE solver and dimension. ExampleCode pw::Application checkCAEUnsupportedEntities -ignoreCAESolver "C:\test.pw" Output 2 load
This action loads the entities and settings from the native file. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. ExampleCode pw::Application load -rules KeepNew "C:\test.pw" save
This action saves the current entities and settings to the native file format. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. For “-compress level”, 0 = no compression, 1 = minimum, and 9 = maximum. Higher levels of compression take longer to save. ExampleCode pw::Application save -noOverwrite "test.pw" isModified
This action checks if the entities or settings have been modified since the last save. ParametersNone ReturnsThis action returns a boolean, which is true if there have been modifications. ExampleCode pw::Application isModified Output 1 getProjectName
This action returns the project name which includes the file path and the filename of the currently associated file. The project name is set when a native file is loaded or saved. It is cleared when the application is reset. ParametersNone ReturnsThis action returns a string. See Alsopw::Application.save pw::Application.load pw::Application.reset isEmpty
This action checks if there are no entities. ParametersNone ReturnsThis action returns a boolean, which is true if there are no current entities. ExampleCode pw::Application isEmpty Output 0 begin
This action begins a mode in the application. Parameters
ReturnsThis action returns a new pw::Mode object. InformationThis command supports progress updates when mode is Paste. ExampleCode set mode [pw::Application begin Create] Output pw::Creator setClipboard
This action sets the given list of entities to be the contents of the application clipboard. The entities are copied in their current state and are not available for usage until pasted using the pw::Application begin Paste command. Note that when writing a script that uses copying, if the copied data is not meant to be left on the clipboard for use outside of the script, one should use the pw::Copier mode instead of setClipboard. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. When pw::Spacing objects are copied to the clipboard, all spacing objects with non-zero values are retained. For objects that have a zero value, they may be modified or ignored as follows. If the spacing object is associated with a dimensioned connector, the actual grid spacing value will be used as the spacing value. If the spacing object is not associated with a dimensioned connector and other spacing objects that do have either an explicit or implicit non-zero value are included in the copy operation, then the zero value spacing objects will be ignored. Finally, if only zero value spacing objects are specified, they will be copied as is. Note that pasting the zero spacing object will effective erase any specified spacing values on the selected targets of the paste operation. ExampleCode # Copy 2 connectors to the clipboard Output Clipboard size (a): 2 isClipboardEmpty
This action checks if the application clipboard contains any entities. ParametersThere are no parameters. ReturnsThis action returns a boolean, true if the clipboard does not contain any entities. ExampleCode pw::Application isClipboardEmpty Output 1 getClipboardCount
This action returns the number of items explicitly copied to the clipboard. Parameters
ReturnsThis action returns an integer value representing the number of entities copied to the clipboard. ExampleCode pw::Application setClipboard $domain Output Total clipboard items: 1 reset
Reset the settings of the application Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. ExampleCode pw::Application reset -keep [list Clipboard Defaults] getCAESolverNames
This action gets the names of the available CAE solvers. ParametersThere are no parameters. ReturnsThis action returns a string list of CAE solver names. ExampleCode set solverNames [pw::Application getCAESolverNames] Output Solver: 'Altair/AcuSolve' getCAEUnsupportedEntities
This action gets the existing entities unsupported by a CAE solver and dimension. Parameters
ReturnsThis action returns a list of pw::GridEntity objects. ExampleCode set unsupEnt [pw::Application getCAEUnsupportedEntities VSAERO 2] Output dom-1 dom-2 dom-3 dom-4 dom-5 dom-6 dom-7 dom-8 blk-1 isValidDimension
This action determines if the given dimension is supported by a CAE solver. Parameters
ReturnsThis action returns a boolean, true if dimension is valid. ExampleCode pw::Application isValidDimension VSAERO 3 Output 0 isValidElement
This action determines if the given element type is supported by a CAE solver. Parameters
ReturnsThis action returns a boolean, true if the element type is valid. ExampleCode pw::Application isValidElement VSAERO Pyramid Output 0 isValidElementTopology
This action determines if the given element topology type is supported by a CAE solver. Parameters
ReturnsThis action returns a boolean, true if the element topology type is valid. ExampleCode pw::Application isValidElementTopology VSAERO Unstructured Output 0 setCAESolver
This action sets the current CAE solver. Parameters
ReturnsThis action returns nothing. InformationThe list of valid CAE solver names will change as new solvers are added and custom CAE plugins are loaded. getCAESolverNames will return a string list of available CAE solver names. ExampleCode pw::Application setCAESolver NSAERO getCAESolver
This action gets the name of the current CAE solver. ParametersThere are no parameters. ReturnsThis action returns a string, the current CAE solver name. ExampleCode pw::Application getCAESolver Output NSAERO setCAESolverDimension
This action sets the current CAE solver dimension. Parameters
ReturnsThis action returns nothing. InformationExampleCode pw::Application setCAESolverDimension 3 getCAESolverDimension
This action gets the dimension of the current CAE solver. ParametersThere are no parameters. ReturnsThis action returns an integer, the current CAE solver dimension (2 or 3). ExampleCode pw::Application getCAESolverDimension Output 3 areCAESolverVariablesSupported
This action returns whether settable variables are supported by the current CAE solver. ParametersThere are no parameters. ReturnsThis action returns true if the solver has variables that can be set, or false if not. ExampleCode pw::Application areCAESolverVariablesSupported Output true getCAESolverAttributeNames
This action gets the available CAE solver attribute names. Parameters
ReturnsA string list of the matching CAE solver attribute names. See Also<CAE Solver Attributes> ExampleCode puts [pw::Application getCAESolverAttributeNames] Output AllowedFileFormats AllowedDataPrecision AllowedExportConditionsOnly getCAESolverAttribute
This action gets the named CAE solver attribute. Parameters
ReturnsThis action returns the attribute value. InformationThe return value data-type depends on the attribute being retrieved. See Also<CAE Solver Attributes> setCAESolverAttribute
This action sets the named CAE solver attribute. Parameters
ReturnsThis action returns nothing. InformationIf attribute_name does not exist an error will be triggered unless -create is specified. If attribute_name already exists -create is silently ignored and the value will be assigned. Attributes created this way will be “auto typed”. That is, the type is inferred from the value provided. For example, “4.5” will be Real, “7” will be UInt, “-7” will be Int, etc. addCAESolverAttribute
This action adds the named attribute to the current CAE solver. ParametersAll parameters must be present and in the order specified.
ReturnsThis action returns nothing. Attribute Types
Attribute Access
String Range Formatpattern[ minLen maxLen] where,
example, The regex pattern “/^hello.*!$/” and the glob pattern “:hello*!:” will allow strings starting with “hello”, followed by zero or more characters, and ending with “!”. Some valid strings include “hello world!”, “hello!”, and “hello!!!”. Enum Range Format[@<sepChar>]name[=int][<sepChar>name[=int]...] where,
enum example 1, The follwing 2 Enums are equivalent. The first enum uses the default ‘|’ (vbar) separator character. The second uses a custom ‘,’ (comma) separator character. up|down=6|left|right=10|upLeft|upRight|downLeft=6|downRight @,up,down=6,left,right=10,upLeft,upRight,downLeft=6,downRight Resulting in the following enum item associationsup=0, down=6, left=7, right=10, upLeft=11, upRight=12, downLeft=6, downRight=7 enum example 2, The follwing 2 Enums are NOT equivalent. A,B|C,D|E,F produces “A,B”=0, “C,D”=1, “E,F”=2 @,A,B|C,D|E,F produces “A”=0, “B|C”=1 “D|E”=2 “F”=3 Bool Range FormatThe Bool range format is the same as the Enum range format. However, for Bool, each item’s value is interpreted as a logical true or false. The names defined in the range are added to the standard “string to boolean” name mappings. The standard “string to boolean” mappings are;
All integer values are mapped as expected. That is, 0 is mapped to false and all other non-zero integer values are mapped to true. example, This range will cast the strings “true,yes,accept,bad” to true and “false,no,reject,bad” to false. ”accept=1|reject=0|good=1|bad=0” Int, UInt and Real Range FormatminVal maxVal[ typicalMinVal typicalMaxVal] where,
StringList Range Formatpattern[ minLen maxLen[ minCount maxCount]] where, pattern minLen maxLen - See the String Range Format for details.
EnumList Range Format{EnumRange}[ minCount maxCount] where,
ExamplesCode proc addAttr { name type val {range {}} {access RW} } { Output | name | type | default | range | rw | description | getCAESolverAttributeDefinition
This action gets the definition of a CAE solver attribute. Parameters
ReturnsThis action returns the attribute definition which will be a list containing 7 items: “group name type access desc default range”. See Alsopw::Application.addCAESolverAttribute for details. ExampleCode pw::Application reset Output RANGE WITH ORDINALS getFileTypes
This action gets the available filetype ids. Parameters
ReturnsA string list of filetype ids. See AlsogetFileTypeAttribute, getFileTypeAttributeNames ExampleCode proc putsFileTypes { filename } { Output CFD++ CFX CGNS FUN3D ...snip... UCD UGRID VRML Xpatch getFileTypeAttributeNames
This action gets the named file type attribute. Parameters
ReturnsA string list of attribute names. See AlsogetFileTypes, getFileTypeAttribute ExampleCode foreach fileType [pw::Application getFileTypes] { Output (edited) File Type: CGNS getFileTypeAttribute
This action gets the named file type attribute. Parameters
ReturnsThis action returns the attribute value. InformationThe return value data-type depends on the attribute being retrieved. See AlsogetFileTypes, getFileTypeAttributeNames ExampleSee example in getFileTypeAttributeNames and getFileTypes. getRuntimeAttributeNames
This action gets the available runtime attribute names. Parameters
ReturnsA string list of the matching runtime attribute names. See AlsoExampleCode proc dumpAttrs { args } { Output Runtime attributes matching '' getRuntimeAttribute
This action gets the value of the named runtime attribute. Parameters
ReturnsThis action returns the attribute value. InformationThe return value data-type depends on the attribute being retrieved. See AlsoExampleSee example in getRuntimeAttributeNames. getRuntimeAttributeDefinition
This action gets the definition of a runtime attribute. Parameters
ReturnsThis action returns the attribute definition which will be a list containing 7 items: “group name type access desc default range”. ExampleSee example in getRuntimeAttributeNames. setOversetAssembler
This action sets the current overset assembler. Parameters
ReturnsThis action returns nothing. InformationThe list of valid overset assembler names will change as new assemblers are added and custom overset assemblers are loaded. Use getOversetAssemblerNames to determine available assembler names. getOversetAssembler
This action gets the name of the current overset assembler. ParametersThere are no parameters. ReturnsThis action returns a string, the current overset assembler name. areOversetBCsCompatible
This action return whether overset boundary conditions are compatible between the current assembler and another Parameters
ReturnsThis action returns a boolean indicating if the overset boundary conditions are compatible between the current assembler and the specified one. getOversetAssemblerNames
This action gets the names of the available overset assemblers. Parameters
ReturnsThis action returns a string list of overset assembler names for the given dimension. isValidOversetDimension
This action determines if the given dimension is supported by an overset assembler. Parameters
ReturnsThis action returns a boolean, true if dimension is valid. getOversetAssemblerAttribute
This action gets the named overset assembler attribute. Parameters
ReturnsThis action returns the attribute value. InformationThe return value data-type depends on the attribute being retrieved. See Alsoexport
This action exports CAE data in a format specific to the currently selected analysis software. For analysis software that allows export of boundary condition data only, set the output_data to Conditions. Parameters
InformationThis command supports progress updates. This action is “all or nothing.” It does not allow you to handle error recovery. If you need more fine-grained control over the export process, use a pw::CaeExporter I/O mode. ReturnsThis action returns nothing. See Alsobegin, pw::IOMode, pw::CaeExporter ExampleCode set block [pw::Grid getByName "blk-1"] getXYZ
This action gets the 3D position of the given point or grid coordinate. Parameters
ReturnsThis action returns an xyz vector. ExampleCode pw::Application getXYZ [list 2 5 $dom] Output 0.833333333333333 3.3333333333333326 0.0 combine
This action combines two points or grid coordinates in different ways. Parameters
ReturnsThis action returns a point. ExampleCode pw::Application combine -Z [list 1 1 1] [list 2 2 2] Output 2.0 2.0 1.0 getEntity
This action gets the entity of the given point or grid coordinate. Parameters
ReturnsThis action returns a pw::Entity object. InformationIf the given point is not database constrained or a valid grid coordinate, an error will occur. The point cannot be in model space since an xyz vector is not connected to specific entities. ExampleCode set ent [pw::Application getEntity [list 2 5 $dom]] Output dom-1 getDescription
This action gets the description of the given point or grid coordinate. Parameters
ReturnsThis action returns a string giving the entity name and coordinates. InformationIf a point in model space is used, the same xyz vector is returned since there is not a connection to an entity associated with it. ExampleCode pw::Application getDescription [list 5 $con] Output con-1 5 getUndoList
This action returns the list of undo levels available. ParametersThere are no parameters. ReturnsThis action returns a string list of undo checkpoint labels. InformationThe labels correspond to the names passed into markUndoLevel. The number of labels indicates the number of undo steps available. The first label is the first available undo operation. ExampleCode pw::Application getUndoList Output getRedoList
This action returns the list of redo levels available. ParametersThere are no parameters. ReturnsThis action returns a string list of undo checkpoint labels. InformationThe labels correspond to the names passed into markUndoLevel. The number of labels indicates the number of redo steps available. The first label is the first available redo operation. ExampleCode pw::Application getRedoList Output undo
This action undoes one step. ParametersThere are no parameters. ReturnsThis action returns a boolean, true if successful. ExampleCode pw::Application undo Output 1 redo
This action redoes one step. ParametersThere are no parameters. ReturnsThis action returns a boolean, true if successful. ExampleCode pw::Application redo Output 1 markUndoLevel
This action saves an undo checkpoint. Parameters
ReturnsThis action returns nothing. ExampleCode pw::Application markUndoLevel CreateDomain exit
This action shuts down the full application immediately, without any prompts to the user to warn about unsaved data. Parameters
ReturnsThis action returns nothing. isInteractive
Check to see if the Pointwise application is running in interactive mode with a GUI as opposed to being run in a Tcl batch interpreter. ParametersThere are no parameters. ReturnsThis function returns true if the application is being run in interactive mode. ExampleCode pw::Application isInteractive Output 1 getAllCommandNames
This action returns the names of all supported glyph commands. ParametersThis action has no parameters. ReturnsThis action returns a list of string objects. setVerbosity
This command controls the level of text output of the application. Parameters
ReturnsThis action returns nothing. ExampleCode pw::Application setVerbosity Error UndoMaximumLevels
This sets/gets the maximum number of undo levels maintained. TypeThis attribute is of type integer with the range [0, infinity); 0 disabling undo. DefaultThe default for this attribute is 0 when run in batch mode. When run interactively, the default value is specified by the user preferences. ExampleCode pw::Application setUndoMaximumLevels 15 GridPreference
This attribute is the grid preference of the application. TypeThis attribute is of type string with values < Structured | Unstructured >. DefaultThe default for this attribute is Structured. ExampleCode pw::Application setGridPreference Unstructured FileExtensions
This gets the extensions of files exported for the CAE solver. TypeThis attribute is a list of strings. InformationThis attribute is read only. FileDestination
This gets the type of file destination that is expected by the current CAE when calling the pw::Application.export command. TypeThis attribute is of type string; < Filename | Basename | Folder >. InformationThis attribute is read only. AllowedFileFormats
This gets the allowed file formats when exporting for the CAE solver. TypeThis attribute is a string list containing one or more of < ASCII | Binary | Unformatted >. InformationThis attribute is read only. AllowedDataPrecision
This gets the allowed data precision when exporting for the CAE solver. TypeThis attribute is a string list containing one or more of < Single | Double >. InformationThis attribute is read only. AllowedFileByteOrder
This gets the allowed file byte order when exporting for the CAE solver. TypeThis attribute is a string list containing one or more of < BigEndian | LittleEndian >. InformationThis attribute is read only. AllowedExportConditionsOnly
This gets a boolean flag that indicates whether the CAE solver allows export of the conditions data without having to export the grid data. This can be accomplished by using the -output Conditions parameter for the pw::Application.export command. TypeThis attribute is of type boolean. InformationThis attribute is read only. AllowedVolumeConditions
This returns a boolean flag that indicates whether the CAE solver supports the volume conditions. If it does not, volume conditions cannot be created. TypeThis attribute is of type boolean. InformationThis attribute is read only. ImplementationMethod
This gets the method used for the implementation of the exporter. TypeThis attribute is of type string; < Plugin | Builtin | Legacy >. InformationThis attribute is read only. AllowedExportMirroring
This returns a boolean flag that indicates whether the CAE solver supports setting an export mirror plane. If it does not, a mirror plane cannot be defined. TypeThis attribute is of type boolean. InformationThis attribute is read only. AllowedElements
This gets a list of the element types supported by the CAE solver. TypeThis attribute is a string list containing one or more of < Line | Triangle | Quadrilateral | Tetrahedral | Hexahedral | Pyramid | Wedge >. InformationThis attribute is read only. ExampleCode set solvers {USM3D TACOMA OpenFOAM SCRYU} Output USM3D: Line Triangle Tetrahedral AllowedElementTopologies
This gets a list of the element topologies supported by the CAE solver. TypeThis attribute is a string list containing one or more of < Structured | Unstructured | Prismatic >. InformationThis attribute is read only. ExampleCode set solvers {USM3D TACOMA OpenFOAM SCRYU} Output USM3D: Unstructured MaxMeshPolynomialDegree
Returns an integer specifying the maximum mesh elevation polynomial degree supported by the current CAE solver. TypeThis attribute is of type integer. InformationThis attribute is read only. If 1, this CAE solver does not support mesh elevation. If > 1, mesh elevation is supported up to the specified polynomial degree. ExampleCode pw::Application setCAESolver CGNS Output Current solver support mesh elevation up to 4. Code set solvers {CGNS USM3D TACOMA OpenFOAM} Output CGNS: Supports high order meshes up to degree 4. MeshLinkSupported
This returns a boolean flag that indicates whether the current CAE solver supports the export of MeshLink files. TypeThis attribute is of type boolean. InformationThis attribute is read only. ExampleCode set solvers {CGNS OpenFOAM NASA/FUN3D Kestrel} Output CGNS 2-D: Does not support MeshLink export. Title
Case Name. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: /^.+$/. Default value {}. Title
Case Name. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: /^.+$/. Default value {}. ProjectDescription
The grid project description written to the inp file. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: {:*: 0 77}. Default value {}. CGNS. FileType
Specifies the exported file’s internal storage type. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < adf | hdf5 >. CGNS. Units
Linear units of exported values. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < UserDefined | Meters | Centimeters | Millimeters | Feet | Inches >. CGNS. UseFamilyConditions
Specifies how condition data is written to the file. TypeThe attribute type is boolean. InformationThis attribute supports Read/Write access. Default value true. LoggingLevel
Controls message logging level. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < None | Error | Warning | Info >. GridFileExtension
Sets the file extension used for Cobalt grid files. Do not enter a leading period. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: /^[^.][.\w]+$/. Default value grd. BlockNumberScheme
The block id numbering scheme. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < IdOnly | IdWithType | IdAuto >. LogVerbosity
Controls vebosity of export logging to the message window. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < Off | On >. MaxCacheSize
Set the max cache size (MB). Use 0 to auto-size the cache. TypeThe attribute type is integer. InformationThis attribute supports Read/Write access. This attribute has the range: {0 2048}. Default value 0. ExportPriority
Controls the export method. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < MaxSpeed | MinMemory >. ExportPriority
Controls the exporter’s priority. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < MaxSpeed | MinMemory >. CGNS. FileType
Specifies the exported file’s internal storage type. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < adf | hdf5 >. CGNS. Units
Linear units of exported values. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < UserDefined | Meters | Centimeters | Millimeters | Feet | Inches >. CGNS. UseFamilyConditions
Specifies how condition data is written to the file. TypeThe attribute type is boolean. InformationThis attribute supports Read/Write access. Default value true. BcType
Specify the BC export format. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < Element | Node >. Dim2PointFormat
Controls the 2-D point export format. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < XY | XYZ >. ExportGmshFileFormat
Choose to export as Gmsh file Version 2 or Version 4. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < Version2 | Version4 >. Default value {}. ExportVCs
Controls the export of volume conditions. TypeThe attribute type is boolean. InformationThis attribute supports Read/Write access. Default value false. Compressibility
Flow compressibility. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < compressible | incompressible >. FileContactInfo
File contact informtion. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: {:*: 0 128}. Default value {}. FileDescription
File description. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: {:*: 0 128}. Default value {Mesh exported from Pointwise}. MeshCoordinateSystem
Mesh coordinate system. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < xByUzL | xByRzU | xFyRzD >. MeshDescription
Mesh description. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: {:*: 0 128}. Default value {Pointwise Mesh 1}. MeshName
Mesh name. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: {:*: 0 128}. Default value PointwiseMesh1. MeshReferenceArea
Reference area for force/moment calculation. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0 1e+16 1 1000}. Default value 1. MeshReferenceLength
Reference length for Reynolds number. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0 1e+16 1e-08 100}. Default value 1. MeshReferencePointDescription
Reference point description. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: {:*: 0 128}. Default value origin. MeshReferencePointX
Reference point X coordinate. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {-1e+16 1e+16 -1e+16 1e+16}. Default value 0. MeshReferencePointY
Reference point Y coordinate. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {-1e+16 1e+16 -1e+16 1e+16}. Default value 0. MeshReferencePointZ
Reference point Z coordinate. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {-1e+16 1e+16 -1e+16 1e+16}. Default value 0. MeshScale
Mesh global scale. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {1e-08 1e+16 0.1 100}. Default value 1. MeshUnits
Mesh dimensional units. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < in | ft | m | cm >. Mach
Mach number. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0.0 +Inf 0.0 30.0}. Default value 1.2. NPARC. BcStyle
NPARC BC style. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < namelist | formatted >. NPARC. Version
NPARC file version. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < version.2 | version.3 >. MaxCacheSize
Set the max cache size (MB). Use 0 to auto-size the cache. TypeThe attribute type is integer. InformationThis attribute supports Read/Write access. This attribute has the range: {0 2048}. Default value 1024. CGNS. FileType
Specifies the exported file’s internal storage type. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < adf | hdf5 >. CGNS. Units
Linear units of exported values. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < UserDefined | Meters | Centimeters | Millimeters | Feet | Inches >. CGNS. UseFamilyConditions
Specifies how condition data is written to the file. TypeThe attribute type is boolean. InformationThis attribute supports Read/Write access. Default value false. CellExport
Controls the export of cell sets and zones. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < None | Sets | Zones | SetsAndZones >. FaceExport
Controls the export of face sets and zones. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < None | Sets | Zones | SetsAndZones >. PointPrecision
Controls the export of face sets and zones. TypeThe attribute type is integer. InformationThis attribute supports Read/Write access. This attribute has the range: {4 16}. Default value 16. SideBCExport
Controls how BCs are assigned to the top and base boundaries for 2D export. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < Unspecified | Single | BaseTop | Multiple >. Thickness
Offset distance for 2D export. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0.0 +Inf}. Default value 0.0. CellExport
Controls the export of cell sets and zones. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < None | Sets | Zones | SetsAndZones >. FaceExport
Controls the export of face sets and zones. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < None | Sets | Zones | SetsAndZones >. PointPrecision
Controls the export of face sets and zones. TypeThe attribute type is integer. InformationThis attribute supports Read/Write access. This attribute has the range: {4 16}. Default value 16. SideBCExport
Controls how BCs are assigned to the top and base boundaries for 2D export. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < Unspecified | Single | BaseTop | Multiple >. Thickness
Offset distance for 2D export. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0.0 +Inf}. Default value 0.0. DataModel
Controls the underlying NetCDF data model used by TAU export. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < NetCDF_Classic | NetCDF_64bit | NetCDF4_HDF5 >. Thickness
Offset distance for 2D export. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0 +Inf}. Default value 1.0. VariableMethodFor2D
Controls how the XYZ variables are exported for 2D grids. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < AsDesigned | Always3D >. ShellOrientation
Default PSHELL orientation. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < NormalsOut | NormalsIn >. ShellThickness
Default PSHELL Thickness. TypeThe attribute type is float. InformationThis attribute supports Read/Write access. This attribute has the range: {0 9e+12}. Default value 0. WideFormat
Export using wide column format. TypeThe attribute type is boolean. InformationThis attribute supports Read/Write access. Default value false. ExtensionType
File name extension type. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < Simple | Detailed >. CreateLog
Controls generation of a log file for debugging. TypeThe attribute type is boolean. InformationThis attribute supports Read/Write access. Default value false. MaxSegmentSize
Maximum size of a connectivity segment in bytes. TypeThe attribute type is integer. InformationThis attribute supports Read/Write access. This attribute has the range: {100000 2000000000}. Default value 1000000000. Units
Grid dimensional units. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < meters | centimeters | millimeters | feet | inches >. Units
Grid dimensional units. TypeThe attribute type is string. InformationThis attribute supports Read/Write access. This attribute has the range: < meters | centimeters | millimeters | feet | inches >. AssemblyAllowed
This gets the flag that indicates whether the current overset assembler allows overset grid assembly. TypeThis attribute is of type boolean. InformationThis attribute is read only. AllowedBoundaryConditions
This gets the flag that indicates whether the current overset assembler allows boundary conditions. TypeThis attribute is of type boolean. InformationThis attribute is read only. AllowedVolumeConditions
This gets the flag that indicates whether the current overset assembler allows volume conditions. TypeThis attribute is of type boolean. InformationThis attribute is read only. AllowedCollarBoundaryConditions
This gets the flag that indicates whether the current overset assembler allows collar boundary conditions. TypeThis attribute is of type boolean. InformationThis attribute is read only. Name
This gets the file type name. TypeThis attribute is a string. InformationThis attribute is read only. Key
This gets the file type unique key. TypeThis attribute is a integer with the range [0, infinity). InformationThis attribute is read only. Mode
This gets the file type IO modes that support this attribute. TypeThis attribute is a list of strings; <DatabaseImporter | DatabaseExporter | GridImporter | GridExporter | SourcesImporter> InformationThis attribute is read only. Extensions
This gets the valid file type extensions. TypeThis attribute is a list of strings. InformationThis attribute is read only. Filters
This gets the glob filters used to identify filenames supported by this file type. TypeThis attribute is a list of strings. InformationThis attribute is read only. Description
This gets the file type description. TypeThis attribute is a string. InformationThis attribute is read only. CanCheckValidFile
Returns 1 if file type supports file validation. TypeThis attribute is a boolean. InformationThis attribute is read only. CanImportConditions
Returns 1 if file type supports BC/VC import. TypeThis attribute is a boolean. InformationThis attribute is read only. |
This action gets the program and version of the application.
pw::Application getVersion
This action checks if loading the given file would result in duplicate named entities.
pw::Application checkForDuplicates ?-rules ruleVar? filename
This action checks if loading the given file would result in missing references.
pw::Application checkForMissingReferences ?-local? filename
This action checks for the number of unsupported entities that will be ignored or deleted if the file is loaded.
pw::Application checkCAEUnsupportedEntities ?-ignoreCAESolver? fileName
This action loads the entities and settings from the native file.
pw::Application load ?-ignoreCAESolver? ?-environment? ?-rules < KeepOld | KeepNew | KeepBoth >? filename
This action saves the current entities and settings to the native file format.
pw::Application save ?-compress level? ?-noOverwrite? ?< -entities ents | -environment >? filename
This action checks if the entities or settings have been modified since the last save.
pw::Application isModified
This action resets the flags that track whether or not modifications have occurred.
pw::Application clearModified
This action returns the project name which includes the file path and the filename of the currently associated file.
pw::Application getProjectName
This action checks if there are no entities.
pw::Application isEmpty
This action begins a mode in the application.
pw::Application begin ?-mode_specific_flags? mode ?entities?
This action sets the given list of entities to be the contents of the application clipboard.
pw::Application setClipboard entity_list
Clear the contents of the application clipboard.
pw::Application clearClipboard
This action checks if the application clipboard contains any entities.
pw::Application isClipboardEmpty
This action returns the number of items explicitly copied to the clipboard.
pw::Application getClipboardCount ?-type type_string?
Reset the settings of the application
pw::Application reset ?-keep keep_list? ?reset_list?
This action gets the names of the available CAE solvers.
pw::Application getCAESolverNames
This action gets the existing entities unsupported by a CAE solver and dimension.
pw::Application getCAEUnsupportedEntities name dimension
This action determines if the given dimension is supported by a CAE solver.
pw::Application isValidDimension name dim
This action determines if the given element type is supported by a CAE solver.
pw::Application isValidElement name type
This action determines if the given element topology type is supported by a CAE solver.
pw::Application isValidElementTopology name type
This action sets the current CAE solver.
pw::Application setCAESolver name ?dimension?
This action gets the name of the current CAE solver.
pw::Application getCAESolver
This action sets the current CAE solver dimension.
pw::Application setCAESolverDimension dimension
This action gets the dimension of the current CAE solver.
pw::Application getCAESolverDimension
This action returns whether settable variables are supported by the current CAE solver.
pw::Application areCAESolverVariablesSupported
This action gets the available CAE solver attribute names.
pw::Application getCAESolverAttributeNames ?-group < All | IO | *CAE* >? ?-fullname? ?-regex? ?pattern?
This action gets the named CAE solver attribute.
pw::Application getCAESolverAttribute attribute_name
This action sets the named CAE solver attribute.
pw::Application setCAESolverAttribute ?-create? attribute_name value
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 definition of a CAE solver attribute.
pw::Application getCAESolverAttributeDefinition ?-rangeNamesOnly? attribute_name
This action gets the available filetype ids.
pw::Application getFileTypes ?-mode < DatabaseImporter | DatabaseExporter | GridImporter | GridExporter >? ?-file filename?
This action gets the named file type attribute.
pw::Application getFileTypeAttributeNames filetype_id
This action gets the named file type attribute.
pw::Application getFileTypeAttribute filetype_id attribute_name
This action gets the available runtime attribute names.
pw::Application getRuntimeAttributeNames ?-regex? ?pattern?
This action gets the value of the named runtime attribute.
pw::Application getRuntimeAttribute attribute_name
This action gets the definition of a runtime attribute.
pw::Application getRuntimeAttributeDefinition ?-rangeNamesOnly? attribute_name
This action sets the current overset assembler.
pw::Application setOversetAssembler name
This action gets the name of the current overset assembler.
pw::Application getOversetAssembler
This action return whether overset boundary conditions are compatible between the current assembler and another
pw::Application areOversetBCsCompatible name
This action gets the names of the available overset assemblers.
pw::Application getOversetAssemblerNames ?dimension?
This action determines if the given dimension is supported by an overset assembler.
pw::Application isValidOversetDimension name dim
This action gets the named overset assembler attribute.
pw::Application getOversetAssemblerAttribute attribute_name
This action exports CAE data in a format specific to the currently selected analysis software.
pw::Application export ?-format file_format? ?-precision fp_precision? ?-noOverwrite? ?-output data_type? ents filename
This action gets the 3D position of the given point or grid coordinate.
pw::Application getXYZ < point | coord >
This action combines two points or grid coordinates in different ways.
pw::Application combine < -X | -Y | -Z | -U | -V > < point1 | coord1 > < point2 | coord2 >
This action gets the entity of the given point or grid coordinate.
pw::Application getEntity < point | coord >
This action gets the description of the given point or grid coordinate.
pw::Application getDescription < point | coord >
This action returns the list of undo levels available.
pw::Application getUndoList
This action returns the list of redo levels available.
pw::Application getRedoList
This action undoes one step.
pw::Application undo
This action resets the undo levels.
pw::Application resetUndoLevels
This action redoes one step.
pw::Application redo
This action saves an undo checkpoint.
pw::Application markUndoLevel name
This action shuts down the full application immediately, without any prompts to the user to warn about unsaved data.
pw::Application exit ?code?
Check to see if the Pointwise application is running in interactive mode with a GUI as opposed to being run in a Tcl batch interpreter.
pw::Application isInteractive
This action returns the names of all supported glyph commands.
pw::Application getAllCommandNames
This command controls the level of text output of the application.
pw::Application setVerbosity level
This command reports the current level of filtering for text output by the application.
pw::Application getVerbosity
This sets/gets the maximum number of undo levels maintained.
pw::Application get/setUndoMaximumLevels levels
This attribute is the grid preference of the application.
pw::Application get/setGridPreference < Structured | Unstructured >
This gets the extensions of files exported for the CAE solver.
pw::Application getCAESolverAttribute FileExtensions
This gets the type of file destination that is expected by the current CAE when calling the pw::Application.export command.
pw::Application getCAESolverAttribute FileDestination
This gets the allowed file formats when exporting for the CAE solver.
pw::Application getCAESolverAttribute AllowedFileFormats
This gets the allowed data precision when exporting for the CAE solver.
pw::Application getCAESolverAttribute AllowedDataPrecision
This gets the allowed file byte order when exporting for the CAE solver.
pw::Application getCAESolverAttribute AllowedFileByteOrder
This gets a boolean flag that indicates whether the CAE solver allows export of the conditions data without having to export the grid data.
pw::Application getCAESolverAttribute AllowedExportConditionsOnly
This returns a boolean flag that indicates whether the CAE solver supports the volume conditions.
pw::Application getCAESolverAttribute AllowedVolumeConditions
This gets the method used for the implementation of the exporter.
pw::Application getCAESolverAttribute ImplementationMethod
This returns a boolean flag that indicates whether the CAE solver supports setting an export mirror plane.
pw::Application getCAESolverAttribute AllowedExportMirroring
This gets a list of the element types supported by the CAE solver.
pw::Application getCAESolverAttribute AllowedElements
This gets a list of the element topologies supported by the CAE solver.
pw::Application getCAESolverAttribute AllowedElementTopologies
Returns an integer specifying the maximum mesh elevation polynomial degree supported by the current CAE solver.
pw::Application getCAESolverAttribute MaxMeshPolynomialDegree
This returns a boolean flag that indicates whether the current CAE solver supports the export of MeshLink files.
pw::Application getCAESolverAttribute MeshLinkSupported
Case Name.
pw::Application get/setCAESolverAttribute Title value
The grid project description written to the inp file.
pw::Application get/setCAESolverAttribute ProjectDescription value
Specifies the exported file’s internal storage type.
pw::Application get/setCAESolverAttribute CGNS.FileType value
Linear units of exported values.
pw::Application get/setCAESolverAttribute CGNS.Units value
Specifies how condition data is written to the file.
pw::Application get/setCAESolverAttribute CGNS.UseFamilyConditions value
Controls message logging level.
pw::Application get/setCAESolverAttribute LoggingLevel value
Sets the file extension used for Cobalt grid files.
pw::Application get/setCAESolverAttribute GridFileExtension value
The block id numbering scheme.
pw::Application get/setCAESolverAttribute BlockNumberScheme value
Controls vebosity of export logging to the message window.
pw::Application get/setCAESolverAttribute LogVerbosity value
Set the max cache size (MB).
pw::Application get/setCAESolverAttribute MaxCacheSize value
Controls the export method.
pw::Application get/setCAESolverAttribute ExportPriority value
Specify the BC export format.
pw::Application get/setCAESolverAttribute BcType value
Controls the 2-D point export format.
pw::Application get/setCAESolverAttribute Dim2PointFormat value
Choose to export as Gmsh file Version 2 or Version 4.
pw::Application get/setCAESolverAttribute ExportGmshFileFormat value
Controls the export of volume conditions.
pw::Application get/setCAESolverAttribute ExportVCs value
Flow compressibility.
pw::Application get/setCAESolverAttribute Compressibility value
File contact informtion.
pw::Application get/setCAESolverAttribute FileContactInfo value
File description.
pw::Application get/setCAESolverAttribute FileDescription value
Mesh coordinate system.
pw::Application get/setCAESolverAttribute MeshCoordinateSystem value
Mesh description.
pw::Application get/setCAESolverAttribute MeshDescription value
Mesh name.
pw::Application get/setCAESolverAttribute MeshName value
Reference area for force/moment calculation.
pw::Application get/setCAESolverAttribute MeshReferenceArea value
Reference length for Reynolds number.
pw::Application get/setCAESolverAttribute MeshReferenceLength value
Reference point description.
pw::Application get/setCAESolverAttribute MeshReferencePointDescription value
Reference point X coordinate.
pw::Application get/setCAESolverAttribute MeshReferencePointX value
Reference point Y coordinate.
pw::Application get/setCAESolverAttribute MeshReferencePointY value
Reference point Z coordinate.
pw::Application get/setCAESolverAttribute MeshReferencePointZ value
Mesh global scale.
pw::Application get/setCAESolverAttribute MeshScale value
Mesh dimensional units.
pw::Application get/setCAESolverAttribute MeshUnits value
Mach number.
pw::Application get/setCAESolverAttribute Mach value
NPARC BC style.
pw::Application get/setCAESolverAttribute NPARC.BcStyle value
NPARC file version.
pw::Application get/setCAESolverAttribute NPARC.Version value
Controls the export of cell sets and zones.
pw::Application get/setCAESolverAttribute CellExport value
Controls the export of face sets and zones.
pw::Application get/setCAESolverAttribute FaceExport value
Controls the export of face sets and zones.
pw::Application get/setCAESolverAttribute PointPrecision value
Controls how BCs are assigned to the top and base boundaries for 2D export.
pw::Application get/setCAESolverAttribute SideBCExport value
Offset distance for 2D export.
pw::Application get/setCAESolverAttribute Thickness value
Controls the underlying NetCDF data model used by TAU export.
pw::Application get/setCAESolverAttribute DataModel value
Controls how the XYZ variables are exported for 2D grids.
pw::Application get/setCAESolverAttribute VariableMethodFor2D value
Default PSHELL orientation.
pw::Application get/setCAESolverAttribute ShellOrientation value
Default PSHELL Thickness.
pw::Application get/setCAESolverAttribute ShellThickness value
Export using wide column format.
pw::Application get/setCAESolverAttribute WideFormat value
File name extension type.
pw::Application get/setCAESolverAttribute ExtensionType value
Controls generation of a log file for debugging.
pw::Application get/setCAESolverAttribute CreateLog value
Maximum size of a connectivity segment in bytes.
pw::Application get/setCAESolverAttribute MaxSegmentSize value
Grid dimensional units.
pw::Application get/setCAESolverAttribute Units value
This gets the flag that indicates whether the current overset assembler allows overset grid assembly.
pw::Application getOversetAssemblerAttribute AssemblyAllowed
This gets the flag that indicates whether the current overset assembler allows boundary conditions.
pw::Application getOversetAssemblerAttribute AllowedBoundaryConditions
This gets the flag that indicates whether the current overset assembler allows collar boundary conditions.
pw::Application getOversetAssemblerAttribute AllowedCollarBoundaryConditions
This gets the file type name.
pw::Application getFileTypeAttribute filetype_id Name
This gets the file type unique key.
pw::Application getFileTypeAttribute filetype_id Key
This gets the file type IO modes that support this attribute.
pw::Application getFileTypeAttribute filetype_id Mode
This gets the IO destination that is expected by the file type.
pw::Application getFileTypeAttribute filetype_id Destination
This gets the valid file type extensions.
pw::Application getFileTypeAttribute filetype_id Extensions
This gets the glob filters used to identify filenames supported by this file type.
pw::Application getFileTypeAttribute filetype_id Filters
This gets the file type description.
pw::Application getFileTypeAttribute filetype_id Description
Returns 1 if file type supports file validation.
pw::Application getFileTypeAttribute filetype_id CanCheckValidFile
Returns 1 if file type supports BC/VC import.
pw::Application getFileTypeAttribute filetype_id CanImportConditions
Application name.
pw::Application getRuntimeAttribute AppName
Application version.
pw::Application getRuntimeAttribute AppVersion
Application name and version.
pw::Application getRuntimeAttribute AppNameAndVersion
Application major version number.
pw::Application getRuntimeAttribute AppVersionMajor
Application minor version number.
pw::Application getRuntimeAttribute AppVersionMinor
Application release version number.
pw::Application getRuntimeAttribute AppVersionRelease
Application candidate version number.
pw::Application getRuntimeAttribute AppVersionCandidate
Application machine architecture.
pw::Application getRuntimeAttribute AppMachine
User home directory.
pw::Application getRuntimeAttribute DirSysUserHome
User private directory.
pw::Application getRuntimeAttribute DirSysUserPrivate
User public directory.
pw::Application getRuntimeAttribute DirSysUserPublic
Application public directory.
pw::Application getRuntimeAttribute DirAppPublic
Application plugins directory.
pw::Application getRuntimeAttribute DirAppPlugins
Public plugins directory.
pw::Application getRuntimeAttribute DirPublicPlugins
System temporary directory.
pw::Application getRuntimeAttribute DirSysTemp
System application public directory.
pw::Application getRuntimeAttribute DirSysAppPublic