You are on page 1of 102

ANSYS Workbench Application Customization

Toolkit

ANSYS, Inc.
Southpointe
275 Technology Drive
Canonsburg, PA 15317
ansysinfo@ansys.com
http://www.ansys.com
(T) 724-746-3304
(F) 724-514-9494

Release 14.5
October 2012
ANSYS Customization Suite
ANSYS, Inc. is
certified to ISO
9001:2008.

Copyright and Trademark Information
© 2012 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.
ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any
and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks or
trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used
by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service
and feature names or trademarks are the property of their respective owners.

Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFIDENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. is certified to ISO 9001:2008.

U.S. Government Rights
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).

Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, please contact ANSYS, Inc.
Published in the U.S.A.

Table of Contents
I. Namespaces ............................................................................................................................................. 1
Ansys.AAP.PublicAPIs.Selection Namespace ....................................................................................... 3
ISelectionInfo ................................................................................................................................... 3
Id ............................................................................................................................................... 3
Ids .............................................................................................................................................. 3
Name ......................................................................................................................................... 4
SelectionType ............................................................................................................................. 4
ISelectionMgr ................................................................................................................................... 4
CurrentSelection ........................................................................................................................ 4
AddSelection(SelectionInfo) ....................................................................................................... 4
ClearSelection() .......................................................................................................................... 5
NewSelection(SelectionInfo) ....................................................................................................... 5
SelectionTypeEnum .......................................................................................................................... 5
Ansys.AAP.PublicAPIs.SimData Namespace ......................................................................................... 7
IPropertyCollection .......................................................................................................................... 7
AllDescendants .......................................................................................................................... 8
Count ......................................................................................................................................... 8
GetByNameDictionary ................................................................................................................ 8
Contains(ISimProperty) ............................................................................................................... 8
GetByName(string) ..................................................................................................................... 8
IPropertyContainer ........................................................................................................................... 9
Properties .................................................................................................................................. 9
ISimEntity ......................................................................................................................................... 9
Analysis .................................................................................................................................... 10
Caption .................................................................................................................................... 10
Extension ................................................................................................................................. 10
Icon .......................................................................................................................................... 10
Id ............................................................................................................................................. 10
Name ....................................................................................................................................... 10
State ........................................................................................................................................ 11
GetAttributeValue(string) .......................................................................................................... 11
GetAttributeValueAsString(string) ............................................................................................. 11
SetAttributeValue(string, object) ............................................................................................... 11
ISimLoad ........................................................................................................................................ 12
Color ........................................................................................................................................ 12
IsLoad ...................................................................................................................................... 12
IsSupport ................................................................................................................................. 12
Suppressed .............................................................................................................................. 12
ISimProperty .................................................................................................................................. 13
Caption .................................................................................................................................... 14
Control ..................................................................................................................................... 14
Controller ................................................................................................................................. 14
DefaultValue ............................................................................................................................. 14
Displayed ................................................................................................................................. 14
HasUnit .................................................................................................................................... 14
Id ............................................................................................................................................. 15
InternalValue ............................................................................................................................ 15
IsGroup .................................................................................................................................... 15
IsTable ...................................................................................................................................... 15
IsValid ...................................................................................................................................... 15
Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

iii

ANSYS Workbench Application Customization Toolkit
Name ....................................................................................................................................... 16
Options .................................................................................................................................... 16
ParentCaption .......................................................................................................................... 16
ParentPropertyGroup ............................................................................................................... 16
QuantityName .......................................................................................................................... 16
ReadOnly ................................................................................................................................. 16
UniqueName ............................................................................................................................ 17
UnitString ................................................................................................................................. 17
Value ........................................................................................................................................ 17
ValueString ............................................................................................................................... 17
Visible ...................................................................................................................................... 17
GetAttributeValue(string) .......................................................................................................... 17
GetAttributeValueAsString(string) ............................................................................................. 18
ISimPropertyGroup ......................................................................................................................... 18
Display ..................................................................................................................................... 18
ISimPropertyTable .......................................................................................................................... 18
ActiveRow ................................................................................................................................ 19
RowCount ................................................................................................................................ 19
UpdateStateFreq ...................................................................................................................... 19
ValidState ................................................................................................................................. 19
AddRow() ................................................................................................................................. 19
DeleteRow(int) ......................................................................................................................... 20
SaveActiveRow() ....................................................................................................................... 20
ISimResult ...................................................................................................................................... 20
CalculateTimeHistory ................................................................................................................ 20
Location ................................................................................................................................... 21
Suppressed .............................................................................................................................. 21
Type ......................................................................................................................................... 21
Unit .......................................................................................................................................... 21
ISimSolver ...................................................................................................................................... 21
AnalysisType ............................................................................................................................ 22
PhysicsType .............................................................................................................................. 22
LocationTypeEnum ......................................................................................................................... 22
ResultTypeEnum ............................................................................................................................. 22
UpdateStateFreqEnum ................................................................................................................... 23
ValidStateEnum .............................................................................................................................. 23
Ansys.AAP.PublicAPIs.Mesh Namespace ............................................................................................ 25
ElementTypeEnum ......................................................................................................................... 25
IElement ......................................................................................................................................... 26
Area ......................................................................................................................................... 26
Centroid ................................................................................................................................... 26
CornerNodeIds ......................................................................................................................... 26
Id ............................................................................................................................................. 27
NodeIds ................................................................................................................................... 27
Type ......................................................................................................................................... 27
Volume .................................................................................................................................... 27
IMeshData ...................................................................................................................................... 27
ElementCount .......................................................................................................................... 28
ElementIds ............................................................................................................................... 28
NodeCount ............................................................................................................................... 28
NodeIds ................................................................................................................................... 28
Unit .......................................................................................................................................... 29

iv

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

ANSYS Workbench Application Customization Toolkit
ElementById(int) ....................................................................................................................... 29
ElementIdsFromNodeIds(IEnumerable<int>) ............................................................................. 29
MeshRegionById(int) ................................................................................................................ 29
NodeById(int) ........................................................................................................................... 30
NodeIdsFromElementIds(IEnumerable<int>) ............................................................................. 30
IMeshRegion .................................................................................................................................. 30
ElementCount .......................................................................................................................... 31
ElementIds ............................................................................................................................... 31
NodeCount ............................................................................................................................... 31
NodeIds ................................................................................................................................... 31
INode ............................................................................................................................................. 31
ConnectedElementIds .............................................................................................................. 32
Id ............................................................................................................................................. 32
X .............................................................................................................................................. 32
Y .............................................................................................................................................. 32
Z .............................................................................................................................................. 32
Ansys.AAP.PublicAPIs Namespace ...................................................................................................... 33
GeoBodyTypeEnum ........................................................................................................................ 33
GeoCellTypeEnum .......................................................................................................................... 33
GeoCurveTypeEnum ....................................................................................................................... 34
GeoSurfaceTypeEnum .................................................................................................................... 34
IDataModel .................................................................................................................................... 35
AnalysisList ............................................................................................................................... 35
AnalysisNames ......................................................................................................................... 35
GeoData ................................................................................................................................... 36
MeshDataNames ...................................................................................................................... 36
AnalysisById(int) ....................................................................................................................... 36
AnalysisByName(string) ............................................................................................................ 36
CurrentConsistentUnitFromQuantityName(string) ..................................................................... 36
CurrentUnitFromQuantityName(string) ..................................................................................... 37
MeshDataByName(string) ......................................................................................................... 37
ILog ................................................................................................................................................ 37
LogFilename ............................................................................................................................ 38
ViewLog() ................................................................................................................................. 38
WriteError(string) ...................................................................................................................... 38
WriteMessage(string) ................................................................................................................ 38
Ansys.AAP.PublicAPIs.Geometry Namespace .................................................................................... 39
IGeoAssembly ................................................................................................................................ 39
Dimension ................................................................................................................................ 39
Name ....................................................................................................................................... 40
Parts ......................................................................................................................................... 40
Unit .......................................................................................................................................... 40
IGeoBody ....................................................................................................................................... 40
Area ......................................................................................................................................... 41
BodyType ................................................................................................................................. 41
CrossSection ............................................................................................................................ 41
CrossSectionOffset ................................................................................................................... 41
CrossSectionOffsetType ............................................................................................................ 41
Edges ....................................................................................................................................... 42
Faces ........................................................................................................................................ 42
Length ..................................................................................................................................... 42
Material .................................................................................................................................... 42
Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

v

ANSYS Workbench Application Customization Toolkit
Name ....................................................................................................................................... 42
Shells ....................................................................................................................................... 42
Suppressed .............................................................................................................................. 43
Thickness ................................................................................................................................. 43
Vertices .................................................................................................................................... 43
Volume .................................................................................................................................... 43
IGeoData ........................................................................................................................................ 43
Assemblies ............................................................................................................................... 44
GeoEntityById(int) .................................................................................................................... 44
IGeoEdge ....................................................................................................................................... 44
CrossSectionOrientation ........................................................................................................... 45
CurveType ................................................................................................................................ 45
EndVertex ................................................................................................................................. 45
Extents ..................................................................................................................................... 45
Faces ........................................................................................................................................ 46
IsParamReversed ...................................................................................................................... 46
Length ..................................................................................................................................... 46
StartVertex ............................................................................................................................... 46
Vertices .................................................................................................................................... 46
ParamAtPoint(double[]) ............................................................................................................ 46
PointAtParam(double) .............................................................................................................. 47
PointsAtParams(double[]) ......................................................................................................... 47
TangentAtParam(double) .......................................................................................................... 47
TangentsAtParams(double[]) ..................................................................................................... 47
IGeoEntity ...................................................................................................................................... 48
Id ............................................................................................................................................. 48
Type ......................................................................................................................................... 48
IGeoFace ........................................................................................................................................ 48
Area ......................................................................................................................................... 49
Body ........................................................................................................................................ 49
Edges ....................................................................................................................................... 49
Loops ....................................................................................................................................... 50
Shell ......................................................................................................................................... 50
SurfaceType ............................................................................................................................. 50
Vertices .................................................................................................................................... 50
NormalAtParam(double, double) ............................................................................................... 50
NormalsAtParams(double[]) ...................................................................................................... 51
ParamAtPoint(double[]) ............................................................................................................ 51
PointAtParam(double, double) .................................................................................................. 51
PointsAtParams(double[]) ......................................................................................................... 51
IGeoLoop ....................................................................................................................................... 52
Edges ....................................................................................................................................... 52
Face ......................................................................................................................................... 52
IGeoPart ......................................................................................................................................... 52
Bodies ...................................................................................................................................... 53
Name ....................................................................................................................................... 53
IGeoShell ........................................................................................................................................ 53
Faces ........................................................................................................................................ 53
IGeoTessellation ............................................................................................................................. 53
FacetCount ............................................................................................................................... 54
Indices ..................................................................................................................................... 54
Normals ................................................................................................................................... 54

vi

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

.............................................. 64 Name ........................................................................................................................................................................5 .................................................................................................................. 59 NodeValues(IEnumerable<int>......... 69 Solver ............................................................................................................................... 64 Matrix ........................................................... 60 ListTimeFreq ....................................................... 68 PhysicsType ................................................................................................. 57 IResult .................................................................................................... 55 Faces ....................................... 67 CoordinateSystems ...................Analysis Namespace .......................................................................................................................................................................................................................... 68 Name ........................................... 59 CurrentResultSet ........................................................................................................................................... 64 CoordinateSystemType ............................................................................................................................................. 68 PropertyNames .................................... 64 Id ......................................................................................................AAP........................................................................................................................................................................................................................................................................................................ 61 Ansys.............................................................................................© SAS IP......................................................................................................... 66 AnalysisType .......................................................................................................................... 58 ElementValues(IEnumerable<int>................................................................................................ 55 X ................................................................................... 68 MeshData ....... 60 ResultSetCount .................................................................................................... string) ... 67 Id ................................................................................................................................................................................................................... 64 Origin .............................................................................................. 61 ResultsName ................................................................................................................................................................................................................................................................ vii .......................... string) ..................................................................................................................... 69 Release 14......................................................................................... 63 CoordinateSystem ............................................................................... 54 Bodies ............................................................................................................................. 60 HasImaginaryResults .............................................................................................................................. 65 YAxis . 67 GeoData .............................................................................................................................................................................................................................................. 65 CoordinateSystemTypeEnum ....................... 65 IAnalysis ............................................................................. 63 CoordinateSystem(CoordinateSystemTypeEnum) .... 68 ResultsData ..................................................................................... 58 ElementValue(int......................PublicAPIs..................................................................................................... 54 IGeoVertex .... 57 Components ................................................................................................................................................................... 58 NodeValue(int..... 55 Edges ................................................................................................................................................................ 61 Result(string) .....................................................................................ANSYS Workbench Application Customization Toolkit Points ................................................................................................................................................................................... and its subsidiaries and affiliates. 68 ResultObjects .. Inc............................................................................. 67 Components .................................................... string) .................................................................................................................................... 65 XAxis ..................................... 65 ZAxis ...................... 55 Y ......................................................................................................... All rights reserved............................................... 67 LoadObjects ...................................... 57 Name .........................Results Namespace ...................................... 58 QuantityNames ................ 56 Ansys.......................................................................... 59 IResultReader ................................................................................................................................................................................................................................................................. .....................................................................................................................AAP.............. 60 CurrentTimeFreq ............................................................................... 56 Z .................................................................................. string) ................... Inc......................................................................................................... 58 Units ................................................................................................................................................PublicAPIs..................................................Contains proprietary and confidential information of ANSYS..............................................................................................................................................................................................................................................

81 SelectionMgr ..................... 73 IDataObjectCollection ............................................. 78 Name ................................................................© SAS IP.............................................................................................................................................................................................................................................................Contains proprietary and confidential information of ANSYS....................................................................................................................................................................................................................... object) ....................................................................................................................................................................................................................................................................... All rights reserved................................................................................................................................. 69 WorkingDir ................................................................................................................................................................................. 70 CreateResultObject(string) ....................................................... 81 UnlockPrePostLicense() .................................................................... 72 Id .........................................................................................................................................................................................................................................................5 .................................................................................................................................................................................................................................................................................................................................................................................................. 69 StepsEndTime ................................................ 72 Name .... 79 Version ........................................................................................................................AAP.................. 70 CurrentConsistentUnitFromQuantityName(string) ................................... 76 DataObjects ......................................................................................................................................................................................................................... 70 CreateLoadObject(string) .............................................................. 77 LogError(string) ............................................ 73 PropertyNames ............................. 74 Ids ........... 71 PropertyValue(string................................................................................................................. 75 GetByName(string) .......................... ................................................................................................................................................................................................................................................................. 79 ScriptEngine ...............ANSYS Workbench Application Customization Toolkit SolverName ..................... 69 CoordinateSystemById(int) ....PublicAPIs............................................................................................................................ 73 PropertyValue(string....................... 80 ExtensionMgr .............................................................................................................................. 71 WriteInputFile(string) ............................................................................................................................................................................................................................................ 81 ResultsData(string) ......................................................... ..................................................... 72 IDataObject .........................................................Extension Namespace ......................................................................... 74 GetById(int) .................................................................... 80 DataModel .......................................................... 77 LogWarning(string) .................................................................................... 71 PropertyValue(string) ......................................................................... 73 PropertyValue(string) ............................................................................. 77 IApplication ............................................................................ 79 Application ....................... 77 ScriptNames ........................................................................................................................................................................................ 78 ScriptByName(string) ...... 81 LockPrePostLicense() ........................................................................ object) ......................................................... 69 ComponentById(int) .......................................................................................................................................... 75 GetEnumerator() ...................................................................... 76 Ansys..... 80 Context ............................................... 74 Names ........................................................................ 79 IExtensionAPI ........................................................................................... 75 NamesByType(string) .................................................................. Inc.......................... and its subsidiaries and affiliates.............................................. 73 Type ........................................................................................................................................................... 80 Graphics ............................................................................................................................................................................................................................................................................................................................................................. 79 ScriptScope ........ 71 Solve(bool) ............................................... Inc.................................................................................................................... 75 IDataObjectContainer ......................................................................................................................................................................................................... 81 Log ............................................ 82 viii Release 14................................... 74 List ........................................................... 78 IExtension ....................................... 70 GenerateMesh() ....................................................................................................................................................................................................

.............................................................................................................................. and its subsidiaries and affiliates..................... .................................. double...............Contains proprietary and confidential information of ANSYS............................. IEnumerable<double>................................................... IEnumerable<int>.................................................................................. 87 Color ...... 88 LineWeight ............................................. IEnumerable<double>.................................................................................................................. ix ...........................................................................................................AAP.......... IEnumerable<int>) ........................................... 84 Visible ................. int) ....................................................................... 84 LineWeight ...........................................................ANSYS Workbench Application Customization Toolkit IExtensionMgr .... Inc............ double) ..................................... int) ...................................... int) .................................................. 83 Color .......... 84 Close() ........................................................................................................... 90 PixelToWorld(IEnumerable<int>) ........PublicAPIs......................... 85 DrawPolygon(IEnumerable<double>..................... 91 WorldToPixel(double......................................................................... 82 Ansys......................... int............................................................................. 88 MainWindow ............................................. 90 WorldToPixel(IEnumerable<double>) ..................................................................................................... 85 DrawPoints(IEnumerable<double>) .......................................................................... Inc........................................................................ 89 MoveTo2D(int................. 91 Release 14............................................................................................................................................................................. double............................................................................. 82 Extensions ...... 86 DrawShell(IEnumerable<double>..................................................................................................................................................... IEnumerable<double>) ...................................... 85 DrawCircle(IEnumerable<double>...... All rights reserved........................................................................................ IEnumerable<double>) ....................................................................... 82 CurrentExtension .... 86 DrawPolyline(IEnumerable<double>) .....................................................................................© SAS IP.......................................................................Graphics Namespace ....................... 85 DrawDisc(IEnumerable<double>............................................................ IEnumerable<double>) ...................................................................... IEnumerable<int>) ...................... 83 IDraw3DContext ... 89 DrawText2D(int...................... 88 MainHandle ... 89 CreateAndOpenDraw3DContext() .................................................................................................................. 84 DepthTest ............................. 84 Translucency .................................................................................................................................. 89 Translucency .................5 ................................................................................................................ 90 PixelToWorld(int.............................................................................................. 86 DrawShell(IEnumerable<double>...................... double........................................................... 87 IGraphics ................................................... string) ....................................................................................... 89 LineTo2D(int...............................................................................................................................................

x Release 14.5 . Inc. . . Inc. and its subsidiaries and affiliates.© SAS IP. All rights reserved.Contains proprietary and confidential information of ANSYS.

Part I: Namespaces .

.

AAP. Property SelectionType Gets or sets the selection type. Property Name Gets or sets the name of this ISelectionInfo object. Declaration Syntax public IList<int> Ids { set. Inc.PublicAPIs.Ansys. Property Ids Gets or sets selected IDs. . } Ids Gets or sets selected IDs.get. Inc. and its subsidiaries and affiliates.5 .© SAS IP.Selection Namespace Declaration Syntax namespace Ansys. All rights reserved. 3 . } Release 14.get. Id Gets or sets the ID of this ISelectionInfo object. Declaration Syntax public int Id { set.AAP.Selection Table 1: Members ISelectionInfo SelectionInfo class ISelectionMgr ISelectionMgr Interface SelectionTypeEnum SelectionTypeEnum enumerator ISelectionInfo SelectionInfo class Declaration Syntax public interface ISelectionInfo Table 2: Members Property Id Gets or sets the ID of this ISelectionInfo object.Contains proprietary and confidential information of ANSYS.PublicAPIs.

Declaration Syntax public string Name { set. Method ClearSelection() Clears the current selection. } AddSelection(SelectionInfo) Adds to the current selection from a SelectionInfo object. } SelectionType Gets or sets the selection type.Contains proprietary and confidential information of ANSYS.AAP.get. Inc. and its subsidiaries and affiliates.5 . Declaration Syntax public SelectionTypeEnum SelectionType { set. 4 Release 14.© SAS IP. CurrentSelection Returns the current SelectionInfo object. Method NewSelection(SelectionInfo) Creates a new selection from a SelectionInfo object. All rights reserved. .Selection Namespace Name Gets or sets the name of this ISelectionInfo object. } ISelectionMgr ISelectionMgr Interface Declaration Syntax public interface ISelectionMgr Table 3: Members Property CurrentSelection Returns the current SelectionInfo object. .get. Method AddSelection(SelectionInfo) Adds to the current selection from a SelectionInfo object.PublicAPIs. Declaration Syntax public SelectionInfo CurrentSelection { get.Ansys. Inc.

Member MeshNodes All selected items will be node IDs. All rights reserved. Inc. 5 .Contains proprietary and confidential information of ANSYS. Release 14. SelectionTypeEnum SelectionTypeEnum enumerator Declaration Syntax public enum SelectionTypeEnum Table 4: Members Member GeometryEntities All selected items will be IDs of geometry entities.5 . Declaration Syntax public void ClearSelection() NewSelection(SelectionInfo) Creates a new selection from a SelectionInfo object. and its subsidiaries and affiliates. ClearSelection() Clears the current selection. Declaration Syntax public void NewSelection(SelectionInfo info) Parameters info(SelectionInfo) The selection data as a SelectionInfo object.SelectionTypeEnum Declaration Syntax public void AddSelection(SelectionInfo info) Parameters info(SelectionInfo) The selection data as a SelectionInfo object.© SAS IP. Inc. .

and its subsidiaries and affiliates.© SAS IP.6 Release 14. .5 .Contains proprietary and confidential information of ANSYS. All rights reserved. . Inc. Inc.

Property GetByNameDictionary Returns a dictionary where the keys are the property names and value are the properties.AAP.Ansys. Inc. Inc. .PublicAPIs.Contains proprietary and confidential information of ANSYS.SimData Namespace Declaration Syntax namespace Ansys.© SAS IP. Release 14. Method Contains(ISimProperty) Checks if the collection contains the property. Method GetByName(string) Returns a ISimProperty object by its name. and its subsidiaries and affiliates.SimData Table 5: Members IPropertyCollection IPropertiesCollection Interface IPropertyContainer IPropertyContainer Interface ISimEntity IEntityObject Interface ISimLoad ILoadObject Interface ISimProperty The ISimProperty Interface ISimPropertyGroup ISimPropertyGroup Interface ISimPropertyTable ISimPropertyTable Interface ISimResult IResultObject Interface ISimSolver ISimSolver Interface LocationTypeEnum Enumeration to specify result location types ResultTypeEnum Enumeration to specify result value types UpdateStateFreqEnum Enumeration to specify update state frequency types ValidStateEnum Enumeration to specify valid states IPropertyCollection IPropertiesCollection Interface Declaration Syntax public interface IPropertyCollection Table 6: Members Property AllDescendants Returns all properties of this collection and all sub collections. All rights reserved. Property Count Returns the number of properties in the collection.AAP. 7 .5 .PublicAPIs.

All rights reserved.SimData Namespace AllDescendants Returns all properties of this collection and all sub collections.5 . ISimProperty> GetByNameDictionary { get. and its subsidiaries and affiliates.© SAS IP. . Inc. Declaration Syntax public Dictionary<string. } GetByNameDictionary Returns a dictionary where the keys are the property names and value are the properties.AAP.Ansys. Declaration Syntax public ISimProperty GetByName(string name) 8 Release 14. . GetByName(string) Returns a ISimProperty object by its name. Declaration Syntax public bool Contains(ISimProperty property) Parameters property(ISimProperty) The property. } Contains(ISimProperty) Checks if the collection contains the property. Inc.PublicAPIs. Declaration Syntax public int Count { get. } Count Returns the number of properties in the collection.Contains proprietary and confidential information of ANSYS. Declaration Syntax public List<ISimProperty> AllDescendants { get.

object) Sets an attribute value by its name. Method GetAttributeValueAsString(string) Gets an attribute value by its name.Contains proprietary and confidential information of ANSYS. .5 . Properties Returns the IPropertyCollection object. Property Id Returns the ID of this entity object. Property State Returns the internal state of this entity.© SAS IP. Method GetAttributeValue(string) Gets an attribute value by its name. Property Name Returns the internal name of this entity. 9 .ISimEntity Parameters name(string) The name. and its subsidiaries and affiliates. Declaration Syntax public IPropertyCollection Properties { get. Property Caption Returns the caption of this entity. Release 14. Property Icon Return the icon name of this entity. Method SetAttributeValue(string. Inc. Property Extension Returns the associated IExtension object. All rights reserved. IPropertyContainer IPropertyContainer Interface Declaration Syntax public interface IPropertyContainer Table 7: Members Property Properties Returns the IPropertyCollection object. } ISimEntity IEntityObject Interface Declaration Syntax public interface ISimEntity Table 8: Members Property Analysis Returns the associated IAnalysis object. Inc.

Declaration Syntax public string Icon { get.© SAS IP. Inc. Declaration Syntax public IExtension Extension { get. and its subsidiaries and affiliates.AAP. } Caption Returns the caption of this entity. Inc.5 . Declaration Syntax public string Caption { get. } Extension Returns the associated IExtension object. Declaration Syntax public string Name { get. All rights reserved.Contains proprietary and confidential information of ANSYS. } Icon Return the icon name of this entity.PublicAPIs. Declaration Syntax public int Id { get. . Declaration Syntax public IAnalysis Analysis { get. } Name Returns the internal name of this entity. } 10 Release 14. } Id Returns the ID of this entity object.Ansys.SimData Namespace Analysis Returns the associated IAnalysis object. .

} GetAttributeValue(string) Gets an attribute value by its name. Declaration Syntax public object GetAttributeValue(string attrName) Parameters attrName(string) The name of the attribute. . attrValue(object) The attribute value. Declaration Syntax public string State { get. Inc.Contains proprietary and confidential information of ANSYS.ISimEntity State Returns the internal state of this entity. Release 14. All rights reserved. 11 . Declaration Syntax public string GetAttributeValueAsString(string attrName) Parameters attrName(string) The name of the attribute. GetAttributeValueAsString(string) Gets an attribute value by its name.5 . object attrValue) Parameters attrName(string) The name of the attribute. object) Sets an attribute value by its name.© SAS IP. Inc. and its subsidiaries and affiliates. SetAttributeValue(string. Declaration Syntax public void SetAttributeValue(string attrName.

Ansys. } Suppressed Gets or Sets the suppression state of this load in the associated analysis. Declaration Syntax public bool IsLoad { get. Color Returns the color associated with this entity. Inc. } IsSupport Returns true if this load / boundary condition is acting as a "support" for the associated analysis.© SAS IP.5 . 12 Release 14. Declaration Syntax public int Color { get.AAP. } IsLoad Returns true if this load / boundary condition is acting as a "load" for the associated analysis. Property Suppressed Gets or Sets the suppression state of this load in the associated analysis.SimData Namespace ISimLoad ILoadObject Interface Declaration Syntax public interface ISimLoad Table 9: Members Property Color Returns the color associated with this entity. . and its subsidiaries and affiliates.PublicAPIs. Inc. .Contains proprietary and confidential information of ANSYS. Declaration Syntax public bool IsSupport { get. All rights reserved. This color is used by default to display the scoping region. This color is used by default to display the scoping region. Property IsLoad Returns true if this load / boundary condition is acting as a "load" for the associated analysis. Property IsSupport Returns true if this load / boundary condition is acting as a "support" for the associated analysis.

Inc. The InternalValue accessors do not invoke the getvalue callback. } ISimProperty The ISimProperty Interface Declaration Syntax public interface ISimProperty Table 10: Members Property Caption Returns the current caption of the property. Property Id Gets the ID of the property. . Property UniqueName Get or sets a unique name for this property.get. Property HasUnit Returns true if the property has units. Property Value Gets or sets the value for this property. Property UnitString Gets the unit string for this property.ISimProperty Declaration Syntax public bool Suppressed { set. Inc. Property DefaultValue Gets or sets the default value. Property ParentCaption Returns the parent caption of the property. All rights reserved. Property Visible Gets or sets the visibility state of the property.5 . Property Options Gets or sets the options list for the select control.Contains proprietary and confidential information of ANSYS. Property Displayed Returns true if the property is displayed. Property Name Returns the name of the property. Property Controller Returns the python object which was instantiated with the class tag in the XML. Property ParentPropertyGroup Returns the parent PropertyGroup.© SAS IP. 13 . Property ReadOnly Gets or sets the editable state of the property. Property InternalValue Gets or sets the internal value of the property. Property ValueString Gets or sets the value string for this property. Release 14. Property IsValid Returns true if the property is valid. Property QuantityName Returns the quantity name for this property. and its subsidiaries and affiliates. Property IsTable Returns true if the property is an instance of SimPropertyTable. Property IsGroup Returns true if the property is an instance of SimPropertyGroup. Method GetAttributeValue(string) Gets an attribute value by its name. Property Control Returns the control type of the property.

and its subsidiaries and affiliates. } Displayed Returns true if the property is displayed. } Control Returns the control type of the property.SimData Namespace Method GetAttributeValueAsString(string) Gets an attribute value by its name. .Ansys. Inc.AAP. Declaration Syntax public object DefaultValue { set. Inc. . Declaration Syntax public object Controller { get. All rights reserved. Declaration Syntax public string Control { get.© SAS IP. } DefaultValue Gets or sets the default value.5 .PublicAPIs. Caption Returns the current caption of the property.Contains proprietary and confidential information of ANSYS. Declaration Syntax public string Caption { set. 14 Release 14. } HasUnit Returns true if the property has units. Declaration Syntax public bool Displayed { get.get.get. } Controller Returns the python object which was instantiated with the class tag in the XML.

© SAS IP. Declaration Syntax public bool IsValid { get. Inc.Contains proprietary and confidential information of ANSYS. } IsGroup Returns true if the property is an instance of SimPropertyGroup. Declaration Syntax public bool IsGroup { get. Declaration Syntax public bool IsTable { get. } IsValid Returns true if the property is valid. . 15 . } InternalValue Gets or sets the internal value of the property. Declaration Syntax public object InternalValue { set.5 . The InternalValue accessors do not invoke the getvalue callback. and its subsidiaries and affiliates.get. } Id Gets the ID of the property. All rights reserved. Declaration Syntax public int Id { get. Inc. } Release 14. } IsTable Returns true if the property is an instance of SimPropertyTable.ISimProperty Declaration Syntax public bool HasUnit { get.

and its subsidiaries and affiliates.AAP. Inc. Declaration Syntax public string ParentCaption { get. } Options Gets or sets the options list for the select control. Inc. All rights reserved.Contains proprietary and confidential information of ANSYS. Declaration Syntax public List<string> Options { set. Declaration Syntax public string Name { get. Declaration Syntax public string QuantityName { get. } ParentCaption Returns the parent caption of the property.SimData Namespace Name Returns the name of the property.get.get. } ParentPropertyGroup Returns the parent PropertyGroup.5 . . } ReadOnly Gets or sets the editable state of the property.Ansys. Declaration Syntax public ISimPropertyGroup ParentPropertyGroup { get.PublicAPIs. } 16 Release 14. } QuantityName Returns the quantity name for this property.© SAS IP. Declaration Syntax public bool ReadOnly { set. .

Declaration Syntax public string UniqueName { set. and its subsidiaries and affiliates. .get.ISimProperty UniqueName Get or sets a unique name for this property. Declaration Syntax public object Value { set.© SAS IP. Declaration Syntax public string ValueString { set. Declaration Syntax public object GetAttributeValue(string attrName) Release 14. } ValueString Gets or sets the value string for this property.get.Contains proprietary and confidential information of ANSYS. } GetAttributeValue(string) Gets an attribute value by its name. } UnitString Gets the unit string for this property. Inc.5 . 17 . Declaration Syntax public string UnitString { get. } Visible Gets or sets the visibility state of the property. } Value Gets or sets the value for this property. All rights reserved. Inc.get. Declaration Syntax public bool Visible { set.get.

SimData Namespace Parameters attrName(string) The name of the attribute.AAP.5 .Ansys. Display Returns the display type of the property.© SAS IP. All rights reserved. Declaration Syntax public string Display { get. Inc. and its subsidiaries and affiliates. ISimPropertyGroup ISimPropertyGroup Interface Declaration Syntax public interface ISimPropertyGroup Table 11: Members Property Display Returns the display type of the property. Release 14. .Contains proprietary and confidential information of ANSYS. Inc.PublicAPIs. GetAttributeValueAsString(string) Gets an attribute value by its name. . } ISimPropertyTable ISimPropertyTable Interface Declaration Syntax public interface ISimPropertyTable Table 12: Members Property 18 ActiveRow Gets or sets the active row. Declaration Syntax public string GetAttributeValueAsString(string attrName) Parameters attrName(string) The name of the attribute.

5 . } AddRow() Add a new row. Method SaveActiveRow() Saves the data associated with the active row. and its subsidiaries and affiliates. } RowCount Returns the row count. Declaration Syntax public int RowCount { get. Property UpdateStateFreq Gets or sets the frequency of update state.get. Property ValidState Gets or sets the valid state. Method DeleteRow(int) Deletes a row by its index. All rights reserved. 19 .get. } UpdateStateFreq Gets or sets the frequency of update state. Declaration Syntax public void AddRow() Release 14. Declaration Syntax public int ActiveRow { set. } ValidState Gets or sets the valid state. Inc. Declaration Syntax public ValidStateEnum ValidState { set.ISimPropertyTable Property RowCount Returns the row count. ActiveRow Gets or sets the active row. Inc. .get. Declaration Syntax public UpdateStateFreqEnum UpdateStateFreq { set.© SAS IP.Contains proprietary and confidential information of ANSYS. Method AddRow() Add a new row.

CalculateTimeHistory Flag to determine if the time history is to be computed (false by default). Declaration Syntax public bool CalculateTimeHistory { set. Inc.5 .Ansys.© SAS IP.get. Property Suppressed Gets or sets the suppression state of this result in the associated analysis. Property Unit Returns the unit. SaveActiveRow() Saves the data associated with the active row. } 20 Release 14. and its subsidiaries and affiliates. Inc.AAP. .Contains proprietary and confidential information of ANSYS. All rights reserved. Property Type Returns the type. Declaration Syntax public void DeleteRow(int index) Parameters index(int) Index of the row (0 for first row).PublicAPIs. Declaration Syntax public void SaveActiveRow() ISimResult IResultObject Interface Declaration Syntax public interface ISimResult Table 13: Members Property CalculateTimeHistory Flag to determine if the time history is to be computed (false by default).SimData Namespace DeleteRow(int) Deletes a row by its index. . Property Location Returns the location.

Inc.ISimSolver Location Returns the location. Property PhysicsType Returns the physics type string.© SAS IP. 21 . } Unit Returns the unit. Inc. Release 14. Declaration Syntax public ResultType Type { get. Declaration Syntax public bool Suppressed { set. and its subsidiaries and affiliates.Contains proprietary and confidential information of ANSYS. Declaration Syntax public LocationType Location { get. } ISimSolver ISimSolver Interface Declaration Syntax public interface ISimSolver Table 14: Members Property AnalysisType Returns the analysis type string. Declaration Syntax public string Unit { get. } Type Returns the type. } Suppressed Gets or sets the suppression state of this result in the associated analysis.get. All rights reserved. .5 .

5 .AAP. and its subsidiaries and affiliates. Member AAP_Vector Enum value of ResultType Vector. Member AAP_Node Enum value of LocationType Node.SimData Namespace AnalysisType Returns the analysis type string. Member AAP_Tensor Enum value of ResultType Tensor. Inc. All rights reserved.PublicAPIs. ResultTypeEnum Enumeration to specify result value types Declaration Syntax public enum ResultTypeEnum Table 16: Members Member AAP_Scalar Enum value of ResultType Scalar. } LocationTypeEnum Enumeration to specify result location types Declaration Syntax public enum LocationTypeEnum Table 15: Members Member AAP_Element Enum value of LocationType Element. } PhysicsType Returns the physics type string. 22 Release 14. .Contains proprietary and confidential information of ANSYS. Declaration Syntax public string AnalysisType { get. Inc.© SAS IP.Ansys. . Member AAP_ElemNode Enum value of LocationType ElemNode. Declaration Syntax public string PhysicsType { get.

ValidStateEnum Enumeration to specify valid states Declaration Syntax public enum ValidStateEnum Table 18: Members Member StateInvalid The property is not valid. 23 .ValidStateEnum UpdateStateFreqEnum Enumeration to specify update state frequency types Declaration Syntax public enum UpdateStateFreqEnum Table 17: Members Member UpdateEachTime The valid state will be computed each time.5 .© SAS IP. Inc. Member StateValid The property is valid. Inc. Release 14. All rights reserved. Member StateUnknown The valid state is unknown.Contains proprietary and confidential information of ANSYS. . Member UpdateOnApply The valid state will be computed only when values change. and its subsidiaries and affiliates.

24 Release 14. . and its subsidiaries and affiliates. Inc.Contains proprietary and confidential information of ANSYS. .© SAS IP. Inc.5 . All rights reserved.

Member kPyramid13 Thirteen Node Pyramid.PublicAPIs.AAP. Member kPyramid5 Five Node Pyramid. Member kBeam4 Four Node Beam. . Member kLine2 Two Node Line.© SAS IP. 25 . and its subsidiaries and affiliates.Mesh Namespace Declaration Syntax namespace Ansys.5 . Member kQuad4 Four Node Quadrilateral. Member kTet4 Four Node Tetrahedron. Member kLine3 Three Node Line.Mesh Table 19: Members ElementTypeEnum Enumeration to specify Element Type Values IElement IElement Interface IMeshData IMeshData Interface IMeshRegion IMeshRegion Interface INode INode Interface ElementTypeEnum Enumeration to specify Element Type Values Declaration Syntax public enum ElementTypeEnum Table 20: Members Member kBeam3 Three Node Beam.AAP.Ansys. Member kPoint0 Point. All rights reserved. Inc.PublicAPIs. Member kTet10 Ten Node Tetrahedron. Member kHex8 Eight Node Hexahedron. Member kTri3 Three Node Triangle. Member kHex20 Twenty Node Hexahedron. Release 14.Contains proprietary and confidential information of ANSYS. Inc. Member kQuad8 Eight Node Quadrilateral.

} CornerNodeIds Returns a list of the corner node IDs for this element. Member kWedge15 Fifteen Node Wedge. Property Volume Returns the volume of this element. Property Id Returns the ID for this element. Property Type Returns the ElementTypeEnum for this element.PublicAPIs.Mesh Namespace Member kTri6 Six Node Triangle. Inc. Inc. } Centroid Returns the centroid of this element. Member kWedge6 Six Node Wedge. Area Returns the area of this element. 26 Release 14.5 . . Member kUnknown Unknown. Property CornerNodeIds Returns a list of the corner node IDs for this element.AAP. Property Centroid Returns the centroid of this element. All rights reserved. Property NodeIds Returns a list of the node IDs for this element.Ansys.Contains proprietary and confidential information of ANSYS. and its subsidiaries and affiliates. . Declaration Syntax public double Area { get. Declaration Syntax public double[] Centroid { get.© SAS IP. IElement IElement Interface Declaration Syntax public interface IElement Table 21: Members Property Area Returns the area of this element.

} Id Returns the ID for this element.5 . All rights reserved. } NodeIds Returns a list of the node IDs for this element. and its subsidiaries and affiliates. . Release 14. Declaration Syntax public double Volume { get. } Type Returns the ElementTypeEnum for this element.IMeshData Declaration Syntax public IList<int> CornerNodeIds { get. Inc. Inc.Contains proprietary and confidential information of ANSYS. Declaration Syntax public ElementTypeEnum Type { get. } IMeshData IMeshData Interface Declaration Syntax public interface IMeshData Table 22: Members Property ElementCount Returns the number of elements that this MeshData object contains. 27 . Declaration Syntax public IList<int> NodeIds { get.© SAS IP. } Volume Returns the volume of this element. Declaration Syntax public int Id { get.

Inc. Method NodeById(int) Returns the INode object for the specified node ID. Property NodeIds Returns a list of the node IDs that this MeshData object contains. Property Unit Returns the units for this MeshData object. .Contains proprietary and confidential information of ANSYS.© SAS IP.5 .PublicAPIs. All rights reserved. Declaration Syntax public int ElementCount { get. Declaration Syntax public int NodeCount { get. ElementCount Returns the number of elements that this MeshData object contains. Declaration Syntax public IList<int> ElementIds { get. } NodeIds Returns a list of the node IDs that this MeshData object contains. and its subsidiaries and affiliates. } ElementIds Returns a list of the elements IDs that this MeshData object contains. 28 Release 14. Method MeshRegionById(int) Returns the IMeshRegion object for the specified reference ID.AAP. Property NodeCount Returns the number of nodes that this MeshData object contains. Method ElementIdsFromNodeIds(IEnumer. . Method NodeIdsFromElementIds(IEnumer.Returns a list of node IDs associated with a list able<int>) of element IDs. Inc.Returns a list of element IDs associated with a able<int>) list of node IDs. } NodeCount Returns the number of nodes that this MeshData object contains.Ansys. Method ElementById(int) Returns the IElement object for the specified element ID.Mesh Namespace Property ElementIds Returns a list of the elements IDs that this MeshData object contains.

Declaration Syntax public IList<int> ElementIdsFromNodeIds(IEnumerable<int> nodes) Parameters nodes(IEnumerable<int>) A list of node IDs.Contains proprietary and confidential information of ANSYS. Inc. ElementIdsFromNodeIds(IEnumerable<int>) Returns a list of element IDs associated with a list of node IDs. Inc. } ElementById(int) Returns the IElement object for the specified element ID. 29 . Declaration Syntax public string Unit { get. and its subsidiaries and affiliates. } Unit Returns the units for this MeshData object. Declaration Syntax public IElement ElementById(int elementId) Parameters elementId(int) An element ID.© SAS IP. .5 . All rights reserved.IMeshData Declaration Syntax public IList<int> NodeIds { get. Declaration Syntax public IMeshRegion MeshRegionById(int refId) Release 14. MeshRegionById(int) Returns the IMeshRegion object for the specified reference ID.

© SAS IP. .Ansys. . and its subsidiaries and affiliates. NodeById(int) Returns the INode object for the specified node ID. Property ElementIds Returns a list of the element IDs that this MeshRegion object contains.Mesh Namespace Parameters refId(int) Reference ID. Inc. IMeshRegion IMeshRegion Interface Declaration Syntax public interface IMeshRegion Table 23: Members Property ElementCount Returns the number of elements that this MeshRegion object contains. Declaration Syntax public IList<int> NodeIdsFromElementIds(IEnumerable<int> elements) Parameters elements(IEnumerable<int>) A list of element IDs. Declaration Syntax public INode NodeById(int nodeId) Parameters nodeId(int) A node ID.PublicAPIs. All rights reserved. Inc. NodeIdsFromElementIds(IEnumerable<int>) Returns a list of node IDs associated with a list of element IDs. Property NodeCount Returns the number of nodes that this MeshRegion object contains.AAP.Contains proprietary and confidential information of ANSYS. Property NodeIds Returns a list of the node IDs that this MeshRegion object contains.5 . 30 Release 14.

All rights reserved. Property Y Returns the global Y coordinate of this node. Inc. and its subsidiaries and affiliates. Inc. } ElementIds Returns a list of the element IDs that this MeshRegion object contains.5 . Declaration Syntax public int NodeCount { get. Declaration Syntax public int ElementCount { get. Release 14. Declaration Syntax public IList<int> NodeIds { get. 31 .© SAS IP. } INode INode Interface Declaration Syntax public interface INode Table 24: Members Property ConnectedElementIds Returns a list of the element IDs that share this node. Property X Returns the global X coordinate of this node. Property Id Returns the ID of this node. Declaration Syntax public IList<int> ElementIds { get. } NodeIds Returns a list of the node IDs that this MeshRegion object contains.INode ElementCount Returns the number of elements that this MeshRegion object contains.Contains proprietary and confidential information of ANSYS. } NodeCount Returns the number of nodes that this MeshRegion object contains. Property Z Returns the global Z coordinate of this node. .

Ansys. Declaration Syntax public double X { get. . } Z Returns the global Z coordinate of this node. All rights reserved. } X Returns the global X coordinate of this node.AAP. Declaration Syntax public double Y { get.PublicAPIs. Declaration Syntax public double Z { get. } Id Returns the ID of this node.Contains proprietary and confidential information of ANSYS. Inc.Mesh Namespace ConnectedElementIds Returns a list of the element IDs that share this node. . Inc. } Y Returns the global Y coordinate of this node. and its subsidiaries and affiliates.5 . Declaration Syntax public IList<int> ConnectedElementIds { get. Declaration Syntax public int Id { get.© SAS IP. } 32 Release 14.

© SAS IP.PublicAPIs Namespace Declaration Syntax namespace Ansys. Member GeoEdge Edge.5 .AAP. GeoCellTypeEnum Enumeration to specify Cell Type Values Declaration Syntax public enum GeoCellTypeEnum Table 27: Members Member GeoBody Volume. Release 14. Member GeoBodySolid Solid. and its subsidiaries and affiliates.Contains proprietary and confidential information of ANSYS.Ansys. Member GeoBodyUnknown Unknown type. Member GeoBodyWire Wire.PublicAPIs Table 25: Members GeoBodyTypeEnum Enumeration to specify Body Type Values GeoCellTypeEnum Enumeration to specify Cell Type Values GeoCurveTypeEnum Enumeration to specify Curve Type Values GeoSurfaceTypeEnum Enumeration to specify Surface Type Values IDataModel IDataModel Interface ILog ILog Interface GeoBodyTypeEnum Enumeration to specify Body Type Values Declaration Syntax public enum GeoBodyTypeEnum Table 26: Members Member GeoBodySheet Sheet. . Inc. 33 .AAP. Inc. All rights reserved.

Member GeoSurfaceEllipticalCone Elliptical Cone. Member GeoCurveUnknown Unknown type. Member GeoSurfaceCylinder Cylinder. Member GeoSurfaceEllipticalCylinder Elliptical Cylinder. Inc.© SAS IP. Member GeoCurveCircle Circle. Member GeoCurveLineSegment Line Segment. and its subsidiaries and affiliates. Member GeoSurfaceNoGeometry No Geometry. Member GeoSurfaceSphere Sphere.PublicAPIs Namespace Member GeoFace Face.5 . Member GeoCurveFaceted Faceted Curve. Member GeoCurveNoGeometry No Geometry. Member GeoSurfaceFaceted Faceted. Member GeoCurveLine Line. Inc.Ansys. Member GeoVertex Vertex. Member GeoCurveCircularArc Circular Arc. Member GeoUnknown Unknown type.AAP. 34 Release 14. Member GeoSurfaceCone Cone. Member GeoCurveEllipseFull Full Ellipse. All rights reserved. . .Contains proprietary and confidential information of ANSYS. GeoCurveTypeEnum Enumeration to specify Curve Type Values Declaration Syntax public enum GeoCurveTypeEnum Table 28: Members Member GeoCurveBSpline BSpline. GeoSurfaceTypeEnum Enumeration to specify Surface Type Values Declaration Syntax public enum GeoSurfaceTypeEnum Table 29: Members Member GeoSurfaceBSpline BSpline. Member GeoCurveEllipticalArc Elliptical Arc. Member GeoSurfacePlane Plane.

IDataModel IDataModel Interface Declaration Syntax public interface IDataModel Table 30: Members Property AnalysisList Returns a list of available IAnalysis objects. Method AnalysisById(int) Returns an IAnalysis object by its Id. Property GeoData Returns an IGeoData object containing all geometry assemblies. Inc. Property AnalysisNames Returns the list of available analysis names.IDataModel Member GeoSurfaceTorus Torus.5 . Inc. AnalysisList Returns a list of available IAnalysis objects. } AnalysisNames Returns the list of available analysis names. Method MeshDataByName(string) Returns a meshdata object by its name. Declaration Syntax public IList<string> AnalysisNames { get. } Release 14.© SAS IP. All rights reserved. Member GeoSurfaceUnknown Unknown type. 35 . Method CurrentConsistentUnitFromQuantityName(string) Returns the current consistent unit from a quantity name.Contains proprietary and confidential information of ANSYS. . Declaration Syntax public IList<IAnalysis> AnalysisList { get. Method CurrentUnitFromQuantityName(string) Returns the current unit from a quantity name. Property MeshDataNames Returns the list of names for all available meshes on the model. and its subsidiaries and affiliates. Method AnalysisByName(string) Returns an IAnalysis object by its name.

Inc.Ansys. Declaration Syntax public IAnalysis AnalysisByName(string name) Parameters name(string) The name of the analysis.Contains proprietary and confidential information of ANSYS. Declaration Syntax public IAnalysis AnalysisById(int id) Parameters id(int) The Id of the analysis. and its subsidiaries and affiliates. } AnalysisById(int) Returns an IAnalysis object by its Id. 36 Release 14. AnalysisByName(string) Returns an IAnalysis object by its name.AAP. . All rights reserved. Inc.5 . } MeshDataNames Returns the list of names for all available meshes on the model. Declaration Syntax public IList<string> MeshDataNames { get.© SAS IP. CurrentConsistentUnitFromQuantityName(string) Returns the current consistent unit from a quantity name.PublicAPIs Namespace GeoData Returns an IGeoData object containing all geometry assemblies. Declaration Syntax public IGeoData GeoData { get. .

MeshDataByName(string) Returns a meshdata object by its name.Contains proprietary and confidential information of ANSYS. Method WriteMessage(string) Adds a message string entry into the log. . Inc. Release 14.© SAS IP. Method ViewLog() Displays the log file. Declaration Syntax public IMeshData MeshDataByName(string name) Parameters name(string) The name of the mesh.ILog Declaration Syntax public string CurrentConsistentUnitFromQuantityName(string qname) Parameters qname(string) The quantity name to query. All rights reserved.5 . Method WriteError(string) Adds an error string entry into the log. CurrentUnitFromQuantityName(string) Returns the current unit from a quantity name. Declaration Syntax public string CurrentUnitFromQuantityName(string qname) Parameters qname(string) The quantity name to query. and its subsidiaries and affiliates. 37 . ILog ILog Interface Declaration Syntax public interface ILog Table 31: Members Property LogFilename Returns the name of the log file. Inc.

Ansys. 38 Release 14. } ViewLog() Displays the log file.Contains proprietary and confidential information of ANSYS. All rights reserved. Declaration Syntax public string LogFilename { get.© SAS IP. . Declaration Syntax public void ViewLog() WriteError(string) Adds an error string entry into the log.PublicAPIs Namespace LogFilename Returns the name of the log file. Inc. Declaration Syntax public void WriteError(string message) Parameters message(string) The error to be added. Inc.AAP. . WriteMessage(string) Adds a message string entry into the log.5 . and its subsidiaries and affiliates. Declaration Syntax public void WriteMessage(string message) Parameters message(string) The message to be added.

Dimension Returns 2 for 2D geometry and 3 for 3D geometry. . 39 . Property Name Returns the name of this assembly.Geometry Table 32: Members IGeoAssembly Geometry Assembly Interface IGeoBody Geometry Body Interface IGeoData IGeoData Interface IGeoEdge Geometry Edge Interface IGeoEntity Geometry Entity Interface IGeoFace Geometry Face Interface IGeoLoop Geometry Loop Interface IGeoPart Geometry Part Interface IGeoShell Geometry Shell Interface IGeoTessellation Geometry Tessellation Interface IGeoVertex Geometry Vertex Interface IGeoAssembly Geometry Assembly Interface Declaration Syntax public interface IGeoAssembly Table 33: Members Property Dimension Returns 2 for 2D geometry and 3 for 3D geometry.PublicAPIs. Inc.© SAS IP. and its subsidiaries and affiliates.Geometry Namespace Declaration Syntax namespace Ansys. All rights reserved. Inc.5 .Ansys.AAP. Property Parts Returns a list of the IGeoPart objects for this assembly.AAP.PublicAPIs. Release 14. Property Unit Returns the unit string for this assembly.Contains proprietary and confidential information of ANSYS.

and its subsidiaries and affiliates.PublicAPIs. Property CrossSection Returns the beam cross section associated with this body. } Unit Returns the unit string for this assembly. Inc. } Parts Returns a list of the IGeoPart objects for this assembly.Geometry Namespace Declaration Syntax public int Dimension { get. 40 Release 14. Declaration Syntax public string Unit { get.© SAS IP.5 .AAP. Declaration Syntax public IList<IGeoPart> Parts { get. Property BodyType Returns the body type (wire. } Name Returns the name of this assembly. Property CrossSectionOffsetType Gets or sets the beam cross section offset type for this body. Property Edges Returns a list of the IGeoEdge objects for this body. . Inc. All rights reserved. sheet or solid).Contains proprietary and confidential information of ANSYS. } IGeoBody Geometry Body Interface Declaration Syntax public interface IGeoBody Table 34: Members Property Area Returns the area of the body. Property Faces Returns a list of the IGeoFace objects for this body. Property CrossSectionOffset Gets or sets the beam cross section offset for this body. Declaration Syntax public string Name { get. .Ansys.

and its subsidiaries and affiliates. Property Volume Returns the volume of the body.© SAS IP. } BodyType Returns the body type (wire. Declaration Syntax public GeoBodyTypeEnum BodyType { get. Release 14. Property Shells Returns a list of the IGeoShell objects for this body. Area Returns the area of the body. } CrossSectionOffsetType Gets or sets the beam cross section offset type for this body.5 . Declaration Syntax public double Area { get. Property Thickness Returns the thickness of the body. Inc. sheet or solid).get. Property Material Returns the Material object associated with this body.get. Inc. Property Suppressed Returns true if the body is suppressed. } CrossSectionOffset Gets or sets the beam cross section offset for this body.IGeoBody Property Length Returns the length of the body. } CrossSection Returns the beam cross section associated with this body. . Property Name Returns the name of this body.Contains proprietary and confidential information of ANSYS. Declaration Syntax public object CrossSection { set. Property Vertices Returns a list of the IGeoVertex objects for this body. 41 . All rights reserved. Declaration Syntax public IEnumerable<double> CrossSectionOffset { set.

Inc.Ansys.5 . and its subsidiaries and affiliates. } Edges Returns a list of the IGeoEdge objects for this body.Geometry Namespace Declaration Syntax public string CrossSectionOffsetType { set. } Name Returns the name of this body.get. } Length Returns the length of the body. } Material Returns the Material object associated with this body. All rights reserved. } Faces Returns a list of the IGeoFace objects for this body. Declaration Syntax public IList<IGeoEdge> Edges { get.© SAS IP. } Shells Returns a list of the IGeoShell objects for this body.PublicAPIs. Declaration Syntax public IList<IGeoFace> Faces { get. . Declaration Syntax public string Name { get.AAP.Contains proprietary and confidential information of ANSYS. Declaration Syntax public object Material { get. 42 Release 14. Declaration Syntax public double Length { get. Inc. .

IGeoData Declaration Syntax public IList<IGeoShell> Shells { get. Inc. } Thickness Returns the thickness of the body. } Volume Returns the volume of the body. Declaration Syntax public IList<IGeoVertex> Vertices { get. All rights reserved. Declaration Syntax public bool Suppressed { get.get.5 . Declaration Syntax public double Thickness { set.© SAS IP.Contains proprietary and confidential information of ANSYS. and its subsidiaries and affiliates. Release 14. . } Suppressed Returns true if the body is suppressed. Inc. Declaration Syntax public double Volume { get. } IGeoData IGeoData Interface Declaration Syntax public interface IGeoData Table 35: Members Property Assemblies Returns the list of available IGeoAssembly objects. 43 . } Vertices Returns a list of the IGeoVertex objects for this body.

Property EndVertex Returns the ending IGeoVertex object for this edge. Property IsParamReversed Returns ParamReversed state for this edge (true or false).Contains proprietary and confidential information of ANSYS. max].5 . Declaration Syntax public IGeoEntity GeoEntityById(int refId) Parameters refId(int) The reference ID of the desired IGeoEntity object.Geometry Namespace Method GeoEntityById(int) Returns a IGeoEntity object by its reference ID. . All rights reserved. IGeoEdge Geometry Edge Interface Declaration Syntax public interface IGeoEdge Table 36: Members Property CrossSectionOrientation Returns a CoordinateSystem object that defines the edge cross section orientation.PublicAPIs.AAP. Property CurveType Returns the eGeoCurveType of this edge. . Inc.Ansys. } GeoEntityById(int) Returns a IGeoEntity object by its reference ID. Assemblies Returns the list of available IGeoAssembly objects. Declaration Syntax public IList<IGeoAssembly> Assemblies { get. Property Faces Returns a list of the IGeoFace objects for this edge. Property Extents Returns the param extents of this edge as a double array [min. and its subsidiaries and affiliates. Property Length Returns the length of this edge. Inc. 44 Release 14.© SAS IP.

All rights reserved. Inc.IGeoEdge Property StartVertex Returns the starting IGeoVertex object for this edge.Contains proprietary and confidential information of ANSYS. max]. } Release 14. } EndVertex Returns the ending IGeoVertex object for this edge. Declaration Syntax public CoordinateSystem CrossSectionOrientation { set. Method TangentAtParam(double) Returns the tangent vector for the given param on this edge. Method TangentsAtParams(double[]) Retuns an array of tangent vectors for the given set of params on this edge. 45 . Inc.get. z}). Method PointAtParam(double) Returns the point for the given param on this edge. Method PointsAtParams(double[]) Returns an array of point coordinates for the given set of params on this edge. Declaration Syntax public IGeoVertex EndVertex { get.5 .© SAS IP. } Extents Returns the param extents of this edge as a double array [min. Method ParamAtPoint(double[]) Returns the param for the given point on this edge (point[3] = {x. Declaration Syntax public GeoCurveTypeEnum CurveType { get. CrossSectionOrientation Returns a CoordinateSystem object that defines the edge cross section orientation. . y. } CurveType Returns the eGeoCurveType of this edge. and its subsidiaries and affiliates. Property Vertices Returns a list of the IGeoVertex objects for this edge. Declaration Syntax public double[] Extents { get.

All rights reserved. Declaration Syntax public IList<IGeoFace> Faces { get. } IsParamReversed Returns ParamReversed state for this edge (true or false). } Length Returns the length of this edge. Declaration Syntax public bool IsParamReversed { get.© SAS IP. . } ParamAtPoint(double[]) Returns the param for the given point on this edge (point[3] = {x. Inc. Declaration Syntax public double ParamAtPoint(double[] point) 46 Release 14.Contains proprietary and confidential information of ANSYS. z}). and its subsidiaries and affiliates. Inc. Declaration Syntax public IGeoVertex StartVertex { get.AAP.PublicAPIs. y.5 .Ansys. . Declaration Syntax public IList<IGeoVertex> Vertices { get. Declaration Syntax public double Length { get. } Vertices Returns a list of the IGeoVertex objects for this edge.Geometry Namespace Faces Returns a list of the IGeoFace objects for this edge. } StartVertex Returns the starting IGeoVertex object for this edge.

Contains proprietary and confidential information of ANSYS. PointAtParam(double) Returns the point for the given param on this edge. Release 14.5 . Declaration Syntax public double[] TangentAtParam(double param) Parameters param(double) The edge param value. z}.© SAS IP. PointsAtParams(double[]) Returns an array of point coordinates for the given set of params on this edge.. TangentsAtParams(double[]) Returns an array of tangent vectors for the given set of params on this edge. TangentAtParam(double) Returns the tangent vector for the given param on this edge. Inc.IGeoEdge Parameters point(double[]) point[3] = {x.. Inc. 47 .p2. All rights reserved. y. Declaration Syntax public double[] PointAtParam(double param) Parameters param(double) The edge param value.. .pn). and its subsidiaries and affiliates. Declaration Syntax public double[] PointsAtParams(double[] param) Parameters param(double[]) An array of params for which points are to be returned (ordered p1..

IGeoEntity Geometry Entity Interface Declaration Syntax public interface IGeoEntity Table 37: Members Property Id Returns the reference ID of this entity. Release 14. and its subsidiaries and affiliates.© SAS IP. Inc.Ansys.pn). Id Returns the reference ID of this entity. } Type Returns the GeoCellTypeEnum of this entity. .PublicAPIs. Declaration Syntax public int Id { get.. Declaration Syntax public GeoCellTypeEnum Type { get... Property Type Returns the GeoCellTypeEnum of this entity.Geometry Namespace Declaration Syntax public double[] TangentsAtParams(double[] param) Parameters param(double[]) An array of params for which tangents are to be returned (ordered p1.5 . All rights reserved.AAP.Contains proprietary and confidential information of ANSYS.p2. } IGeoFace Geometry Face Interface Declaration Syntax public interface IGeoFace Table 38: Members Property 48 Area Returns the area of this face.. Inc. .

Inc. double) Returns the point for the given param values on this face. Declaration Syntax public IList<IGeoEdge> Edges { get.IGeoFace Property Body Returns the IGeoBody object for this face. Inc. . Method ParamAtPoint(double[]) Returns the param values for the given point on this face. } Edges Returns a list of the edge IGeoEdge for this face.5 . Method NormalAtParam(double. Method NormalsAtParams(double[]) Returns an array of normal vectors for the given set of params on this face. Declaration Syntax public IGeoBody Body { get. Property Loops Returns a list of the IGeoLoop objects for this face. Method PointAtParam(double. 49 . Property Edges Returns a list of the edge IGeoEdge for this face. Property Vertices Returns a list of the IGeoVertex objects for this face.Contains proprietary and confidential information of ANSYS. and its subsidiaries and affiliates. Declaration Syntax public double Area { get.© SAS IP. Property SurfaceType Returns the GeoSurfaceTypeEnum of this face. double) Returns the normal vector for the given param values on this face. Property Shell Returns the IGeoShell object for this face. All rights reserved. Area Returns the area of this face. Method PointsAtParams(double[]) Returns an array of point coordinates for the given set of params on this face. } Release 14. } Body Returns the IGeoBody object for this face.

} Vertices Returns a list of the IGeoVertex objects for this face.Contains proprietary and confidential information of ANSYS.Geometry Namespace Loops Returns a list of the IGeoLoop objects for this face. Declaration Syntax public GeoSurfaceTypeEnum SurfaceType { get. Inc. Declaration Syntax public IGeoShell Shell { get.5 .© SAS IP. 50 Release 14. Inc.param component value. double v) Parameters u(double) The -u.Ansys. } NormalAtParam(double.param component value. Declaration Syntax public double[] NormalAtParam(double u. All rights reserved. . double) Returns the normal vector for the given param values on this face. } SurfaceType Returns the GeoSurfaceTypeEnum of this face. v(double) The -v. and its subsidiaries and affiliates.PublicAPIs.AAP. Declaration Syntax public IList<IGeoVertex> Vertices { get. Declaration Syntax public IList<IGeoLoop> Loops { get. . } Shell Returns the IGeoShell object for this face.

. Declaration Syntax public double[] PointsAtParams(double[] param) Release 14.IGeoFace NormalsAtParams(double[]) Returns an array of normal vectors for the given set of params on this face.© SAS IP. v(double) The -v.p2v.param component value.p2u.. and its subsidiaries and affiliates. ParamAtPoint(double[]) Returns the param values for the given point on this face. Inc.5 ... 51 . All rights reserved. . Declaration Syntax public double[] ParamAtPoint(double[] point) Parameters point(double[]) The coordinates (x. PointsAtParams(double[]) Returns an array of point coordinates for the given set of params on this face. Declaration Syntax public double[] PointAtParam(double u. Inc.y. double v) Parameters u(double) The -u.Contains proprietary and confidential information of ANSYS.param component value.z) of the point. PointAtParam(double. double) Returns the point for the given param values on this face. Declaration Syntax public double[] NormalsAtParams(double[] param) Parameters param(double[]) An array of params for which normals are to be returned (ordered p1u.pnv).pnu.p1v.

Inc.Ansys.p2u.. . IGeoLoop Geometry Loop Interface Declaration Syntax public interface IGeoLoop Table 39: Members Property Edges Returns a list of the IGeoEdge objects for this loop. Edges Returns a list of the IGeoEdge objects for this loop. } Face Returns the IGeoFace object for this loop. } IGeoPart Geometry Part Interface Declaration Syntax public interface IGeoPart Table 40: Members Property Bodies Returns a list of the IGeoBody objects for this part. Property Name Returns the name of this part.5 . Property Face Returns the IGeoFace object for this loop. 52 Release 14.Geometry Namespace Parameters param(double[]) An array of params for which points are to be returned (ordered p1u..pnu. All rights reserved.PublicAPIs. .p2v.pnv). Declaration Syntax public IList<IGeoEdge> Edges { get.Contains proprietary and confidential information of ANSYS.© SAS IP. and its subsidiaries and affiliates.. Declaration Syntax public IGeoFace Face { get.p1v.AAP. Inc..

and its subsidiaries and affiliates. Declaration Syntax public IList<IGeoFace> Faces { get. 53 . Faces Returns a list of the IGeoFace objects for this shell. Inc.© SAS IP. Declaration Syntax public IList<IGeoBody> Bodies { get. Declaration Syntax public string Name { get. All rights reserved.IGeoTessellation Bodies Returns a list of the IGeoBody objects for this part. } Name Returns the name of this part.Contains proprietary and confidential information of ANSYS. . } IGeoTessellation Geometry Tessellation Interface Declaration Syntax public interface IGeoTessellation Table 42: Members Property FacetCount Returns the number of facets. Release 14. Inc.5 . } IGeoShell Geometry Shell Interface Declaration Syntax public interface IGeoShell Table 41: Members Property Faces Returns a list of the IGeoFace objects for this shell.

.xn...zn).AAP. All rights reserved.x2.. (Ordered n1.i2_1..xn.5 . Property Points Returns an array of point coordinates. (Ordered n1. } Normals Returns an array of normal vectors.yn. Declaration Syntax public int[] Indices { get.y2... n2...zn).Geometry Namespace Property Indices Returns an array of indices..xn. (Ordered x1. (Ordered x1. Inc. } Points Returns an array of point coordinates.i2_n2.z2.y1. .. Property Normals Returns an array of normal vectors.PublicAPIs.yn..i1_2.zn)... .x2.Ansys.. . n2.y2.z1.).i1_2.. Declaration Syntax public int FacetCount { get.. Declaration Syntax public double[] Points { get...yn. } IGeoVertex Geometry Vertex Interface 54 Release 14. (Ordered x1.).zn).. (Ordered x1.x2..xn..y2.z1.i2_2. Inc. ...y1.i1_n1.i2_2.i1_1. Declaration Syntax public double[] Normals { get.z1....yn..Contains proprietary and confidential information of ANSYS..z1.© SAS IP.y1.. } Indices Returns an array of indices..i1_n1.z2.i1_1.i2_n2..y2. FacetCount Returns the number of facets.y1.x2..z2..z2.i2_1. and its subsidiaries and affiliates.

Property Z Returns the Z point coordinate of this vertex. Declaration Syntax public double X { get. 55 . . Declaration Syntax public IList<IGeoFace> Faces { get. } Release 14. } Edges Returns a list of the IGeoEdge objects for this vertex. Inc. Property Edges Returns a list of the IGeoEdge objects for this vertex. Bodies Returns a list of the IGeoBody objects for this vertex. Property Y Returns the Y point coordinate of this vertex.5 . Inc.IGeoVertex Declaration Syntax public interface IGeoVertex Table 43: Members Property Bodies Returns a list of the IGeoBody objects for this vertex. Declaration Syntax public IList<IGeoEdge> Edges { get. Property Faces Returns a list of the IGeoFace objects for this vertex. } Faces Returns a list of the IGeoFace objects for this vertex. } X Returns the X point coordinate of this vertex. All rights reserved. Property X Returns the X point coordinate of this vertex. Declaration Syntax public IList<IGeoBody> Bodies { get. and its subsidiaries and affiliates.Contains proprietary and confidential information of ANSYS.© SAS IP.

Inc. .Contains proprietary and confidential information of ANSYS.PublicAPIs.Ansys. } Z Returns the Z point coordinate of this vertex. Declaration Syntax public double Y { get. and its subsidiaries and affiliates. All rights reserved. .5 .© SAS IP.AAP.Geometry Namespace Y Returns the Y point coordinate of this vertex. } 56 Release 14. Inc. Declaration Syntax public double Z { get.

Method ElementValues(IEnumerable<int>. All rights reserved.AAP. string) Returns the requested nodal result value set.Ansys.5 . Property Name Returns the name of this result. . Method NodeValue(int. Declaration Syntax public IList<string> Components { get. Method NodeValues(IEnumerable<int>. } Release 14.Results Table 44: Members IResult IResult Interface IResultReader IResultReader Interface IResult IResult Interface Declaration Syntax public interface IResult Table 45: Members Property Components Returns a list of component names for this result. string) Returns the requested nodal result value sets. Components Returns a list of component names for this result. Inc.PublicAPIs. 57 .Results Namespace Declaration Syntax namespace Ansys. Property Units Returns a list of units for each component.AAP. string) Returns the requested element result value set. and its subsidiaries and affiliates.PublicAPIs.Contains proprietary and confidential information of ANSYS. Method ElementValue(int. Property QuantityNames Returns a list of quantity names in component name order.© SAS IP. Inc. Returns the requested element result value string) sets.

.5 . comps(string) The components of the result to be returned. Inc.Ansys. string comps) 58 Release 14. string) Returns the requested element result value set. and its subsidiaries and affiliates. Declaration Syntax public IList<string> QuantityNames { get. } ElementValue(int.© SAS IP. . Declaration Syntax public double[] ElementValue(int entityId. string) Returns the requested element result value sets. string comps) Parameters entityId(int) The element ID to query for the result. All rights reserved.AAP. } Units Returns a list of units for each component. Declaration Syntax public string Name { get. Declaration Syntax public IList<string> Units { get.PublicAPIs.Results Namespace Name Returns the name of this result. Inc. } QuantityNames Returns a list of quantity names in component name order. Declaration Syntax public double[] ElementValues(IEnumerable<int> entityId.Contains proprietary and confidential information of ANSYS. ElementValues(IEnumerable<int>.

string) Returns the requested nodal result value set.IResultReader Parameters entityId(IEnumerable<int>) An array of element IDs to query for the result. . Inc. string comps) Parameters entityId(int) The node ID to query for the result. 59 . IResultReader IResultReader Interface Release 14. NodeValues(IEnumerable<int>. and its subsidiaries and affiliates. NodeValue(int. All rights reserved. comps(string) The components of the result to be returned. string comps) Parameters entityId(IEnumerable<int>) An array of node IDs to query for the result. Declaration Syntax public double[] NodeValue(int entityId.© SAS IP.5 . comps(string) The components of the result to be returned. Declaration Syntax public double[] NodeValues(IEnumerable<int> entityId. comps(string) The components of the result to be returned.Contains proprietary and confidential information of ANSYS. string) Returns the requested nodal result value sets. Inc.

} HasImaginaryResults Returns the imaginary results state. Method Result(string) Returns the IResult object for the specified name. .Results Namespace Declaration Syntax public interface IResultReader Table 46: Members Property CurrentResultSet Returns the current result set index. Declaration Syntax public bool HasImaginaryResults { get. } ListTimeFreq Returns a list of all the time steps or frequencies. All rights reserved. } CurrentTimeFreq Returns the current time / frequency value.PublicAPIs. and its subsidiaries and affiliates. Declaration Syntax public IList<double> ListTimeFreq { get. CurrentResultSet Returns the current result set index.Contains proprietary and confidential information of ANSYS. Property ResultSetCount Returns the number of result sets. Inc. Property HasImaginaryResults Returns the imaginary results state. Property ListTimeFreq Returns a list of all the time steps or frequencies.get. Property ResultsName Returns a list of the result names.AAP. Inc.© SAS IP.5 .Ansys. } 60 Release 14. . Declaration Syntax public double CurrentTimeFreq { get. Declaration Syntax public int CurrentResultSet { set. Property CurrentTimeFreq Returns the current time / frequency value.

5 . and its subsidiaries and affiliates.IResultReader ResultSetCount Returns the number of result sets. } Result(string) Returns the IResult object for the specified name.© SAS IP. Declaration Syntax public int ResultSetCount { get. . Release 14. Inc. } ResultsName Returns a list of the result names. All rights reserved. 61 . Inc.Contains proprietary and confidential information of ANSYS. Declaration Syntax public IResult Result(string name) Parameters name(string) A result name. Declaration Syntax public IList<string> ResultsName { get.

5 . and its subsidiaries and affiliates. . . Inc.© SAS IP.62 Release 14. Inc. All rights reserved.Contains proprietary and confidential information of ANSYS.

Contains proprietary and confidential information of ANSYS.Analysis Namespace Declaration Syntax namespace Ansys.Analysis Table 47: Members CoordinateSystem CoordinateSystem class CoordinateSystemTypeEnum CoordinateSystemTypeEnum enumerator IAnalysis IAnalysis Interface IDataObject IDataObject Interface IDataObjectCollection IDataObjectCollection Interface IDataObjectContainer IDataObjectContainer Interface CoordinateSystem CoordinateSystem class Declaration Syntax public class CoordinateSystem Table 48: Members Constructor CoordinateSystem(CoordinateSys. and its subsidiaries and affiliates. Property Matrix Gets or sets the matrix definition of the coordinate system. 63 .PublicAPIs. All rights reserved. Property YAxis Gets or sets the Y axis of the coordinate system. Inc. Property ZAxis Gets or sets the Z axis of the coordinate system. Property Id Gets or sets the ID of the coordinate system. Release 14. .Ansys. Property XAxis Gets or sets the X axis of the coordinate system.AAP.Constructor. Property Origin Gets or sets the origin of the coordinate system. Property Name Gets or sets the name of the coordinate system.PublicAPIs. temTypeEnum) Property CoordinateSystemType Gets or sets the coordinate system type.5 .© SAS IP. Inc.AAP.

get.get. Inc. } Name Gets or sets the name of the coordinate system.Ansys. Declaration Syntax public IEnumerable<double> Matrix { set.PublicAPIs. CoordinateSystemType Gets or sets the coordinate system type. Declaration Syntax public CoordinateSystem(CoordinateSystemTypeEnum type) Parameters type(CoordinateSystemTypeEnum) The CoordinateSystemTypeEnum type to construct. . Inc. } Matrix Gets or sets the matrix definition of the coordinate system. All rights reserved.get. Declaration Syntax public CoordinateSystemTypeEnum CoordinateSystemType { set.get.Analysis Namespace CoordinateSystem(CoordinateSystemTypeEnum) Constructor.AAP. . Declaration Syntax public string Name { set. Declaration Syntax public int Id { set.5 .Contains proprietary and confidential information of ANSYS. } Id Gets or sets the ID of the coordinate system. } 64 Release 14.© SAS IP. and its subsidiaries and affiliates.

get.get. Inc. } YAxis Gets or sets the Y axis of the coordinate system. Declaration Syntax public IEnumerable<double> XAxis { set. Declaration Syntax public IEnumerable<double> Origin { set.get. Declaration Syntax public IEnumerable<double> ZAxis { set. 65 . } ZAxis Gets or sets the Z axis of the coordinate system.5 . All rights reserved.CoordinateSystemTypeEnum Origin Gets or sets the origin of the coordinate system. } CoordinateSystemTypeEnum CoordinateSystemTypeEnum enumerator Declaration Syntax public enum CoordinateSystemTypeEnum Table 49: Members Member Cartesian Cartesian coordinate system. Inc.get. Declaration Syntax public IEnumerable<double> YAxis { set. Member Spherical Spherical coordinate system. Member Cylindrical Cylindrical coordinate system. . Release 14.© SAS IP. } XAxis Gets or sets the X axis of the coordinate system. and its subsidiaries and affiliates.Contains proprietary and confidential information of ANSYS.

Contains proprietary and confidential information of ANSYS. Property LoadObjects Returns all ACT load objects associated with this analysis. Method CreateLoadObject(string) Creates a new load object. Method PropertyValue(string) Returns the property value with the specified name. 66 Release 14. Property Components Returns all (named selections) components.5 . Method ComponentById(int) Returns a (named selection) component by its ID. Property PhysicsType Returns the physics type string. Property StepsEndTime Returns a list of steps end times. Property Solver Returns all ACT solver obects associated with this analysis. All rights reserved. Property Id Returns the ID for this analysis. Method CreateResultObject(string) Creates a new ISimResult object. and its subsidiaries and affiliates. . Property SolverName Returns the solver name for this analysis. Inc.Analysis Namespace IAnalysis IAnalysis Interface Declaration Syntax public interface IAnalysis Table 50: Members Property AnalysisType Returns the analysis type string. Method CoordinateSystemById(int) Returns a CoordinateSystem object by its ID. . Property ResultsData Return the IResultReader object associated with this analysis. Method CurrentConsistentUnitFromQuant. Property WorkingDir Returns the working directory.© SAS IP. Property CoordinateSystems Returns all coordinate systems. Property MeshData Returns the IMeshData object associated with this analysis.Ansys.AAP.Returns the current consistent unit from a ityName(string) quantity name. Property ResultObjects Returns all ACT result objects associated with this analysis.PublicAPIs. Property GeoData Returns the IGeoData object associated with this analysis. Method GenerateMesh() Generates the mesh associated with this analysis. Property Name Returns the name of this analysis. Property PropertyNames Returns a list of the property names for this analysis. Inc.

AnalysisType Returns the analysis type string. Inc. Inc.IAnalysis Method PropertyValue(string. } Release 14. Declaration Syntax public int Id { get. } GeoData Returns the IGeoData object associated with this analysis. . } CoordinateSystems Returns all coordinate systems. Method Solve(bool) Compute the solution for this analysis. Method WriteInputFile(string) Writes the input file associated to this analysis. Declaration Syntax public IGeoData GeoData { get. Declaration Syntax public string AnalysisType { get. All rights reserved. } Components Returns all (named selections) components. Declaration Syntax public IEnumerable<SelectionInfo> Components { get. object) Assigns the given value to the simulation property that matches the specified name.5 .© SAS IP. Declaration Syntax public IEnumerable<CoordinateSystem> CoordinateSystems { get. 67 .Contains proprietary and confidential information of ANSYS. and its subsidiaries and affiliates. } Id Returns the ID for this analysis.

5 . and its subsidiaries and affiliates. Declaration Syntax public IEnumerable<ISimLoad> LoadObjects { get. } ResultObjects Returns all ACT result objects associated with this analysis. Declaration Syntax public string Name { get.Analysis Namespace LoadObjects Returns all ACT load objects associated with this analysis.Ansys. Declaration Syntax public IList<string> PropertyNames { get. Inc. } PhysicsType Returns the physics type string. } MeshData Returns the IMeshData object associated with this analysis. All rights reserved. } 68 Release 14. . .Contains proprietary and confidential information of ANSYS.© SAS IP.PublicAPIs. Inc.AAP. Declaration Syntax public string PhysicsType { get. Declaration Syntax public IMeshData MeshData { get. Declaration Syntax public IEnumerable<ISimResult> ResultObjects { get. } Name Returns the name of this analysis. } PropertyNames Returns a list of the property names for this analysis.

Declaration Syntax public string WorkingDir { get. 69 . . Inc.Contains proprietary and confidential information of ANSYS. } ComponentById(int) Returns a (named selection) component by its ID. Declaration Syntax public IResultReader ResultsData { get. Declaration Syntax public string SolverName { get. and its subsidiaries and affiliates. } SolverName Returns the solver name for this analysis. } StepsEndTime Returns a list of steps end times.IAnalysis ResultsData Return the IResultReader object associated with this analysis. All rights reserved.© SAS IP. Declaration Syntax public IList<double> StepsEndTime { get. Declaration Syntax public ISimSolver Solver { get. Declaration Syntax public SelectionInfo ComponentById(int id) Release 14. Inc.5 . } Solver Returns all ACT solver obects associated with this analysis. } WorkingDir Returns the working directory.

CurrentConsistentUnitFromQuantityName(string) Returns the current consistent unit from a quantity name. All rights reserved.Ansys.AAP. Inc.Analysis Namespace Parameters id(int) The ID of the desired component. CreateResultObject(string) Creates a new ISimResult object. Declaration Syntax public CoordinateSystem CoordinateSystemById(int id) Parameters id(int) The ID of the desired coordinate system.Contains proprietary and confidential information of ANSYS.PublicAPIs.5 .© SAS IP. Inc. . Declaration Syntax public ISimLoad CreateLoadObject(string loadName) Parameters loadName(string) The name to be assigned to the new load. and its subsidiaries and affiliates. 70 Release 14. Declaration Syntax public ISimResult CreateResultObject(string resultName) Parameters resultName(string) The name to be assigned to the new result. CoordinateSystemById(int) Returns a CoordinateSystem object by its ID. CreateLoadObject(string) Creates a new load object. .

Contains proprietary and confidential information of ANSYS. Declaration Syntax public void GenerateMesh() PropertyValue(string) Returns the property value with the specified name. 71 . PropertyValue(string. . and its subsidiaries and affiliates.IAnalysis Declaration Syntax public string CurrentConsistentUnitFromQuantityName(string qname) Parameters qname(string) The quantity name to query. Release 14. All rights reserved. object value) Parameters name(string) The simulation property name.5 . Inc. Solve(bool) Compute the solution for this analysis. GenerateMesh() Generates the mesh associated with this analysis. Declaration Syntax public void PropertyValue(string name. value(object) The value to assign. Declaration Syntax public object PropertyValue(string name) Parameters name(string) The name of the property to return.© SAS IP. Inc. object) Assigns the given value to the simulation property that matches the specified name.

Ansys.AAP.PublicAPIs.Analysis Namespace

Declaration Syntax
public void Solve(bool wait)

Parameters
wait(bool)
Specifies to wait for the computation end.

WriteInputFile(string)
Writes the input file associated to this analysis.

Declaration Syntax
public void WriteInputFile(string filename)

Parameters
filename(string)
The name of the file to write.

IDataObject
IDataObject Interface

Declaration Syntax
public interface IDataObject
Table 51: Members
Property

Id

Returns the ID for this data object.

Property

Name

Returns the name for this data object.

Property

PropertyNames

Returns a list of the properties for this data
object.

Property

Type

Returns the type for this data object.

Method

PropertyValue(string)

Returns the property value with the specified
name.

Method

PropertyValue(string, object)

Assigns the given value to the simulation
property that matches the specified name.

Id
Returns the ID for this data object.

72

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

IDataObject

Declaration Syntax
public int Id { get; }

Name
Returns the name for this data object.

Declaration Syntax
public string Name { get; }

PropertyNames
Returns a list of the properties for this data object.

Declaration Syntax
public IList<string> PropertyNames { get; }

Type
Returns the type for this data object.

Declaration Syntax
public string Type { get; }

PropertyValue(string)
Returns the property value with the specified name.

Declaration Syntax
public object PropertyValue(string name)

Parameters
name(string)
The name of the property to return.

PropertyValue(string, object)
Assigns the given value to the simulation property that matches the specified name.

Declaration Syntax
public void PropertyValue(string name, object value)
Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

73

Ansys.AAP.PublicAPIs.Analysis Namespace

Parameters
name(string)
The simulation property name.
value(object)
The value to assign.

IDataObjectCollection
IDataObjectCollection Interface

Declaration Syntax
public interface IDataObjectCollection
Table 52: Members
Property

Ids

Returns a list of available IDs.

Property

List

Returns a list of available DataObjects.

Property

Names

Returns a list of available names.

Method

GetById(int)

Get a DataObject by its ID.

Method

GetByName(string)

Get a DataObject by its name.

Method

GetEnumerator()

Returns an enumerator for the current collection.

Method

NamesByType(string)

Returns a list of available DataObject names filtered by
type.

Ids
Returns a list of available IDs.

Declaration Syntax
public IList<int> Ids { get; }

List
Returns a list of available DataObjects.

Declaration Syntax
public IList<IDataObject> List { get; }

Names
Returns a list of available names.

74

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.

75 .IDataObjectCollection Declaration Syntax public IList<string> Names { get. GetEnumerator() Returns an enumerator for the current collection. Declaration Syntax public IList<string> NamesByType(string dataType) Release 14.Contains proprietary and confidential information of ANSYS. Declaration Syntax public IDataObject GetByName(string name) Parameters name(string) The name of the desired DataObject. } GetById(int) Get a DataObject by its ID.© SAS IP. Declaration Syntax public IDataObject GetById(int id) Parameters id(int) The ID of the desired DataObject. Declaration Syntax public IEnumerator<IDataObject> GetEnumerator() NamesByType(string) Returns a list of available DataObject names filtered by type.5 . All rights reserved. GetByName(string) Get a DataObject by its name. Inc. and its subsidiaries and affiliates. Inc. .

and its subsidiaries and affiliates.PublicAPIs. Inc. Declaration Syntax public IDataObjectCollection DataObjects { get.AAP.Ansys. . DataObjects Returns the DataObject collection. IDataObjectContainer IDataObjectContainer Interface Declaration Syntax public interface IDataObjectContainer Table 53: Members Property DataObjects Returns the DataObject collection.© SAS IP.Contains proprietary and confidential information of ANSYS. All rights reserved. .Analysis Namespace Parameters dataType(string) The datatype filter. } 76 Release 14. Inc.5 .

All rights reserved. Release 14. Inc.Ansys. Inc. 77 .© SAS IP.Contains proprietary and confidential information of ANSYS. Method ScriptByName(string) Gets a script object by its name.Extension Table 54: Members IApplication IApplication Interface IExtension IExtension Interface IExtensionAPI IExtensionAPI Interface IExtensionMgr IExtensionMgr Interface IApplication IApplication Interface Declaration Syntax public interface IApplication Table 55: Members Property ScriptNames Returns a list of available script names. Declaration Syntax public IList<string> ScriptNames { get. .Extension Namespace Declaration Syntax namespace Ansys. } LogError(string) Logs an error message. ScriptNames Returns a list of available script names. Method LogWarning(string) Logs a warning message.PublicAPIs.PublicAPIs. Method LogError(string) Logs an error message.AAP. and its subsidiaries and affiliates.AAP.5 .

78 Release 14. Declaration Syntax public object ScriptByName(string name) Parameters name(string) The script name.Contains proprietary and confidential information of ANSYS. Property Version Returns the version of this extension. All rights reserved. Property ScriptEngine Returns the IronPython script engine. and its subsidiaries and affiliates.5 .© SAS IP. LogWarning(string) Logs a warning message. Property ScriptScope Returns the IronPython scope. Inc. Inc. ScriptByName(string) Gets a script object by its name.PublicAPIs. Declaration Syntax public void LogWarning(string msg) Parameters msg(string) The warning message. IExtension IExtension Interface Declaration Syntax public interface IExtension Table 56: Members Property Name Returns the name of this extension.Extension Namespace Declaration Syntax public void LogError(string msg) Parameters msg(string) The error message. .AAP. .Ansys.

Property Context Returns the current context name (Mechanical. 79 . Declaration Syntax public ScriptEngine ScriptEngine { get. . Inc.© SAS IP. All rights reserved. } ScriptScope Returns the IronPython scope. Project. Release 14. Declaration Syntax public int Version { get. } Version Returns the version of this extension. .. } ScriptEngine Returns the IronPython script engine.5 . Inc. and its subsidiaries and affiliates. } IExtensionAPI IExtensionAPI Interface Declaration Syntax public interface IExtensionAPI Table 57: Members Property Application Returns the IApplication object.IExtensionAPI Name Returns the name of this extension. Property DataModel Returns the IDataModel object.Contains proprietary and confidential information of ANSYS.. Property ExtensionMgr Returns the IExtensionMgr object. Declaration Syntax public string Name { get.). Declaration Syntax public ScriptScope ScriptScope { get.

Method UnlockPrePostLicense() Unlocks the license used by the PRE/POST application. If you don't relock the license. Declaration Syntax public IDataModel DataModel { get.. All rights reserved. . the PRE/POST application will be in read-only mode. Method LockPrePostLicense() Locks the license used by the PRE/POST application. Application Returns the IApplication object. Declaration Syntax public IExtensionMgr ExtensionMgr { get. This is required if you want to manually launch the ANSYS solver.. Project.Extension Namespace Property Graphics Returns an IGraphics object. .AAP. Declaration Syntax public string Context { get. Property SelectionMgr Returns the ISelectionMgr object. Inc. Declaration Syntax public IApplication Application { get.). Method ResultsData(string) Returns an IResultReader object for the specified file. } Context Returns the current context name (Mechanical.Ansys.© SAS IP. Useful for reporting messages and errors. Inc. and its subsidiaries and affiliates. } ExtensionMgr Returns the IExtensionMgr object. } 80 Release 14.PublicAPIs. You must relock the license after its use. Useful for manipulating the graphic selection. . } DataModel Returns the IDataModel object.Contains proprietary and confidential information of ANSYS.5 . Property Log Returns the ILog object.

Declaration Syntax public ISelectionMgr SelectionMgr { get. Declaration Syntax public IResultReader ResultsData(string filename) Parameters filename(string) The name of the results file. Declaration Syntax public IGraphics Graphics { get.Contains proprietary and confidential information of ANSYS. } SelectionMgr Returns the ISelectionMgr object. . All rights reserved.© SAS IP. Useful for manipulating the graphic selection. and its subsidiaries and affiliates.5 . Inc. 81 . Inc. Declaration Syntax public void LockPrePostLicense() ResultsData(string) Returns an IResultReader object for the specified file.IExtensionAPI Graphics Returns an IGraphics object. } LockPrePostLicense() Locks the license used by the PRE/POST application. Useful for reporting messages and errors. } Log Returns the ILog object. Declaration Syntax public ILog Log { get. Release 14.

key = extension name. Declaration Syntax public IDictionary<string. Declaration Syntax public void UnlockPrePostLicense() IExtensionMgr IExtensionMgr Interface Declaration Syntax public interface IExtensionMgr Table 58: Members Property CurrentExtension Returns the current IExtension object.Extension Namespace UnlockPrePostLicense() Unlocks the license used by the PRE/POST application. } Extensions Returns a dictionary of available extensions. Declaration Syntax public IExtension CurrentExtension { get. } 82 Release 14. CurrentExtension Returns the current IExtension object. the PRE/POST application will be in read-only mode.PublicAPIs.5 . . If you don't relock the license. This is required if you want to manually launch the ANSYS solver.AAP. Property Extensions Returns a dictionary of available extensions. All rights reserved.Contains proprietary and confidential information of ANSYS. You must relock the license after its use. Inc. value = IExtension object. .key = extension name. Inc.Ansys. and its subsidiaries and affiliates. IExtension> Extensions { get.© SAS IP. value = IExtension object.

IEnumerable<double>) Draws a circle with the current color and line weight. Method DrawDisc(IEnumerable<double>. 83 .AAP. .PublicAPIs. Inc. All rights reserved.Contains proprietary and confidential information of ANSYS. Property Visible Sets or gets the visibility flag of this drawing context. Method DrawPolyline(IEnumerable<double>) Draws a polyline with the current color and line weight.Graphics Namespace Declaration Syntax namespace Ansys. double.Graphics Table 59: Members IDraw3DContext Interface to draw 3D features IGraphics Interface to Graphics features IDraw3DContext Interface to draw 3D features Declaration Syntax public interface IDraw3DContext Table 60: Members Property Color Sets or gets the color (0xff0000 for red. IEnumerable<double>) Draws a polygon with the current color and line weight. Method DrawPoints(IEnumerable<double>) Draws a set of points with the current color and size equal to the current line weight. Method Close() Closes this drawing context. and its subsidiaries and affiliates. Property Translucency Sets or gets the translucency.5 . This function can be called directly using the inform- Release 14.Ansys. Method DrawCircle(IEnumerable<double>. Property DepthTest Sets or gets the DepthTest flag. IEnumerable<int>) Draws a surface defined by a set of faces (three or four vertices per face). Method DrawShell(IEnumerable<double>.© SAS IP. Property LineWeight Sets or gets the line weight. and 0x0000ff for blue). Method DrawPolygon(IEnumerable<double>.PublicAPIs. IEnumerable<double>.AAP. double. 0x00ff00 for green. Inc. IEnumerable<double>) Draws a disc with the current color and line weight.

PublicAPIs. 0x00ff00 for green.get. } Translucency Sets or gets the translucency.get. . Declaration Syntax public bool Visible { set. } DepthTest Sets or gets the DepthTest flag. Declaration Syntax public int Color { set. Inc. Method DrawShell(IEnumerable<double>.© SAS IP. IEnumerable<double>.Ansys. and 0x0000ff for blue).get.Contains proprietary and confidential information of ANSYS. and its subsidiaries and affiliates. Inc. Color Sets or gets the color (0xff0000 for red. Declaration Syntax public int LineWeight { set.5 . Declaration Syntax public double Translucency { set. This function can be called directly using the information given by the IGeoTessellation interface. Declaration Syntax public bool DepthTest { set. } Visible Sets or gets the visibility flag of this drawing context. IEnumerable<int>. } 84 Release 14. IEnumerable<int>) Draws a surface defined by a set of faces (three or four vertices per face).Graphics Namespace ation given by the IGeoTessellation interface.get.AAP.get. All rights reserved. } LineWeight Sets or gets the line weight. .

normal(IEnumerable<double>) Vector to identify the axis of the circle.IDraw3DContext Close() Closes this drawing context. radius(double) Radius of the circle. All rights reserved. Release 14. Declaration Syntax public void Close() DrawCircle(IEnumerable<double>. radius(double) Radius of the circle. Declaration Syntax public void DrawDisc(IEnumerable<double> center.5 . Inc. 85 . double. double radius. DrawDisc(IEnumerable<double>. Inc. Declaration Syntax public void DrawCircle(IEnumerable<double> center. double radius. IEnumerable<double>) Draws a circle with the current color and line weight. and its subsidiaries and affiliates. normal(IEnumerable<double>) Vector to identify the axis of the circle.© SAS IP. DrawPoints(IEnumerable<double>) Draws a set of points with the current color and size equal to the current line weight. IEnumerable<double>) Draws a disc with the current color and line weight. IEnumerable<double> normal) Parameters center(IEnumerable<double>) Coordinates of the center.Contains proprietary and confidential information of ANSYS. . double. IEnumerable<double> normal) Parameters center(IEnumerable<double>) Coordinates of the center.

Contains proprietary and confidential information of ANSYS. IEnumerable<int> faces) 86 Release 14. and its subsidiaries and affiliates. normals(IEnumerable<double>) Array of vectors that identify the normal for each point (dimensioned to numPoints*3). Declaration Syntax public void DrawShell(IEnumerable<double> vertices.Graphics Namespace Declaration Syntax public void DrawPoints(IEnumerable<double> points) Parameters points(IEnumerable<double>) Array of points coordinates (dimensioned to numPoints*3). DrawPolyline(IEnumerable<double>) Draws a polyline with the current color and line weight. IEnumerable<double>) Draws a polygon with the current color and line weight.Ansys. Declaration Syntax public void DrawPolyline(IEnumerable<double> points) Parameters points(IEnumerable<double>) Array of points coordinates (dimensioned to numPoints*3). .5 . DrawPolygon(IEnumerable<double>. This function can be called directly using the information given by the IGeoTessellation interface. Declaration Syntax public void DrawPolygon(IEnumerable<double> points. IEnumerable<int>) Draws a surface defined by a set of faces (three or four vertices per face). IEnumerable<double> normals) Parameters points(IEnumerable<double>) Array of points coordinates (dimensioned to numPoints*3). Inc. DrawShell(IEnumerable<double>.AAP. Inc.© SAS IP. IEnumerable<double>. IEnumerable<double> normals. . All rights reserved.PublicAPIs.

colors(IEnumerable<int>) Array of colors (one color per vertex). IEnumerable<int>. One face is defined by an integer (three or four) that identify the number of vertices for this face and the index of each vertex. IEnumerable<int> colors) Parameters vertices(IEnumerable<double>) Array of points coordinates. IGraphics Interface to Graphics features Declaration Syntax public interface IGraphics Table 61: Members Property Color Gets or sets the color (0xff0000 for red. IEnumerable<int>) Draws a surface defined by a set of faces (three or four vertices per face). normals(IEnumerable<double>) Array of vectors (one vector per vertex). IEnumerable<int> faces. IEnumerable<double>.Contains proprietary and confidential information of ANSYS. 87 .© SAS IP. DrawShell(IEnumerable<double>. faces(IEnumerable<int>) Array of Indices to describe each face. All rights reserved.5 .IGraphics Parameters vertices(IEnumerable<double>) Array of points coordinates. Property LineWeight Gets or sets the line weight. One face is defined by an integer (three or four) that identify the number of vertices for this face and the index of each vertex. Inc. and its subsidiaries and affiliates. . Inc. Release 14. IEnumerable<double> normals. This function can be called directly using the information given by the IGeoTessellation interface. faces(IEnumerable<int>) Array of Indices to describe each face. Declaration Syntax public void DrawShell(IEnumerable<double> vertices. and 0x0000ff for blue). 0x00ff00 for green. normals(IEnumerable<double>) Array of vectors (one vector per vertex).

int) Draws a line from the current position to the x. and 0x0000ff for blue). Declaration Syntax public IntPtr MainHandle { get.AAP.Contains proprietary and confidential information of ANSYS. Method PixelToWorld(IEnumerable<int>) Gets the 3D coordinates from a window coordinate (in pixel units). } 88 Release 14. All rights reserved. Inc. Color Gets or sets the color (0xff0000 for red. } LineWeight Gets or sets the line weight.© SAS IP. Method WorldToPixel(IEnumerable<double>) Gets the window coordinate (in pixel units) from a 3D point. Method CreateAndOpenDraw3DContext() Creates and opens a 3D Drawing Context.y coordinate (given in pixel units).Ansys. Method MoveTo2D(int. string) Draws text in the graphic window at x. Method WorldToPixel(double. Declaration Syntax public int Color { set. Inc. Method LineTo2D(int. int) Moves the pencil to the x. and its subsidiaries and affiliates. Property MainWindow Gets the main window object from the application.Graphics Namespace Property MainHandle Gets the window handle from the applications main window. Method PixelToWorld(int. double) Gets the window coordinate (in pixel units) from a 3D point. 0x00ff00 for green.y coordinate (given in pixel units). } MainHandle Gets the window handle from the applications main window. int.5 .y coordinate (given in pixel units). . int) Gets the 3D coordinates from a window coordinate (in pixel units). Declaration Syntax public int LineWeight { set. Method DrawText2D(int. Property Translucency Gets or sets the translucency.get.PublicAPIs. . double.get.

y(int) The y coordinate. } Translucency Gets or sets the translucency. string) Draws text in the graphic window at x. Declaration Syntax public double Translucency { set. Release 14. int. LineTo2D(int. . Declaration Syntax public void DrawText2D(int x. Declaration Syntax public object MainWindow { get.5 .Contains proprietary and confidential information of ANSYS.get. } CreateAndOpenDraw3DContext() Creates and opens a 3D Drawing Context.IGraphics MainWindow Gets the main window object from the application. All rights reserved. int) Draws a line from the current position to the x.y coordinate (given in pixel units). and its subsidiaries and affiliates.© SAS IP. Inc. string text) Parameters x(int) The x coordinate. Declaration Syntax public IDraw3DContext CreateAndOpenDraw3DContext() DrawText2D(int.y coordinate (given in pixel units). text(string) The text to display. 89 . int y. Inc.

int) Gets the 3D coordinates from a window coordinate (in pixel units). Inc.PublicAPIs.Ansys. All rights reserved. MoveTo2D(int. int) Moves the pencil to the x. . Declaration Syntax public void MoveTo2D(int x.y coordinate (given in pixel units). PixelToWorld(IEnumerable<int>) Gets the 3D coordinates from a window coordinate (in pixel units). Declaration Syntax public double[] PixelToWorld(IEnumerable<int> xy) Parameters xy(IEnumerable<int>) The x and y coordinates as a list of integers.Graphics Namespace Declaration Syntax public void LineTo2D(int x. and its subsidiaries and affiliates. PixelToWorld(int.Contains proprietary and confidential information of ANSYS. . Declaration Syntax public double[] PixelToWorld(int x. Inc.© SAS IP. int y) Parameters x(int) The x coordinate. y(int) The y coordinate. int y) 90 Release 14.AAP. y(int) The y coordinate.5 . int y) Parameters x(int) The x coordinate.

© SAS IP. Release 14. 91 . and its subsidiaries and affiliates. double y. WorldToPixel(double. y(int) The y coordinate. WorldToPixel(IEnumerable<double>) Gets the window coordinate (in pixel units) from a 3D point.IGraphics Parameters x(int) The x coordinate. y(double) The y coordinate.Contains proprietary and confidential information of ANSYS. double. . z(double) The z coordinate.5 . double) Gets the window coordinate (in pixel units) from a 3D point. Declaration Syntax public int[] WorldToPixel(double x. Inc.y and z coordinates as a list of doubles. All rights reserved. double z) Parameters x(double) The x coordinate. Declaration Syntax public int[] WorldToPixel(IEnumerable<double> pt) Parameters pt(IEnumerable<double>) The x. Inc.

and its subsidiaries and affiliates.Contains proprietary and confidential information of ANSYS. All rights reserved. .5 .92 Release 14. Inc.© SAS IP. . Inc.