Synapi
Synapi
See also:
Synergy::BoundaryConditions
Member Function Documentation
Object CreateEntityList ( )
Returns:
EntList object
Parameters:
aNodes EntList object containing nodes to be constrained
aAnalysisType number that specifies which analysis the
constraint is applicable to:
1: stress
2: warp
3: both stress and warp
Returns:
number of constraints created
See also:
CreatePinConstraints , CreateSpringConstraints ,
CreateGeneralConstraints
Example:
This example creates a fixed constraint at node N1 for stress
analysis.
Set BoundaryConditions = Synergy.BoundaryConditions()
Set EntList = BoundaryConditions.CreateEntityList()
EntList.SelectFromString "N1 "
BoundaryConditions.CreateFixedConstraints EntList, 1
Parameters:
aNodes EntList object containing nodes to be constrained
aAnalysisType number that specifies which analysis the
constraint is applicable to:
1: stress
2: warp
3: both stress and warp
Returns:
number of constraints created
See also:
CreateFixedConstraints , CreateSpringConstraints ,
CreateGeneralConstraints
Example:
This example creates a pin constraint at node N1 for warp.
Parameters:
aNodes EntList object containing nodes to be
constrained
aRelevantAnalysis number that specifies which analysis the
constraint is applicable to:
1: stress
2: warp
3: both stress and warp
aTrans Vector object that specifies translation
stiffnesses
aRot Vector object that specifies rotation
stiffnesses
Returns:
number of constraints created
See also:
CreatePinConstraints , CreateFixedConstraints ,
CreateGeneralConstraints
Example:
This example creates a spring constraint at node N1 for stress
and warp analyses.
Parameters:
aNodes EntList object containing nodes to be constrained
aAnalysisType number that specifies which analysis the
constraint is applicable to:
1: stress
2: warp
3: both stress and warp
aTrans Vector object whose components specify
displacement constraints as follows:
0: free (unconstrained)
-1: fixed
values > 0: specified displacement
aRot Vector object whose components specify
rotational constraints as follows:
0: free (unconstrained)
-1: fixed
values > 0: specified rotation
Returns:
number of constraints created
See also:
CreatePinConstraints , CreateFixedConstraints ,
CreateSpringConstraints
Example:
This example creates a general constraint at node N1 for stress.
The node is free in the X direction, fixed in the Y direction and has
a unit displacement in the Z direction; its rotation is fixed along
the X axis, free along the Y axis and set to 25 along the Z axis.
Parameters:
aNodes EntList object containing nodes to be constrained
aForce Vector object that specifies the force vector
aMoment Vector object that specifies the moment vector
Returns:
number of loads created
See also:
CreateEdgeLoads , CreatePressureLoads ,
CreateElementalLoads , CreateTemperatureLoads ,
CreateVolumeLoads
Example:
This example creates a nodal load at node N1.
Parameters:
aNodes EntList object containing nodes to be constrained
aForce Vector object that specifies edge force per unit length
Returns:
number of loads created
See also:
CreateNodalLoads , CreatePressureLoads ,
CreateElementalLoads , CreateTemperatureLoads ,
CreateVolumeLoads
Example:
This example creates an edge load on the edge defined by
nodes N1-N2.
Parameters:
aTris EntList object containing triangles to be loaded
aForce Vector object that specifies the element load
Returns:
number of loads created
See also:
CreateNodalLoads , CreateEdgeLoads , CreatePressureLoads ,
CreateTemperatureLoads , CreateVolumeLoads
Example:
This example creates an elemental load on triangle T3.
Parameters:
aTris EntList object containing triangles to be loaded
aPressure pressure on element
Returns:
number of loads created
See also:
CreateNodalLoads , CreateEdgeLoads , CreateElementalLoads ,
CreateTemperatureLoads , CreateVolumeLoads
Example:
This example creates a pressure load on triangle T3.
Parameters:
aTris EntList object containing triangles to be loaded
aTop temperature increase on the top of the element
aBot temperature increase at the bottom of the element
Returns:
number of loads created
See also:
CreateNodalLoads , CreateEdgeLoads , CreateElementalLoads ,
CreatePressureLoads , CreateVolumeLoads
Example:
This example creates a temperature load at triangle T3.
Parameters:
aTris EntList object containing triangles to be loaded
aForce Vector object defining the force per unit volume
Returns:
number of loads created
See also:
CreateNodalLoads , CreateEdgeLoads , CreateElementalLoads ,
CreatePressureLoads , CreateTemperatureLoads
Example:
This example creates a volume load on triangle T3.
Parameters:
aNode1 EntList object containing the first node
aNode2 EntList object containing the second node
aUpper upper dimensional tolerance
aLower lower dimensional tolerance
Returns:
number of loads created
Example:
This example creates a critical dimension between nodes N1 and
N2
Set BoundaryConditions = Synergy.BoundaryConditions()
Set EntList = BoundaryConditions.CreateEntityList()
Set EntList_1 = BoundaryConditions.CreateEntityList()
EntList.SelectFromString "N1"
EntList_1.SelectFromString "N2"
BoundaryConditions.CreateCriticalDimension EntList, EntList_1,
0.1, 0.1
Parameters:
aNodes EntList object containing the node on which the
boundary condition is to be created
aNormal Vector object that specifies the orientation of the
boundary condition
aType specifies the property type of the boundary condition
aProp property that needs to be attached to the boundary
condition. Specify Nothing to automatically create or
select one for the given property type
Returns:
EntList object containing the NDBC that was created
Example:
This example creates an injection entrance on node N1.
Set BoundaryConditions = Synergy.BoundaryConditions()
Set Vector = Synergy.CreateVector()
Set EntList = BoundaryConditions.CreateEntityList()
EntList.SelectFromString "N1"
Vector.SetXYZ 0, 0, 1
Set EntList_1 = BoundaryConditions.CreateNDBC(EntList,
Vector, 40000, Nothing)
Parameters:
aCoord Vector object that specifies the location
aNormal Vector object that specifies the orientation of the
boundary condition
aType specifies the property type of the boundary condition
aProp property that needs to be attached to the boundary
condition.
Returns:
EntList object containing the NDBC that was created
Note:
Do not use this function after meshing your model since a node
is created at the specified location in order to create this NDBC.
Example:
This example creates an injection location at (100, 100, 0).
Set BoundaryConditions = Synergy.BoundaryConditions()
Set Vector = Synergy.CreateVector()
Vector.SetXYZ 0, 0, 1
Set Vector_1 = Synergy.CreateVector()
Vector.SetXYZ_1 100, 100, 0
Set EntList_1 = BoundaryConditions.CreateNDBC(Vector_1,
Vector, 40000, Nothing)
Parameters:
aNdbc EntList object containing the NDBC to be moved
aNode EntList object containing the destination node
aNormal Vector object that specifies the orientation of the
boundary condition
Returns:
True if successful; False if not
Example:
This example moves NBC11 to node N390.
Parameters:
aNdbc EntList object containing the NDBC to be moved
aCoord Vector object that specifies the destination
aNormal Vector object that specifies the orientation of the
boundary condition
Returns:
True if successful; False if not
Example:
This example moves NDBC NBC11 to a new location (10, 100,
10).
Parameters:
aIndex index between 0 and array.Size-1
Returns:
BoundaryList object containing the object
Parameters:
aStr String representation of the entities
Example:
This examples sets mesh size to global size
String ConvertToString ( )
Returns:
string representation of the boundary list
Example:
This example displays "R1:0:6"
double Distance
Clearance for the cooling channels from the model.
double Spacing
Spacing between cooling channels.
double Overhang
Distance to extend beyond the part.
long NumChannels
Number of channels.
Boolean DeleteOld
Specifies whether the old layout will be deleted before
generating the new one.
Boolean UseHoses
Specifies whether hoses need to be used to connect
channels.
Boolean XAlign
Specify True to align in the X direction; False to alignin the Y
direction.
Detailed Description
You can use this class to automatically generate a cooling circuit in
the model.
See also:
Synergy::CircuitGenerator
Member Function Documentation
Boolean Generate ( )
Returns:
True if the operation succeeded; False otherwise
Example:
This example generates a coolant circuit using the following
parameters.
See also:
Synergy::DataTransform , UserPlot , DoubleArray , IntegerArray
Member Function Documentation
Parameters:
aFunc Function name, could be one of the following
sin: calculate the sine of the expression
cos: calculate the cosine of the expression
tan: calculate the tangent of the expression
abs: calculate the absolute value of the expression
exp: exponentiate the expression (base 'e')
nint:calculate the nearest integer to the expression
(rounding on S.I. units evaluation of the expression)
sign:evaluates to 0, 1 or -1 if the expression
evaluates to 0, >0 or <0 respectively
log: calculate the logarithm of the expression
(base 'e')
sqrt:calculate the square root of the expression
aLabelIn IntegerArray containing input elements ID
aDataIn DoubleArray containing input data
aLabelOut IntegerArray containing output elements ID
aDataOut DoubleArray containing output calculated data
Returns:
True if successful
Example:
This example does sine calculation on "Pressure (End of filling)"
result
Parameters:
aLabel_1 IntegerArray of first elements list
aData_1 DoubleArray of first data list
aOp math operator, "+", "-", "*", "/"
aLabel_2 IntegerArray of second elements list
aData_2 DoubleArray of second data list
aLabelOut IntegerArray of intersect set of aLabel_1 and
aLabel_2
aDataOut DoubleArray of output data
Returns:
True if successful
Example:
This example calculates difference between two plots and stores
data in arrays
Parameters:
aVal scalar value
aOp operator string, current support "+", "-", "*", "/", "/=" for
post divide, "-=" for post minus
aLabelIn Input elements list
aDataIn Input data list
aLabelOut Output elements list
aDataOut Output elements list
Returns:
True if successful
Example:
This example scales result data by 2 times
See also:
Synergy::DiagnosisManager
Member Function Documentation
Parameters:
aMin lower bound for plotted thickness
aMax upper bound for plotted thickness
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
Example:
This example shows element thickness between 1 and 2 and
pushed these elements into a diagnostics layer.
Parameters:
aMin lower bound for plotted thickness
aMax upper bound for plotted thickness
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows element thickness between 1 and 2 and
pushed these elements into a diagnostics layer.
Parameters:
aMin lower bound for aspect ratio
aMax upper bound for aspect ratio
aStdAR specify True for the standard aspect ratio measue;
False for a normalized measure
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example shows aspect ratios between 5 and 20.
Parameters:
aMin lower bound for aspect ratio
aMax upper bound for aspect ratio
aStdAR specify True for the standard aspect ratio measue;
False for a normalized measure
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows aspect ratios between 5 and 20 on visible
elements.
Object CreateEntityList ( )
Returns:
empty EntList object
Parameters:
aEnts EntList object of entities to start searching from
aExBeam specifies whether beams need to be excluded
while generating the diagnostics
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example displays elements that are connected to node N1;
beams are excluded.
Parameters:
aEnts EntList object of entities to start searching from
aExBeam specifies whether beams need to be excluded
while generating the diagnostics
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example displays elements that are connected to node N1;
beams are excluded.
Parameters:
aNonManifold specify True to generate diagnostics for non-
manifold edges in addition to free edges; False
otherwise
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example shows free edges in the mesh.
Parameters:
aNonManifold specify True to generate diagnostics for non-
manifold edges in addition to free edges; False
otherwise
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows free edges in the mesh.
Parameters:
aOverlaps specifies whether overlaps need to be displayed
aProperIsect specifies whether intersections need to be
displayed
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example displays overlaps and intersections in the mesh
graphically.
Parameters:
aOverlaps specifies whether overlaps need to be displayed
aProperIsect specifies whether intersections need to be
displayed
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example displays overlaps and intersections in the mesh
graphically.
Parameters:
aOverlaps specifies whether overlaps need to be displayed
aProperIsect specifies whether intersections need to be
displayed
aExTri specifies whether excludes triangles
aExBeam specifies whether excludes beams
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example displays overlaps and intersections in the mesh
graphically, for beams only.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example shows mesh match diagnostics in text mode.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aReciprocal TrueReciprocal mesh matching
Example:
This example shows mesh match reciprocal diagnostics.
Set DiagnosisManager = Synergy.DiagnosisManager()
DiagnosisManager.ShowMatchInfo2 False, False, True
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
Example
This example shows mesh element occurrence numbers.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example
This example shows mesh element occurrence numbers.
Set DiagnosisManager = Synergy.DiagnosisManager()
DiagnosisManager.ShowOccerence2 False, True
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example generates text diagnostics for mesh orientation.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example generates text diagnostics for mesh orientation.
ShowSummary ( )
Example:
This example displays a diagnostics summary.
Parameters:
aMin minimum thickness, use 0 to include all thickness
aMax maximum thickness, use 0 to include all thickness
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of thickness of the corresponding
element
Returns:
Number of elements found
Example:
This example gets elements information into IntArr and
DoubleArr of the thickness between 1 and 3
Parameters:
aMin Minimum limit of the thickness
aMax Maximum limit of the thickness
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of thickness of the corresponding
element
Returns:
number of elements found
Example:
This example gets visible elements information into IntArr and
DoubleArr of the thickness between 1 and 3
To get a list of entity ID and aspect ratio value between the given
limits
Parameters:
aMin lower limit, use 0 to include all
aMax upper limit, use 0 to include all
aStdAR specify True for the standard aspect ratio measue;
False for a normalized measure
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of aspect ratio of the corresponding
element
Returns:
Number of elements found
Example:
This example gets elements information into IntArr and
DoubleArr of the aspect ratio between 1 and 10
To get a list of entity ID and aspect ratio value with given limit
Parameters:
aMin Lower limit
aMax Upper limit
aStdAR specify True for the standard aspect ratio measue;
False
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValue a DoubleArray of aspect ratio of the corresponding
element
Returns:
number of elements found
Example:
This example gets elements information into IntArr and
DoubleArr of the aspect ratio between 1 and 10
Parameters:
aEnts seed element
aExBeam whether to exclude beam elements
aEntList an IntegerArray of element IDs connected with the
given element
aValueList a DoubleArray of connectivity value, currently all 1.
Returns:
Number of elements found
Example:
This example gets elements information into IntArr and
DoubleArr of the elements connected with "T1"
num = DiagnosisManager.GetConnectivityDiagnosis(EntList,
TRUE, IntArr, DblArr)
Parameters:
aEnts Given element handle
aExBeam Whether to exclude beam elements
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs connected with the
given element
aValueList a DoubleArray of connectivity value, currently all 1.
Returns:
Number of elements connected with given element
Example:
This example gets elements information into IntArr and
DoubleArr of the elements connected with "T1"
Parameters:
aNonManifold whether to include non-manifold edges
aEntList element number
aValueList value list, each value specifies freeedge / non-
manifold
Returns:
Number of elements containing free/non-manifold edge
Example:
This example gets elements information into IntArr and
DoubleArr of free edges
Set Synergy = CreateObject("synergy.Synergy")
Set DiagnosisManager = Synergy.DiagnosisManager()
Set Arr1 = Synergy.CreateIntegerArray()
Set Arr2 = Synergy.CreateDoubleArray()
sum = DiagnosisManager.GetEdgesDiagnosis(FALSE, Arr1,
Arr2)
Parameters:
aNonManifold Whether to include non-manifold edges
aVisibleOnly Include only visible elements in the diagnosis
aEntList Element number
aValueList bit field for freeedge / non-manifold
[0000001(FreeEdge)1(Non-Manifold)] Edge1
[00000011] Edge2 [00000011] Edge3 [00000000]
Not used
Returns:
Number of free edges
Example:
This example gets visible elements information into IntArr and
DoubleArr of free edges
Parameters:
aOverall whether to include fully overlap elements
aProperIsect whether to include intersect elements
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of intersect/overlap value
0 - Overlap
1 - Intersect
Returns:
Number of overlapping/intersect elements
Example:
This example gets elements information of overlapping and
intersect elements
Parameters:
aOverall whether to include fully overlap elements
aProperIsect whether to include intersect elements
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of intersect/overlap value 1 -
Intersect,
Returns:
Number of problem elements.
Example:
This example gets elements information of overlapping and
intersect elements
Parameters:
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of occurrence number
Returns:
Number of elements found
Example:
This example gets elements occurrence information
Parameters:
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValue an DoubleArray of occurrence number
Returns:
Number of elements found
Example:
This example gets visible elements occurrence information
Parameters:
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of the value
Returns:
Number of elements found
Example:
This example gets elements match information
Parameters:
aEntList an IntegerArray of element IDs
aValueList a DoubleArray containing all 1.0
Returns:
Number of un-oriented elements Note: It could be the number of
oriented elements.
Example:
This example gets un-oriented elements information
Parameters:
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValueList a DoubleArray of the value
Returns:
Total unoriented element number Note: It could be the number of
oriented elements.
Example:
This example gets visible un-oriented elements information
Parameters:
aMin edge length used to calculate equivalent area
ZeroArea = Sqrt(3)/4 * aMin * aMin
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
Example:
This example generates text diagnostics for zero area elements.
Set DiagnosisManager = Synergy.DiagnosisManager()
DiagnosisManager.ShowZeroAreaElements 1, False, True
Parameters:
aMin edge length used to calculate equivalent area
ZeroArea = Sqrt(3)/4 * aMin * aMin
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example generates text diagnostics for zero area elements.
Parameters:
aMin edge length used to calculate equivalent area
ZeroArea = Sqrt(3)/4 * aMin * aMin
aEntList an IntegerArray of element IDs
aValueList a DoubleArray containing all 1 to indicate it is zero
area element
Returns:
Number of zero area elements found
Example:
This example gets elements information of elements with area
less than a normal triangle
Parameters:
aMin edge length used to calculate equivalent area
ZeroArea = Sqrt(3)/4 * aMin * aMin
aEntList an IntegerArray of element IDs
aValueList a DoubleArray containing all 1 to indicate it is zero
area element
aVisibleOnly Include only visible elements in the diagnosis
Returns:
Number of zero area elements found
Example:
This example gets elements information of elements with area
less than a normal triangle
Parameters:
aElementOnly True - to get element counts summary only, which
includes TrianglesCount, NodesCount
BeamsCount, MeshVolume and RunnerVolume
False - to get all mesh summary
Returns:
MeshSummary object
Example:
This example displays partial mesh summary information on
screen.
Set Synergy = CreateObject("synergy.Synergy")
Set DiagnosisManager = Synergy.DiagnosisManager()
Set Summary = DiagnosisManager.GetMeshSummary(false)
StrMsg = "Surface Triangles: " + CStr(summary.TrianglesCount)
+ vbNewLine
StrMsg = StrMsg + "Node : " + CStr( summary.NodesCount ) +
vbNewLine
StrMsg = StrMsg + "Beams : " + CStr( summary.BeamsCount )
+ vbNewLine
StrMsg = StrMsg + "Mesh Volume " + CStr(
summary.MeshVolume ) + vbNewLine
StrMsg = StrMsg + "RunnerVolume " + cstr(
summary.runnerVolume ) + vbNewLine
StrMsg = StrMsg + "Min Aspect Ratio: " +
CStr(Summary.MinAspectRatio) + vbNewLine
StrMsg = StrMsg + "Max Aspect Ratio: " +
CStr(Summary.MaxAspectRatio) + vbNewLine
StrMsg = StrMsg + "AVE Aspect Ratio: " +
CStr(Summary.AveAspectRatio) + vbNewLine + vbNewLine
StrMsg = StrMsg + "Free Edges : " +
CStr(Summary.FreeEdgesCount) + vbNewLine
StrMsg = StrMsg + "Manifold Edges: " +
CStr(Summary.ManifoldEdgesCount) + vbNewLine
StrMsg = StrMsg + "Nonmanifold Edges: " +
CStr(Summary.NonManifoldEdgesCount) + vbNewLine +
vbNewLine
StrMsg = StrMsg + "Match Ratio: " + CStr(
Summary.MatchRatio) + vbNewLine
MsgBox StrMsg
Parameters:
aOutLoop if set will test surface outer loops for errors
aInnerLoop if set will test surface inner loops for errors
aSurfDef if set will test underlying surface definition for errors
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValue a DoubleArray of diagnostic index value ratio of the
corresponding element
Returns:
number of surfs found
Example:
This example gets a list of entity ID and surfaces with bad
trimming curves
Parameters:
aOutLoop if set will test surface outer loops for errors
aInnerLoop if set will test surface inner loops for errors
SurfDef if set will test underlying surface definition for
errors
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
@Par Example: This example generates trimming
curve diagnosis
Set DiagnosisManager =
Synergy.DiagnosisManager()
DiagnosisManager.ShowSurfWithBadTrimCurv
True, True, False, True, False, True
Parameters:
aFree if set will test surface for a free edge
aInnerLoop if set will test surface a non manifold edge
aVisibleOnly Include only visible elements in the diagnosis
aEntList an IntegerArray of element IDs
aValue a DoubleArray of diagnostic index value ratio of the
corresponding element
Returns:
number of surfs found
Example:
This example gets a list of entity ID and surfaces with free
trimming curves
Parameters:
aFree if set will test surface for a free edge
aInnerLoop if set will test surface a non manifold edge
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aShowTxt specify True to generate text diagnostics; False to
show graphical results
aVisibleOnly Include only visible elements in the diagnosis
@Par Example: This example generates trimming
curve diagnosis
Set DiagnosisManager =
Synergy.DiagnosisManager()
DiagnosisManager.ShowSurfWithFreeTrimCurv
True, True, True, False, False
Parameters:
aMin lower bound for L/D ratio
aMax upper bound for L/D ratio
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows beams with L/D between 1 and 20 and put
these elements into a diagnostics layer.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows centroid closeness diagnostics.
Parameters:
aMin lower bound
aMax upper bound
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows beam segment diagnostics.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows cooling circuit diagnostics.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows bubbler/baffle diagnostics.
Parameters:
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows trapped beam diagnostics.
Parameters:
aMin lower bound for plotted thickness
aMax upper bound for plotted thickness
Example:
This example changes the display to show element thickness
between 1 and 2\4.
Parameters:
aMin lower bound for plotted dimension
aMax upper bound for plotted dimension
aAssignLayer specify True to push the elements within the
diagnosis range into a diagnostics layer; False
otherwise
aVisibleOnly Include only visible elements in the diagnosis
Example:
This example shows element dimension between 1 and 2 and
pushed these elements into a diagnostics layer.
Set DiagnosisManager = Synergy.DiagnosisManager()
DiagnosisManager.ShowDimensions 1, 2, True, False
Parameters:
aMin lower bound for plotted dimension
aMax upper bound for plotted dimension
Example:
This example changes the display to show element dimension
between 1 and 2\4.
See also:
Synergy::CreateDoubleArray
Member Function Documentation
Parameters:
aIndex index between 0 and array.Size-1
Example:
See UserPlot::AddVectorData
Parameters:
aValue value to be added
Example:
This example creates an array with two values, 0.1 and 0.2.
VARIANT ToVBSArray ( )
Returns:
Variant of VB Script array
Example:
This example converts DoubleArray to VBScript array
Parameters:
aArray
Returns:
number of elements added
Example:
This example converts VBScript array to DoubleArray
See also:
StudyDoc::CreateEntityList , Modeler::CreateEntityList ,
MeshEditor::CreateEntityList ,
BoundaryConditions::CreateEntityList ,
PropertyEditor::CreateEntityList
Member Function Documentation
Parameters:
aIndex index between 0 and list.Size-1
Returns:
EntList containing the entity at the offset aIndex
Parameters:
aStr string containing entity names
Note:
This function does not allow ranges to be specified using the
syntax "N1:20", e.g. Please use PredicateManager to create a
label predicate that will allow you to specify ranges. Entity
prefixes are as follows:
Nodes: N
Beams: B
Triangles: T
Tetrahedral elements: TE
Curves: C
Surfaces: S
Regions: R
STL envelopes: STL
Nodal boundary conditions: NBC
Surface/element boundary conditions: SBC
Local coordinate systems: LCS
Example:
This example sets the entity list to the nodes N18 and N23.
Parameters:
aPredicate Predicate object that defines the criterion for
inclusion of an entity
See also:
PredicateManager
Example:
The following example selects nodes with labels N23 to N100.
Set Predicate1 =
PredicateManager.CreateLabelPredicate("N23:N100")
EntList.SelectFromPredicate Predicate1
String ConvertToString ( )
Returns:
string representation of the entity list
Example:
The following example returns "N1 N2 N3".
Set Predicate1 =
PredicateManager.CreateLabelPredicate("N1:3")
EntList.SelectFromPredicate Predicate1
Set Str = EntList.ConvertToString()
Main Page Alphabetical List Compound List Compound
Members Related Pages
ImportOptions Class Reference
This class is used to specify model import options. More...
Boolean MDLSurfaces
Specifies whether MDL should translate surfaces when
importing the model.
Boolean UseMDL
Specifies whether MDL should be used for model import.
String MDLKernel
Detailed Description
See also:
Synergy::ImportFile
Example
You can use this class to specify options that affect import of
models into MPI. These options include the mesh type, import
units, MDL options, etc.
See also:
Synergy::ImportOptions
Member Data Documentation
String MeshType
Midplane
Fusion
3D
String Units
mm: Millimeters
cm: Centimeters
m: Meters
in: Inches
String MDLKernel
Parasolid
Parametric
Main Page Alphabetical List Compound List Compound
Members Related Pages
IntegerArray Class Reference
Utility class for an array of integer values. More...
See also:
Synergy::CreateIntegerArray
Member Function Documentation
Parameters:
aIndex index between 0 and array.Size-1
Returns:
value at a given index @Par Example: This example prints 30
Parameters:
aInt value to be added
Example:
This example adds 30 to a new IntegerArray
VARIANT ToVBSArray ( )
Returns:
Variant of VB Script array
Example:
This example converts IntegerArray to VBScript array
Parameters:
aArray
Returns:
number of elements added
Example:
This example converts VBScript array to IntegerArray
String ClientAddress
Client address.
long ClientPort
Client port.
String CommandLine
Command line.
String FinishTime
Finish time.
long JobID
Job ID.
String JobType
Job type.
String ModelName
Model name.
String Priority
Priority.
String User
User.
String RestartFile
Restart file.
String ResultName
Result name.
String ScheduleTime
Schedule time.
String Status
Status.
String StartTime
Start time.
String WorkingFolder
Working folder.
Detailed Description
You can use this class to set job priority and retrieve all information
about a job
Member Function Documentation
Boolean IsCheckAnalysis ( )
Returns:
true if the job is for checking only
Example:
This example prints "True" if the Job is doing check, "False"
otherwise.
If Job.IsCheckAnalysis Then
MsgBox "True"
Else
MsgBox "False"
EndIf
Object FindServer ( )
Returns:
Server object
Example:
This example find the server holding this job
srv = Job.FindServer()
Main Page Alphabetical List Compound List Compound
Members Related Pages
JobMgr Class Reference
This class is used to define a Job Manager object and manage jobs
and servers. More...
long NumberOfJobs
Number of jobs.
long NumberOfServers
Number of servers.
Detailed Description
You can use this class to add, delete server and set default server,
also to start batch queue on a given server and abort an existing job
etc.
See also:
Synergy::JobManager
Member Function Documentation
Parameters:
aAddress Server address
aName Server name
aPriority Priority
aRunLimit Run limit
Returns:
TRUE if successful
Example:
This example adds a new server
Parameters:
aServer Server
Returns:
TRUE if successful
Example:
This example starts batch queue on local server
Parameters:
aServer
Returns:
TRUE if successful
Example:
This example stops batch queue on local server
Parameters:
aJobIndex Job index
Returns:
a Job object
Example:
Parameters:
aSvrIndex Server index
Returns:
Server object
Example:
Aborts job
Parameters:
aJob Job object
Returns:
TRUE if successful
Example:
This example aborts first job.
Parameters:
aJobID Job ID
Returns:
TRUE if successful
Example:
This example aborts job with ID 1
Parameters:
aJobIndex Job index
Returns:
TRUE if successful
Example:
This example aborts job with index 1
Deletes server
Parameters:
aServer Server
Returns:
TRUE if successful
Example:
This example delete server with index 1
Parameters:
aName Server name
Returns:
TRUE if successful
Example:
This example deletes server "localhost"
Parameters:
aAddress Server address
Returns:
TRUE if successful
Example:
This example deletes server with IP address 127.0.0.1
Parameters:
aJobID Job ID
Returns:
TRUE if successful
Example:
This example finds job with ID 100000
See also:
Synergy::LayerManager
Member Function Documentation
Boolean CreateLayer ( )
Returns:
True if successful; False otherwise
Example:
This example creates a new layer.
Activates a layer
Parameters:
aEnt EntList object that contains the layer to be activated
Returns:
True if successful; False otherwise
Example:
This example activates the layer L2.
Object CreateEntityList ( )
Returns:
EntList object @Par Example:
See also:
LayerManager::CreateLayerByName
long AssignToLayer ( Object aEnts,
Object aLayer
)
Parameters:
aEnts EntList that contains entities that are to be assigned to a layer
aLayer EntList that contains the layer to which the entities will be assigned
Returns:
number of entities that have been assigned to the layer
Example:
This example assigns node N1 and triangle T3 to layer L2.
Deletes a layer
Parameters:
aLayer EntList object containing the layer to be deleted
aMove specify True to move entities in this layer to the active layer; False if you want
to delete these entities along with the layer
Returns:
True if successful; False otherwise
Example:
This example deletes layer L5 and all entities in it.
Parameters:
aLayer EntList object containing the layer whose visibility is to be toggled
Returns:
True if successful; False otherwise
Example:
This example toggles the visibility of layer L3.
Parameters:
aLayer EntList object containing the layer to be expanded
aLevels number of levels to expand
aExpandNewLayer whether to create a new layer for the expanded entities
Returns:
number of entities affected
Example:
This example expands layer L3 by 3 levels.
Renames a layer
Parameters:
aLayer EntList object containing the layer to be renamed
aName new name
Returns:
True if successful; False otherwise
Example:
This example renames layer L3 to "New Nodes".
Boolean ShowAllLayers ( )
Returns:
True if successful; False otherwise
Example:
This example shows all layers
Parameters:
aLayer EntList object containing a layer
aType string that specifies the entity type
N: Node
B: Beam ( 1D element )
T: Triangle
C: Curve
S: Surface
R: Region
NBC: NDBC
SBC: SUBC
LCS: LCS
TE: TET4
STL: STL
aDefault specify True to use the default color; False otherwise
aRed red component of color; can be between 0 and 255
aGreen green component of color; can be between 0 and 255
aBlue blue component of color; can be between 0 and 255
Returns:
integer identifier for the color
See also:
SetTypeDisplayOption , SetTypeVisible
Example:
This example sets nodes on layer L3 to red.
Parameters:
aLayer EntList object containing a layer
aType string that specifies the entity type
N: Node
B: Beam ( 1D element )
T: Triangle
C: Curve
S: Surface
R: Region
NBC: NDBC
SBC: SUBC
LCS: LCS
TE: TET4
STL: STL
aVisible specify True to make the layer visible; False otherwise
Returns:
True if successful; False otherwise
See also:
SetTypeDisplayOption , SetTypeColor
Example:
This example turns off visibility of triangles in the layer L3.
Parameters:
aLayer EntList object containing a layer
aType string that specifies the entity type
N: Node
B: Beam ( 1D element )
T: Triangle
C: Curve
S: Surface
R: Region
NBC: NDBC
SBC: SUBC
LCS: LCS
TE: TET4
STL: STL
aOption display option. Valid display options for entities are shown in the table below:
Display Beam Tert STL
Triangle Node Surface Region Curve
optionOption elements elements Facet
Solid X X X - X X X -
Solid+Element
X X X - - - - -
Edges
Transparent X X X - X X X -
Transparent +
Element X X X - - - - -
Edges
Shrunken X X X - - - - -
Axis Line Only - X - - - - - X
Point - - - X - - - -
Triad - - - X - - - -
Net - - - - X X X -
Solid + Net - - - - X X X -
Transparent +
- - - - X X X -
Net
Returns:
True if successful; False otherwise
See also:
SetTypeVisible , SetTypeColor
Example:
This example specifies that triangles in layer L3 should be displayed as "Solid".
Object GetFirst ( )
Returns:
EntList object containing the first layer
Example:
Returns:
EntList object containing the next layer
Example:
This example shows all layer name
Parameters:
aLayer EntList object containing a layer
Returns:
name of the layer
Example:
This example gets the name of the first layer.
Parameters:
aLayer layer entity
aShow whether to show or hide
Returns:
True if successful; False otherwise
Example:
This example show labels of the layer L2.
Parameters:
aLayer EntList object containing a layer
aType string that specifies the entity type
N: Node
B: Beam ( 1D element )
T: Triangle
C: Curve
S: Surface
R: Region
NBC: NDBC
SBC: SUBC
LCS: LCS
TE: TET4
STL: STL
aShow specify True to make the layer visible; False otherwise
Returns:
True if successful; False otherwise
See also:
SetTypeDisplayOption , SetTypeColor
Example:
This example turns off label of triangles in the layer L3.
Parameters:
aName layer name
Returns:
EntList object containing the new layer
Example:
This example creates a new layer and assign N1 to this new layer.
Parameters:
aName layer name
Returns:
EntList object containing the layer
Example:
This example assigns T1 to layer "My New Layer 3".
Returns:
True if successful; False otherwise
Example:
This example hides all layers but "L3"
Boolean RemoveEmptyLayers ( )
Returns:
True if successful; False otherwise
Example:
This example deletes all empty layers.
See also:
Synergy::MaterialSelector
Member Function Documentation
Parameters:
aFile material database file name
aFileType file type, which can be one of the following:
"System": for databases that reside in the "system"
database directory,
"User": for databases that reside in the "user"
directory, and
"": for databases that reside in neither of the above
locations; the last option should be used with caution
since scripts written with "absolute" file path names
are typically not usable across different versions of the
software
aIndex material index in the database that uniquely identifies
this material; the easiest way to ascertain the material
index is to record a macro that selects the material
from the database
aMat specify 0 to select the material as the first molding
material and 1 to select it as the second molding
material
Returns:
True if successful; False otherwise
Example:
Set Synergy = CreateObject("synergy.Synergy")
Set MatSel = Synergy.MaterialSelector()
MatSel.Select "Basell Polyolefins.21000.udb","System", 20024,
0
Main Page Alphabetical List Compound List Compound
Members Related Pages
MeshEditor Class Reference
This class provides meshing utilities. More...
See also:
Synergy::MeshEditor
Member Function Documentation
long AutoFix ( )
Returns:
Number of overlaps/intersections that were removed
Example:
This example repairs the current mesh.
Parameters:
aToler merge tolerance
aFusion specify True to disallow merges between nodes that are
not on the same element
Returns:
number of nodes merged
Example:
This example merges nodes with a tolerance of 0.1mm.
Set MeshEditor = Synergy.MeshEditor()
MeshEditor.GlobalMerge 0.1, True
long PurgeNodes ( )
Deletes nodes in the model that are not connected to any elements
Returns:
number of nodes removed
Example:
This example deletes all disconnected nodes in the model.
Parameters:
aTarget EntList object containing the target node
aNodes EntList object containing the set of nodes to be merged
to the target node
aFusion specify True to disallow merges between nodes that are
not on the same element
Returns:
number of nodes merged
Example:
This example merges node N20 with N10.
Object CreateEntityList ( )
Returns:
EntList object
Note:
When using this function, it will first ask for result invalidation. If
you want to select entities without checking result, use
StudyDoc.CreateEntityList.
Parameters:
aTri1 EntList object containing the first triangle
aTri2 EntList object containing the second triangle
aFeatAllow specify True to permit modifications of feature edges
Returns:
True if operation is successful; False otherwise
Example:
This example swaps the edge between triangles T22 and T23.
Parameters:
aNodes EntList object containing the nodes
aTolerance Tolerance
Returns:
True if successful
Example:
This example stitches free edges defined by a set of given nodes
.
Parameters:
aNode1 EntList object containing the first node
aNode2 EntList object containing the second node
Returns:
EntList object containing the new node that is created
Example:
This example inserts a node between nodes N1 and N10.
Returns:
EntList object containing the new node that is created
Example:
This example inserts a node in triangle.
Parameters:
aNode1 EntList object containing the first node of tetra
aNode2 EntList object containing the second node of tetra
aNode3 EntList object containing the third node of tetra
aNode4 EntList object containing the third node of tetra
Returns:
EntList object containing the new node that is created
Example:
This example inserts a node in tetra.
Parameters:
aTet EntList object containing the tetra
Returns:
EntList object containing the new node that is created
Example:
This example inserts a node in tetra.
Parameters:
aNode EntList object containing the nodes to be moved
aCoord Vector object that specifies the destination location or an
offset vector
aAbs specify True to specify a location and False to to specify
an offset vector
Returns:
True if operation is successful; False otherwise
Example:
This example move node N1 to the given location.
Aligns a set of nodes so that they are collinear with a given pair of
nodes
Parameters:
aNode1 EntList object containing the first node
aNode2 EntList object containing the second node
aToAlign EntList object containing nodes that are to be aligned
between aNode1 and aNode2
Returns:
True if operation is successful; False otherwise
Example:
This example lines up node N10 between nodes N1 and N2.
Parameters:
aNodes EntList object containing nodes to be smoothed
aFeat specify True to preserve feature edges during
smoothing
Returns:
True if operation is successful; False otherwise
Example:
This example smooths nodes N1 to N100.
Parameters:
aFusion specify True if the mesh if for a fusion model
Returns:
True if operation is successful; False otherwise
Example:
This example orients the current fusion mesh.
Parameters:
aEnts EntList object containing the triangles whose normals are
to be flipped
Returns:
True if operation is successful; False otherwise
Example:
This example flips all triangle normals.
Parameters:
aSeed EntList object containing the "seed" triangle
aEnts EntList object containing the triangles that are to be
oriented
Returns:
number of triangles flipped
Example:
This example aligns normals of triangles T2 T3 and T4 with T1.
Parameters:
aNodes EntList object containing an ordered sequence of nodes
defining the outer boundary of the hole
Returns:
True if operation is successful; False otherwise
Example:
This example fills a hole defined by the nodes N2515, N2522, N1662
and N2510.
Parameters:
aNode1 First node
aNode2 Second node
aNode3 Third node
aNode4 Fourth node
aPropSet Property set
Returns:
Tetra created
Example:
This example creates a tetra with given nodes
Parameters:
aTetRefLayerID Layer ID of tetras
aNumLayers Number of layers
aRefineSurface whether to refine surface mesh
aSurfaceEdgeLength Surface mesh edge length
Returns:
True if operation is successful; False otherwise
Example:
This example refines tetras layer
Set MeshEditor = Synergy.MeshEditor()
Set EntList = MeshEditor.CreateEntityList()
MeshEditor.RefineTetras 5, 6, True, 0.002195
Parameters:
aNode1...aNode6 Six given nodes
aPropSet Property set
Returns:
Wedge created
Example:
This example creates a wedge with given nodes
Parameters:
List of wedges
aNumLayers Number of layers
Returns:
True if operation is successful; False otherwise
Example:
This example refines tetras layer
Parameters:
aNode1 EntList object containing the first node
aNode2 EntList object containing the second node
aNode3 EntList object containing the third node
aPropSet Property object that will be assigned to the triangle
Returns:
EntList object containing the triangle that is created
Note:
If aPropSet is Nothing, it uses the property set assigned to its
neighbors
Example:
This example creates a triangle using node N10, N9 and N7.
Parameters:
aNode1 EntList object containing the first node
aNode2 EntList object containing the second node
aNum number of beams to be created
aPropSet Property object that will be assigned to the beams
Returns:
EntList object containing the list of beams that were created
Example:
This example create one beam between nodes N1 and N2.
Parameters:
aEnts EntList object containing entities to be deleted
Returns:
EntList object containing entities that were not deleted
Note:
If you attempt to delete nodes that are referenced by elements or
boundary conditions, these will not be deleted. You would need
to delete the dependent entities first
Example:
This example deletes the beam B4.
Parameters:
aEnts EntList object containing triangles to be remeshed
aSize target mesh size
Returns:
True if operation is successful; False otherwise
Example:
This example remeshes triangles T13, T14 and T15 with target
size 1.52.
Parameters:
aNode EntList object containing nodes to be matched
aTris EntList object containing triangles defining the other side
aLayer name of the layer to which newly created nodes will be
addigned. Specify an empty string ("") to create nodes in
the currently active layer.
Returns:
number of nodes affected
Example:
This example matches nodes to the given triangles
Parameters:
aTol specifies planar or angular tolerance
aIsAngular specify True to check angular tolerance when
merging triangles and False to specify a planar
tolerance
Returns:
number of regions created
Example:
This example creates a regions from triangles using an angular
tolerance 0.1.
Set MeshEditor = Synergy.MeshEditor()
MeshEditor.MakeRegion 0.1, True
Parameters:
aTol specifies planar or angular tolerance
aIsAngular specify True to check angular tolerance when
merging triangles and False to specify a planar
tolerance
aMesh specify True to convert mesh to regions and False to
convert STL
aPropSet property to set the region (for STL only)
Returns:
number of regions created
Example:
This example creates a regions from STL using an angular
tolerance 0.1.
Parameters:
aMovingNode EntList object containing the beam node to be
moved
aTargetCoord Vector object containing the destination point
Returns:
True if operation is successful; False otherwise
Example:
This example moves the beam node N152 to the following
position.
Parameters:
aNode EntList object containing the node to be moved
aEdgeNode1 EntList object containing the first node on the edge
aEdgeNode2 EntList object containing the second node on the
edge
aParamLoc parametric location on the edge between 0.0 and
1.0, where 0.0 is the location of the first edge node
and 1.0 is the location of the second edge node
Returns:
True if operation is successful; False otherwise
Example:
This example moves the node N1 to mid-point of the edge N10-
N11.
Parameters:
aEnts EntList object containing triangles to be remeshed
aSize target mesh size
aSmooth whether to smooth
Returns:
True if operation is successful; False otherwise
Example:
This example remeshes triangles T13, T14 and T15 smoothly with
target size 1.52.
Parameters:
aPt1 Vector object containing the first point
aPt2 Vector object containing the second point
aNum number of beams to be created
aPropSet Property object that will be assigned to the beams
Returns:
EntList object containing the list of beams that were created
Example:
This example create one beam between two points P1 and P2.
Parameters:
aTris Triangles to be projected
Returns:
True if operation is successful; False otherwise
Example:
This example projects triangle T1 T2 T3to geometry.
Parameters:
aStartNodes Node to start
aPropSet Property set for the new beams
aJunction Whether have junction
aNumBranch Number of branches
Returns:
True if operation is successful; False otherwise
Example:
This example converts elements to beams starting with N9.
double MergeTolerance
Merge tolerance; nodes within this tolerance will be
merged after meshing.
Boolean Match
Enables/disables matched meshing for fusion models.
Boolean Smoothing
Specifies whether node positions will be smoothed.
Boolean ElementReduction
Enables/disables automatic element size determination for
fusion meshes from faceted geometry.
Boolean TetraRefine
Enables/disables tetrahedral refinement for 3D meshes.
long TetraLayers
Number of layers through thickness for tetrahedral
meshes.
double TetraMaxAR
Limit on aspect ratio for tetrahedral meshes.
long MaximumMatchDistanceOption
Specifies the option to determine the limit on max match
dist.
double MaximumMatchDistance
Limit on match distance for wedges.
Boolean UseTetrasOnEdge
Specifies whether tetras are to be created on model edges.
Boolean RemeshAll
Specifies whether previously meshed portions of the model
will be re-meshed.
Boolean UseActiveLayer
Specifies whether the newly generated mesh will be
pushed into the active layer.
Boolean PostMeshActions
Specifies whether post-meshing actions such as smoothing
are enabled.
double ChordHeight
Chord height value.
Boolean ChordHeightControl
Specifies whether using chord height.
long NurbsMesher
Specifies nurbs mesher algorithm using default(0) or
Advancing Front(1).
Boolean AutomaticTetraOptimization
Specifies whether optimizing tetras automatically.
String SourceGeomType
Specifies Source Geometry Type.
Boolean ChordHtProximity
Specifies whether using chord height proximity.
Boolean MergeCavityRunner
Specifies whether merging cavity runner.
Detailed Description
You can use this class to create a midplane, fusion or 3D mesh in
the model.
See also:
Synergy::MeshGenerator
Member Function Documentation
Boolean Generate ( )
Returns:
True if the mesh was generated successfully; False otherwise
Example
This example generates a mesh using default parameters:
Boolean SaveOptions ( )
Returns:
True if operation is successful; False otherwise
Example
This example saves mesh options:
double MaxAspectRatio
Maximum aspect ratio.
double AveAspectRatio
Average aspect ratio.
long FreeEdgeCount
Free edge count.
long ManifoldEdgeCount
Manifold edge count.
long NonManifoldEdgeCount
Non-manifold edge count.
long TrianglesCount
Number of triangles.
long TetrasCount
Number of Tetras.
long NodesCount
Number of nodes.
long BeamsCount
Number of beams.
long ConnectivityRegions
Number of connectivity regions.
long Unoriented
Unoriented elements count.
long IntersectionElements
Intersection elements count.
long OverlapElements
Overlap elements count.
long DuplicatedBeams
Duplicated beams count.
double MatchRatio
Mesh match ratio.
double MeshVolume
Mesh volume.
double RunnerVolume
Runner volume.
long ZeroTriangles
Number of zero area triangles.
long ZeroBeams
Number of zero length beams.
double FusionArea
Fusion area.
Detailed Description
You can use this class to mesh summary value such as min, max or
average of aspect ratios, number of entities, connected region, free
edges count, match ratio etc.
See also:
DiagnosisManager::GetMeshSummary
Main Page Alphabetical List Compound List Compound
Members Related Pages
ModelDuplicator Class Reference
This class provides access to the cavity duplication wizard
functionality. More...
Boolean ByColumns
Specify True to arrange by columns; False to arrange
byrows.
long NumCols
Number of columns; relevant only if ByColumns is set to
True.
long NumRows
Number of rows; relevant only if ByColumns is set to False.
double XSpacing
Spacing in the X direction.
double YSpacing
Spacing in the Y direction.
Boolean AlignGates
Specify True to position cavities so that their gates are
aligned.
Detailed Description
You can use this class to duplicate model cavities
See also:
Synergy::ModelDuplicator
Member Function Documentation
Boolean Generate ( )
Duplicates cavities
Returns:
True if the operation succeeded; False otherwise
Example
This example generates cavities using the following parameters.
See also:
Synergy::Modeler
Member Function Documentation
Parameters:
aCoord Vector object that specifies the coordinates at which the
node will be created
Returns:
EntList object containing the node that is created
See also:
CreateNodesBetween , CreateNodesByOffset ,
CreateNodeByIntersect , CreateNodesByDivide
Example:
This example creates a node at (10 ,100 ,0).
Parameters:
aStart Vector object that specifies the coordinates of the first
point
aEnd Vector object that specifies the coordinates of the second
point
aNum number of nodes to be created
Returns:
EntList object containing the nodes that were created
See also:
CreateNodeByXYZ , CreateNodesByOffset ,
CreateNodeByIntersect , CreateNodesByDivide
Example:
This example creates a node at the mid-point of (10 ,100 ,0)
and (100 ,10 ,0).
Parameters:
aCoord Vector object that specifies the reference point
aOffset Vector object that specifies the offset vector
aNum number of nodes to be created
Returns:
EntityList object containing the nodes that were created
See also:
CreateNodeByXYZ , CreateNodesBetween ,
CreateNodeByIntersect , CreateNodesByDivide
Example:
This example creates node at (110, 100, 0), which is (100, 0,
0) offset from (10, 100, 0).
Parameters:
aCurv EntList object that specifies the curve to be divided
aNum number of nodes to be created
aEnds specifies whether nodes need to be created at the ends
of the curves
Returns:
EntityList object containing the nodes that were created
See also:
CreateNodeByXYZ , CreateNodesByOffset ,
CreateNodeByIntersect , CreateNodesBetween
Example:
This example creates 3 nodes by dividing curve C2.
Object CreateEntityList ( )
Returns:
EntList object
Note:
When using this function, it will first ask for result invalidation. If
you want to select entities without checking result, use
StudyDoc.CreateEntityList.
Example:
See also:
Modeler::CreateCurveByConnect
Parameters:
aCurv1 EntList object that specifies the first curve
aCurv2 EntList object that specifies the second curve
aPt Vector object that specifies a point close to the
intersection point. This parameter is used to make a
unique choice if there are multiple intersections
Returns:
EntList object containing the nodes that were created
See also:
CreateNodeByXYZ , CreateNodesByOffset ,
CreateNodesBetween , CreateNodesByDivide
Example:
This example creates a node at intersection point of curves C1
and C2.
Parameters:
aCoord Vector object that specifies the coordinates of the first
point
aVec Vector object that specifies the coordinates of the
second point or an offset vector
aRelative specify False if aVec specifies the coordinates of the
second point and True if aVec specifies an offset that
will be added to the first point to obtain the second
aPropSet Property object that will be assigned to the line
aEndPts specifies whether nodes need to be created at the
ends of the line
Returns:
EntList object containing the line that is created
See also:
FindProperty
Example:
This example creates a line from (110, 100, 0) to (45, 55, 0).
Parameters:
aCenter Vector object that specifies the coordinates of the
center of the arc
aRadius radius of the arc
aStart start angle
aEnd end angle
aPropSet Property object that will be assigned to the arc
aEndPts specifies whether nodes need to be created at the
ends of the arc
Returns:
EntList object containing the arc that is created
See also:
CreateArcByPoints , FindProperty
Example:
This example creates an arc centered at (45, 55, 0) with a
radius of 50; the start angle is 0 degrees and the end angle is 60
degrees.
Parameters:
aPt1 Vector object that specifies the coordinates of the first
point
aPt2 Vector object that specifies the coordinates of the
second point
aPt3 Vector object that specifies the coordinates of the third
point
aCircle specify True to create a circle and False to create an
arc between the first and third points, respectively
aPropSet Property object that will be assigned to the arc
aEndPts specifies whether nodes need to be created at the
ends of the arc
Returns:
EntList object containing the arc that is created
See also:
CreateArcByAngle , FindProperty
Example:
This example create a circle passing through the following three
points.
Set Vector = Synergy.CreateVector()
Set Vector_1 = Synergy.CreateVector()
Set Vector_2 = Synergy.CreateVector()
Set Modeler = Synergy.Modeler()
Modeler.FindProperty 0, 0
Vector.SetXYZ 10, 100, 0
Vector_1.SetXYZ 66.67, 70, 0
Vector_2.SetXYZ 100, 10, 0
Set EntList = Modeler.CreateArcByPoints(Vector, Vector_1,
Vector_2, False, Nothing, True)
Parameters:
aType property type
aID property id
Returns:
Property object of the given type and id
Example:
This example finds the property of type 40420 (cold runner) and id
1.
Parameters:
aCurv1 EntList object containing the first curve
aEnd1 specify 0 to choose the beginning of the first curve or
1 to choose its end
aCurv2 EntList object containing the second curve
aEnd2 specify 0 to choose the beginning of the second curve
or 1 to choose its end
aFactor fillet factor
aPropSet Property object that will be assigned to the curve
Returns:
EntList object containing the curve that is created
See also:
FindProperty
Example:
This example creates a curve that connects curves C17 and C25.
Parameters:
aCoords VectorArray object containing the points that define
the spline
aPropSet Property object that will be assigned to the spline
aEndPts specifies whether nodes need to be created at the
ends of the spline
Returns:
EntList object containing the spline that is created
See also:
FindProperty
Example:
This example creates a spline.
Parameters:
aCurv1 EntList object containing the first curve
aCurv2 EntList object containing the second curve
Returns:
True if operation is successful; False otherwise
Example:
This example breaks curve C1 and C8.
Parameters:
aCurves EntList object containing the boundary curves
aPropSet Property object that will be assigned to the region
Returns:
EntList object containing the region that is created
See also:
CreateRegionByNodes , CreateRegionByRuling ,
CreateRegionByExtrusion , FindProperty
Example:
This example creates a region using the curves C8, C1 and C7.
Parameters:
aNodes EntList object containing the boundary nodes
aPropSet Property object that will be assigned to the region that
is created
Returns:
EntList object containing the region that is created
See also:
CreateRegionByBoundary , CreateRegionByRuling ,
CreateRegionByExtrusion , FindProperty
Example:
This example creates a region using the nodes N14, N9, N4, N8 and
N6.
Set Modeler = Synergy.Modeler()
Set EntList = Modeler.CreateEntityList()
Set Prop = Modeler.FindProperty(40800, 1)
EntList.SelectFromString "N14 N9 N4 N8 N6 "
Set EntList_1 = Modeler.CreateRegionByNodes(EntList, Prop)
Parameters:
aCurves1 EntList object containing the first set of curves
aCurves2 EntList object containing the second set of curves
aPropSet Property object that will be assigned to the region
Returns:
EntList object containing the region that is created
See also:
CreateRegionByNodes , CreateRegionByBoundary ,
CreateRegionByExtrusion , FindProperty
Example:
This example creates a region by a ruling operation between
curve C5 and C4.
Parameters:
aCurve EntList object containing a set of curves
aDir Vector object defining the extrusion vector
aPropSet Property object that will be assigned to the region
Returns:
EntList object containing the region that is created
See also:
CreateRegionByNodes , CreateRegionByBoundary ,
CreateRegionByRuling , FindProperty
Example:
This example creates a region by extruding C7 along the vector
<ttt>(15, 0, 0).
Parameters:
aRegion EntList object containing the region
aCurves EntList object containing the boundary curves for the
hole
Returns:
True if the hole was created; False if the operation failed.
See also:
CreateHoleByNodes
Example:
This example creates a hole on region R3 using C8, C10, C1 and
C7.
Parameters:
aRegion EntList object containing the region
aNodes EntList object containing the boundary nodes for the
hole
Returns:
True if the hole was created; False if the operation failed.
See also:
CreateHoleByBoundary
Example:
This example creates a hole on region R4 using N13, N10, N3.
Parameters:
aEnts EntList object containing the entities to be reflected
aRefPt Vector object that specifies the reference point
aPlane Vector object that specifies the normal to the plane
about which the entities are to be reflected
aCopy specify True to copy entities; False to move them
aMerge specify True to merge nodes after the reflect operation
Returns:
True if operation is successful; False otherwise
Example:
This example copies C6 by reflecting it about the YZ plane.
Parameters:
aEnts EntList object containing the entities to be scaled
aRefPt Vector object that specifies the reference point
aScale Vector object that specifies the scale factors in the three
coordinate directions
aCopy specify True to copy entities; False to move them
aMerge specify True to merge nodes after the reflect operation
Returns:
True if operation is successful; False otherwise
Example:
This example scales the curve C6 by a factor of 1.5 in all
directions.
Parameters:
aEnts EntList object containing the entities to be
translated
aVec Vector object that specifies the translation
aCopy specify True to copy entities; False to move them
aNumCopies for a copy operation, the number of copies to be
made
aMerge specify True to merge nodes after the reflect
operation
Returns:
True if operation is successful; False otherwise
Example:
This example translates node N13, curves C4, C5 and regions R4,
R3.
Parameters:
aEnts EntList object containing the entities to be rotated
aCenter Vector object that specifies the center of rotation
aAxis Vector object that specifies that axis of rotation
aAngle rotation angle
aCopy specify True to copy entities; False to move them
aNumCopies the number of copies to translate
aMerge specify True to merge nodes after the reflect
operation
Returns:
True if operation is successful; False otherwise
Example:
This example rotates region R5 about the X axis.
Parameters:
aEnts EntList object containing the entities to be rotated
aPt1 First point
aPt2 Second point
aPt3 Third point
aCopy specify True to copy entities; False to move them
aNumCopies the number of copies to translate
aMerge specify True to merge nodes after the reflect
operation
Returns:
True if operation is successful; False otherwise
Example:
This example rotates a triangle based on three points.
Parameters:
aCoord1 Vector object that specifies the first point
aCoord2 Vector object that specifies the second point; specify
Nothing if you want to use only one point
aCoord3 Vector object that specifies the third point; specify
Nothing if you want to use only two points
Returns:
EntList object containing the local coordinate system that is
created
Example:
This example creates a local coordinate systems using the three
points below.
Parameters:
aLCS EntList object that specifies the local coordinate system
that will be (de-)activated
aActive specify True to activate and False to de-activate the LCS
aType specify "LCS" to activate as a coordinate system and
"Plane" tp activate as a modeling plane. This parameter
is ignored if an LCS is being de-activated
Returns:
True if operation is successful; False otherwise
Example:
This example activates LCS1 as a modeling plane.
Object CreateBoundaryList ( )
Returns:
BoundaryList object
Example:
See also:
Modeler::SetMeshSize
Parameters:
aEnts EntList object containing the entities to be set
mesh size
aBoundaries BoundaryList object containing boundary list to be
set mesh size
aSize mesh size
Returns:
True if operation is successful; False otherwise
Example:
This example sets region R54 remesh size to 1.5
Parameters:
aEnts EntList object of given entities
aBoundaries BoundaryList object
aScale scale value
Returns:
True if operation is successful; False otherwise
Example:
This example reduces mesh density by half.
Set Modeler = Synergy.Modeler()
Set EntList = Modeler.CreateEntityList()
Set BoundaryList = Modeler.CreateBoundaryList()
EntList.SelectFromString ""
BoundaryList.SelectFromString "S78:0:1 "
Modeler.ScaleMeshDensity EntList, BoundaryList, 0.5
Main Page Alphabetical List Compound List Compound
Members Related Pages
MoldSurfaceGenerator Class Reference
This class provides access to the mold surface wizard functionality.
More...
Object Origin
If you set the above to False, specify a center for the mold
surfaceusing this parameter.
Object Dimensions
Vector object that specifies the mold dimensions in the X,
Y, and Z directions.
Detailed Description
You can use this class to automatically generate a mold surface
boundary in your model
See also:
Synergy::MoldSurfaceGenerator
Member Function Documentation
Boolean Generate ( )
Returns:
True if the operation succeeded; False otherwise
Example:
This example generates mold surfaces using the following
parameters.
See also:
PlotMgr::GetFirstPlot , PlotMgr::GetNextPlot ,
PlotMgr::CreatePlotByDsID , PlotMgr::CreatePlotByName ,
PlotMgr::CreateXYPlotByName , Viewer::ShowPlot ,
Viewer::HidePlot , Viewer::OverlayPlot , Viewer::GetPlot
Member Function Documentation
Regenerate ( )
Example
This example regenerates plot.
Plot.SetScaleOption 1
Plot.Regenerate
long GetNumberOfFrames ( )
Returns:
total number of frames
See also:
SetNumberOfFrames
Example:
This example gets the number of frames
nFrames = Plot.GetNumberOfFrames()
Parameters:
aNewValue number of animation frames
See also:
GetNumberOfFrames This example set the number of animation
frames to be 4 (for min/max animation only)
Example:
This example sets number of frames to be 4
Plot.SetNumberOfFrames 4
String GetName ( )
Returns:
name of the plot
See also:
SetName
Example:
This example returns plot name
strName = Plot.GetName()
Parameters:
aName name of the plot
See also:
GetName
Example:
This example set plot name to "My Fill Time Result"
Plot.SetName "My Fill Time Result"
long GetNumberOfContours ( )
Returns:
number of plot contours
See also:
SetNumberOfContours
Example:
This example gets number of contours.
nContours = Plot.GetNumberOfContours()
Parameters:
aNbCountours number of plot contours
See also:
GetNumberOfContours
Example:
This examples set number of contour to be 5.
Plot.SetNumberOfContours 5
long GetComponent ( )
Gets displayed data component
Returns:
data component
0: X component of vectors or 11 component of tensors
1: Y component of vectors or 22 component of tensors
2: Z component of vectors or 33 component of tensors
3: magnitude of vectors or 12 component of tensors
4: 23 component of tensors
5: 31 component of tensors
6: first tensor principal value
7: second tensor principal value
8: third tensor principal value
See also:
SetComponent
Example:
This example returns data component.
nNumber = Plot.GetComponent()
Parameters:
aComponent data component
See also:
GetComponent
Example:
This example set to use component 1 to colot the plot
Plot.SetComponent 1
double GetMeshFill ( )
Returns:
mesh fill value The value changes from 0 to 1, stands for plot
opacity
See also:
SetMeshFill
Example:
This example returns mesh fill value.
dMesh = Plot.GetMeshFill()
Parameters:
aMeshFill mesh fill option
See also:
GetMeshFill
Example:
This example set mesh fill value.
Plot.SetMeshFill 0.5
Boolean GetNodalAveraging ( )
See also:
SetNodalAveraging
Example:
This example gets nodal averaging option.
isAve = Plot.GetNodalAveraging
Parameters:
aNodalAvg nodal averaging option
See also:
GetNodalAveraging
Example:
This example set the plot not to use nodal averaging
Plot.SetNodalAveraging False
Boolean GetSmoothShading ( )
Returns:
True if smooth shading is on
See also:
SetSmoothShading
Example:
This example gets smooth sharding options.
isAve = Plot.GetSmoothShading
Parameters:
aSmooth smooth shading option
See also:
GetSmoothShading
Example:
This example sets smooth shading option to false.
Plot.SetSmoothShading False
Boolean GetColorScale ( )
Returns:
True if color scale is from blue-to-red; False if vice-versa
See also:
SetColorScale
Example:
This example gets color scale option.
isScale = Plot.GetColorScale
SetColorScale ( Boolean aColorScale )
Parameters:
aColorScale color scale
See also:
GetColorScale
Example:
This example sets color scale option to False.
Plot.SetColorScale False
Boolean GetCapping ( )
Returns:
True if the part of model behide active cutting planes is shown in
addition to the clipping plane
See also:
SetCapping
Example:
This example gets plot capping options.
isScale = Plot.GetCapping
Parameters:
aCapping Capping plane option
See also:
GetCapping
Example:
This example set plot Capping option.
Plot.SetColorScale True
long GetScaleOption ( )
Returns:
scale option
0: automatic scaling over all frames
1: automatic scaling with colors scaled per animation frame
2: specified (manual) scaling
See also:
SetScaleOption
Example:
This example gets scale option.
scale = Plot.GetScaleOption
Parameters:
aScale scale option
See also:
GetScaleOption
Example:
This example sets scale option to 1.
Plot.SetScaleOption 1
long GetPlotMethod ( )
Returns:
plot method
1: Deflection plot
2: Shaded plot
4: Contour plot
8: Display vector as darts
16: Display vector as segments
32: Display tensor as axes
64: Display tensor as ellipses
128: Display tensor principal vector as darts
256: Display tensor principal vector as segments
See also:
SetPlotMethod
Parameters:
aPlotMethod plot method
See also:
GetPlotMethod
Example:
This example set to use contour method
Plot.SetPlotMethod 4
long GetAnimationType ( )
Returns:
animation type
0: frame animation(e.g. Average Velocity)
1: min-max animation(e.g. Fill Time)
See also:
SetAnimationType
Example:
This example gets animation type.
aType = Plot.GetAnimationType
Parameters:
aType animation type
0: frame animation(e.g. Average Velocity)
1: min-max animation(e.g. Fill Time)
See also:
GetAnimationType
Example:
This example sets animation type to 1.
Plot.SetAnimationType 1
long GetNumberOfIndpVars ( )
Returns:
number of independent variables
Example:
This example returns number of independent variables.
nVar = Plot.GetNumberOfIndpVars()
long GetActiveIndpVar ( )
Returns:
active independent variable
See also:
SetActiveIndpVar
Example:
This example gets active independent variable.
nVar = Plot.GetActiveIndpVar()
See also:
SetActiveIndpVar
Example:
This example set active indenpedent variable to 1.
Plot.SetActiveIndpVar 1
Parameters:
aIndex specifies which independent variable is being specified
aValue independent variable value
Example:
This example sets fixed indenpedent variable.
Plot.SetFixedIndpVar 0
Boolean GetExtendedColor ( )
Returns:
True if extended coloring is on
See also:
SetExtendedColor
Example:
This example gets extended color option.
exOn = Plot.GetExtended
Parameters:
aExtendedColor extended coloring option
See also:
GetExtendedColor
Example:
This example sets extended color option to be True.
Plot.SetExtendedColor True
Parameters:
aNbColors number of colors
See also:
GetColorBands
Example:
This example sets color bands to 256.
Plot.SetColorBands 256
long GetColorBands ( )
Returns:
number of color bands
values between 2 through 64: banded coloring with this
number of colors
256: smooth coloring
See also:
SetColorBands
Example
This example gets color bands.
colBands = Plot.GetColorBands
Boolean GetXYPlotShowLegend ( )
Returns:
returns True if the legend is shown
See also:
SetXYPlotShowLegend
Example:
This example gets option whether to show XY plot legend.
show = Plot.GetXYPlotShowLegend
See also:
GetXYPlotShowLegend
Example:
This example sets option to not show XY plot legend.
Plot.SetXYPlotShowLegend False
Boolean GetXYPlotShowPoints ( )
Returns:
True if data points are displayed
See also:
SetXYPlotShowPoints
Example:
This example get option whether to display points in XY plots.
show = Plot.GetXYPlotShowPoints
Parameters:
aShowP display option
See also:
GetXYPlotShowPoints
Example:
This example set option to display points in XY plot.
Plot.SetXYPlotShowPoints True
Parameters:
aOverlay overlay option
See also:
GetXYPlotOverlayWithMesh
Example:
This example sets XY plot overlay option to be True.
Plot.SetXYPlotOverlayWithMesh True
Boolean GetXYPlotOverlayWithMesh ( )
Gets XY plot overlay option @Return True if plot is overlaid with the
model
See also:
SetXYPlotOverlayWithMesh
Example:
This example get XY plot overlay options.
withMesh = Plot.GetXYPlotOverlayWithMesh
long GetXYPlotMaxNumberOfCurves ( )
Gets maximum number of curves for XY plots
Returns:
maximum number of curves
See also:
SetXYPlotMaxNumberOfCurves
Example:
This example gets XY plot maximum number of curves.
maxCur = Plot.GetXYPlotMaxNumberOfCurves
Parameters:
aNbCurves maximum number of curves
See also:
GetXYPlotMaxNumberOfCurves
Example:
This example set maximum number of curves of XY plot to be 5.
Plot.SetXYPlotMaxNumberOfCurves 5
Parameters:
aAutoRX range
See also:
GetXYPlotAutoRangeX
Example:
This example sets automatic X range option.
Plot.SetXYPlotAutoRangeX True
Boolean GetXYPlotAutoRangeY ( )
Parameters:
aAutoRY range
See also:
SetXYPlotAutoRangeY
Example:
This example gets automatic Y range option.
autoY = Plot.GetXYPlotAutoRangeY
Boolean GetXYPlotAutoRangeX ( )
Returns:
True if the X range is determined automatically
See also:
SetXYPlotAutoRangeX
Example
This example gets automatic X range option.
autoX = Plot.GetXYPlotAutoRangeX
Returns:
True if the Y range is determined automatically
See also:
GetXYPlotAutoRangeY
Example
This example sets automatic Y range option to be True.
Plot.SetXYPlotAutoRangeY True
String GetXYPlotTitleX ( )
Returns:
X axis title
See also:
GetXYPlotTitleY
Example:
This example gets X axis title.
xTitle = Plot.GetXYPlotTitleX
String GetXYPlotTitleY ( )
Gets Y axis title
Returns:
Y axis title
See also:
GetXYPlotTitleX
Example
This example gets Y axis title.
yTitle = Plot.GetXYPlotTitleY
Parameters:
aTitle plot title
Example:
This example sets XY Plot title to be "Thickness".
Plot.SetXYPlotTitle "Thickness"
Parameters:
aXTitle X axis title
See also:
SetXYPlotTitleY , GetXYPlotTitleX
Example:
This example sets X axis title to be "Normalized Thickness".
Parameters:
aYTitle Y axis title
See also:
GetXYPlotTitleY , SetXYPlotTitleX
Example:
This example sets Y axis title to be "Pressure Trace".
double GetMinValue ( )
Returns:
minimum value
See also:
SetMinValue
Example:
This example gets minimum value of plotted range.
minV = Plot.GetMinValue
SetMinValue ( double aMinValue )
Parameters:
aMinValue minimum value
See also:
GetMinValue
Example:
This example set minimum value of plotted range to be 0.5.
Plot.SetMinValue 0.5
double GetMaxValue ( )
Returns:
Maximum value
See also:
GetMinValue , SetMaxValue
Example:
This example gets maximum value of plotted range.
maxV = Plot.GetMaxValue
Parameters:
aMaxValue maximum value value
See also:
SetMinValue , GetMaxValue
Example:
This example sets maximum value of plotted range to be 1.5.
Plot.SetMaxValue 1.5
double GetXYPlotMinX ( )
Returns:
minimum X value
Example:
This example gets minimum X value.
minX = Plot.GetXYPlotMinX()
double GetXYPlotMaxX ( )
Returns:
maximum X value
Example:
This example gets maximum X value.
maxX = Plot.GetXYPlotMaxX()
double GetXYPlotMinY ( )
Gets minimum Y for XY plots
Returns:
minimum value
Example:
This example gets minimum Y value.
minY = Plot.GetXYPlotMinY()
double GetXYPlotMaxY ( )
Returns:
maximum value
Example:
This example gets maximum Y value.
maxY = Plot.GetXYPlotMaxY()
Parameters:
aMinX minimum value
Example:
This example set minimum X value to be 15.
Plot.SetXYPlotMinX 15
SetXYPlotMaxX ( double aMaxX )
Parameters:
aMaxX maximum value
Example:
This example sets maximum X value to be 150.
Plot.SetXYPlotMaxX 150
Parameters:
aMinY minimum value
Example:
This example sets minimum Y value to be 15.
Plot.SetXYPlotMinY 15
Parameters:
aMaxY maximum value
Example:
This example sets maximum Y to be 150.
Plot.SetXYPlotMaxY 150
double GetXYPlotLegendRectLeft ( )
Returns:
left position
Example:
This example gets XY plot legend left position.
recLeft = Plot.GetXYPlotLegendLeft
double GetXYPlotLegendRectBottom ( )
Returns:
bottom position
Example:
This example gets XY plot legend bottom position.
recBot = Plot.GetXYPlotLegendBottom
double GetXYPlotLegendRectWidth ( )
Returns:
width
Example:
This example gets XY plot legend width.
recWidth = Plot.GetXYPlotLegendWidth
double GetXYPlotLegendRectHeight ( )
Returns:
height
Example:
This example gets XY plot legend height.
recHeight = Plot.GetXYPlotLegendHeight
Parameters:
aLeft left position
Example:
This example sets XY plot legend left position to be 0.1.
Plot.SetXYPlotLegendLeft 0.1
Parameters:
aBottom bottom position
Example:
This example sets XY plot legend bottom position to be 0.1.
Plot.SetXYPlotLegendBottom 0.1
Parameters:
aWidth width
Example:
This example sets XY plot legend width to be 0.5.
Plot.SetXYPlotLegendWidth 0.5
Parameters:
aHeight height
Example:
This example sets XY plot legend height to be 0.5.
Plot.SetXYPlotLegendHeight 0.5
String GetPlotType ( )
Returns:
plot type, which is one of:
Highlight Plot
XY Plot
Vector Plot
Tensor Plot
XYZ Plot
Shrink Check Plot
Sink Mark Plot
Contour Plot
Example:
This example gets plot type.
type = Plot.GetPlotType
String GetNotes ( )
Returns:
plot notes
Example:
This examples gets plot notes.
note = Plot.GetNotes
Parameters:
aNotes plot notes
Example:
This example sets plot notes to be "This is the fill-time plot for the
model with 3 gates".
Plot.SetNote "This is the fill-time plot for the model with 3 gates"
Parameters:
aFilename XML file name
Example:
This example saves results in "c:\mpi project\result.xml".
Parameters:
aBaseFileName basename for the Patran results fileset;
extensions will be automatically added as
required
Example:
This example saves results in "C:\mpi310-files
long GetXYPlotNumberOfCurves ( )
Returns:
number of curves
AddXYPlotCurve ( Object aEntities)
Parameters:
aEntities curve objects to be added
Parameters:
aEntities curve objects to be deleted
Parameters:
aEdgeDisplay edge display option
0 - Off
1 - Feature edge
2 - Mesh edge
See also:
GetEdgeDisplay
Example:
This example sets edge display to be 1.
Plot.SetEdgeDisplay( 1 )
long GetEdgeDisplay ( )
Gets edge display option
Returns:
0 - Off
1 - Feature edge
2 - Mesh edge
See also:
SetEdgeDisplay
Example:
This example gets edge display option.
bEdge = Plot.GetEdgeDisplay()
long GetDataNbComponents ( )
Returns:
number of components, which could be 1, 3, or 6
Example:
This example gets number of components( =3 ) of "Average
velocity" plot
long GetDataID ( )
Example:
This example gets plot ID of "Pressure" plot
String GetDataType ( )
Returns:
Data type string, which could be one of the following
LBDT
LYDT
NDDT
ELDT
NMDT
TXDT
HLDT
Example:
This example prints "NDDT" on screen
Boolean RestoreOriginalPosition ( )
Example:
This example restores the original position of the deformed part
in a deflection plot
Parameters:
aNodes EntityList object of nodes
Returns:
True if successful
Example:
This example applies best on a deflection plot
double GetDeflectionScaleFactor ( )
Returns:
deflection scale factor
Example:
This example gets deflection scale factor for a given plot
Parameters:
aFactor deflection scale factor
Example:
This example sets deflection scale factor for a given plot
long GetDeflectionScaleDirection ( )
Returns:
deflection scale factor
0 - X
1 - Y
2 - Z
3 - All directions
Example:
This example gets deflection scale direction for a given plot
Parameters:
aDir scale direction
0 - X
1 - Y
2 - Z
3 - All directions
Example:
This example sets deflection scale direction for a given plot
Boolean GetDeflectionOverlayWithMesh ( )
Returns:
True if successful
Example:
This example gets the flag of deflection overlay with mesh
Set PlotMgr = Synergy.PlotManager()
Set Plot = PlotMgr.FindPlotByName("Deflection, all
effects:Deflection")
flag = Plot.GetDeflectionOverlayWithMesh()
Parameters:
aOverlay True or False
Example:
This example sets the flag of deflection overlay with mesh to be
True
Boolean GetDeflectionShowAnchorPlane ( )
Returns:
True if successful
Example:
This example gets the flag of deflection show anchor plane
Parameters:
aShow True or False
Example:
This example sets the flag of deflection show anchor plane to be
false
Boolean WarpQueryBegin ( )
Returns:
TRUE if successful
Example:
This example queries on node 96 and node 358
Example:
This example queries on node 96 and node 358
Parameters:
aNodeID node ID
aRetValues returned query values (node coordinates before and
after deflection, and displacements)
Returns:
TRUE if successful
Example:
This example queries on node 96 and node 358
long GetProbePlotNumberOfProbeLines ( )
Returns:
Number of probe lines
Example:
This example retrieves number of probe lines of a given plot
Parameters:
aIndex probe line index
aStartPt probe line start point
aEndPt probe line end point
Returns:
TRUE if successful
Example:
This example gets the first proble line in the plot
Parameters:
aStartPt probe line start point
aEndPt probe line end point
Returns:
TRUE if successful
Example:
This example adds a probe line to the plot
Parameters:
aIndex probe line index
aStartPt probe line start point
aEndPt probe line end point
Returns:
TRUE if successful
Example:
This example sets new start and end point to a given probe line
Parameters:
aBaseFileName basename for the Patran results fileset;
extensions will be automatically added as
required
aUnitSysName Unit system name as "English" or "Metric"
Returns:
True if successful
Example:
This example saves results in "C:\mpi_project\test.ele" in English
unit
Parameters:
aFilename XML file name
aUnitSysName Unit system name as "English" or "Metric"
Example:
This example saves results in "c:\mpi_project\result.xml" in
Metric.
Returns:
number of animation frames
Example:
This example gets the number of animation frames
nFrames = Plot.GetNumberOfAnimationFrames()
long GetFirstAnimationFrameIndex ( )
Gets the index of the first animation frame in a frame animation plot
Returns:
frame index
Example:
This example gets the index of the first animation frame
iFrame = Plot.GetFirstAnimationFrameIndex()
Sets the index of the first animation frame in a frame animation plot
Returns:
TRUE if successful
Example:
This example sets the index of the first animation frame
Plot.SetFirstAnimationFrameIndex iFrame
long GetLastAnimationFrameIndex ( )
Gets the index of the last animation frame in a frame animation plot
Returns:
frame index
Example:
This example gets the index of the last animation frame
iFrame = Plot.GetLastAnimationFrameIndex()
Sets the index of the last animation frame in a frame animation plot
Returns:
TRUE if successful
Example:
This example sets the index of the last animation frame
Plot.SetLastAnimationFrameIndex iFrame
Parameters:
aNbFrames number of animation frames This example set the
number of animation frames to be 4
Example:
This example sets number of frames to be 4
Plot.SetNumberOfAnimationFrames 4
Boolean SaveXYPlotCurveData ( String aFileName )
Parameters:
aFilename text file name
Example:
This example saves results in "c:\mpi project\xycurves.txt".
Parameters:
aFilename text file name
aScaleFactor scale factor. If aScaleFactor < 0, the deflection will
be applied in the opposite direction.
aBinary TRUE for binary format and FALSE for ASCII
format
Example:
This example saves warped mesh in "c:\mpi project\wm.stl" with
scale factor 1.0 in ASCII format and in the opposite direction.
Parameters:
aFilename text file name
aScaleFactor scale factor
Example:
This example saves warped mesh in "c:\mpi project\wm.udm".
Parameters:
aFilename text file name
aScaleFactor scale factor. If aScaleFactor < 0, the deflection
will be applied in the opposite direction.
aBinary TRUE for binary format and FALSE for ASCII
format
aUnitSysName Unit system name as "English" or "Metric", the
default is "SI"
Example:
This example saves warped mesh in "c:\mpi project\wm.stl" with
scale factor 1.0 in ASCII format, in the opposite direction and In
English unit.
Plot.SaveWarpedShapeInSTL2 "c:\mpi project\wm.stl", -1.0,
False, "English"
Main Page Alphabetical List Compound List Compound
Members Related Pages
PlotMgr Class Reference
This class is used to create, enumerate and fetch plots. More...
See also:
Synergy::PlotManager
Member Function Documentation
Object GetFirstPlot ( )
Returns:
Plot object that corresponds to the first plot
Example:
This example displays the first plot
Parameters:
aPlot Plot object
Returns:
Plot object that corresponds to the next plot in the study
Example:
This example displays the second plot
Parameters:
aDsID dataset ID
aIsXYPlot whether an XY plot needs to be created (only if this
dataset supports XY plots)
Returns:
Plot object that corresponds to the created plot
Example:
This example creates a Fill Time (1610) plot
Parameters:
aPlotName plot name
aIsXYPlot whether an XY plot needs to be created (only if this
dataset supports XY plots)
Example:
This example creates a pressure plot
Set Synergy = CreateObject("synergy.Synergy")
Set PlotMgr = Synergy.PlotManager()
Set Viewer = Synergy.Viewer()
Set Plot = PlotMgr.CreatePlotByName("Pressure", 0)
Viewer.ShowPlot Plot
Parameters:
aPlotName XY plot name
Returns:
Plot object that corresponds to the created plot
Example:
This example creates a pressure XY plot
Parameters:
aPlotName name of the plot to be deleted
See also:
DeletePlotByDsID
Example:
This example deletes first plot.
Parameters:
aDSID dataset ID of the plot to be deleted
See also:
DeletePlotByName
Example:
This example deletes first plot.
Deletes a plot
Parameters:
aPlot Plot object that corresponds to the plot to be deleted
Note:
You cannot use the plot object after it has been deleted, e.g., as
a parameter in the GetNextPlot function
See also:
DeletePlotByDsID , DeletePlotByName
Example:
This example deletes first plot.
Parameters:
aDsID dataset ID
See also:
DataHasXYPlotByName
Parameters:
aName dataset name
Returns:
True if XY plot is available for the data
See also:
DataHasXYPlotByName
Parameters:
aDsId DataSet ID
aIndpValue Independ value
aEntIDs IntegerArray of elements ID
aScalarData DoubleArray of data
Returns:
True if successful
Example:
This example gets result data 1190 (Pressure (end of filling))
Parameters:
aDsId DataSet ID
aIndpValue Independ value
aEntIDs IntegerArray of elements ID
aVa DoubleArray of first data
aVb DoubleArray of second data
aVc DoubleArray of third data
Returns:
True if successful
Example:
This example gets average velocity result data
Returns:
True if successful
Example:
This example gets tensor result data 4000 (Average fiber
orientation)
Parameters:
aDsId DataSet ID
aIndpValue Independ value
aNmData Non-mesh data
Returns:
True if successful
Example:
This example gets non-mesh data from 1150
Object CreateUserPlot ( )
Returns:
Plot object
Example:
See UserPlot::SetScalarData
Returns:
Dataset ID
Example:
See DataTransform::Func
Parameters:
aName Plot name
Returns:
Plot object
Example:
This example changes plot value range and recreate,
Parameters:
aDsID Dataset ID
Returns:
Independent variable count
Example:
See UserPlot::AddVectorData
Parameters:
aDsID Dataset ID
aValues DoubleArray to hold independent variable values
Returns:
True if successful
Example:
This example gets independent variable values from dataset
1420.
Parameters:
aDataID Data set ID
Returns:
number of components, which could be 1, 3 or 6
Example:
This example displays 3
Parameters:
aDataID Data set ID
Returns:
Data type string, which can be one of the following
LBDT
LYDT
NDDT
ELDT
NMDT
TXDT
HLDT
Example:
See UserPlot::AddVectorData
Parameters:
aName Plot name
Returns:
Number of data set IDs found
Example:
This example finds the number of data set ID with name "Bulk
temperature (end of filling)"
Parameters:
aNodeID1 First node ID
aNodeID2 Second node ID
aNodeID3 Third node ID
aName Anchor plane name
Returns:
Total number of anchor plane, -1 if failed
Example:
This example creates anchor plane at node 12, 14, 15 named
"First Anchor Plane"
Parameters:
aAnchorIndex anchor plane index
aPlot Plot object
Returns:
True if successful
Example:
This example applies anchor plane 1 to plot "Deflection, all
effects"
PlotMgr.ApplyAnchorPlane 1, Plot
Parameters:
aAnchorIndex anchor plane index
aNodeID1 first node
aNodeID2 second node
aNodeID3 third node
Returns:
True if successful
Example:
This example sets anchor plane 1 to use node 145, 13, 45
Parameters:
aAnchorIndex anchor plane index
aNodeIndex node index
Returns:
Node ID
Example:
This example gets first node ID of anchor plane 1
id = PlotMgr.GetAnchorPlaneNode 1, 1
Parameters:
aAnchorIndex anchor plane index
aName anchor plane name
Returns:
True if successful
Example:
This example names anchor plane 1 as "Test Plane"
long GetNumberOfAnchorPlanes ( )
Returns:
number of anchor plane
Example:
This example gets number of anchor plane
count = PlotMgr.GetNumberOfAnchorPlanes()
MsgBox count
Parameters:
aAnchorIndex index of anchor plane
Returns:
True if successful
Example:
This example deletes anchor plane 1
PlotMgr.DeleteAnchorPlaneByIndex 1
Boolean SaveResultDataInXML ( long aDataID,
String aFileName
)
Parameters:
aDataID result data ID
aFileName XML file name
Returns:
True if successful
Example:
This example saves result 1465 into "C:\temp\Test.xml"
Set PlotMgr=Synergy.PlotManager()
PlotMgr.SaveResultDataInXML 1465, "C:\temp\Test.xml"
Parameters:
aAnchorName name of anchor plane
Returns:
True if successful
Example:
This example deletes anchor plane "My anchor plane"
Parameters:
aDsID dataset ID
Returns:
String the format string (C-Style format string)
Example:
This example gets display format for the dataset in the active plot
Parameters:
aDsID dataset ID
aFormatStr the format string(C-style format string)
Returns:
True if successful
Example:
This example sets display format for the dataset in the active plot
Set Synergy = CreateObject("synergy.Synergy")
Set Viewer = Synergy.Viewer()
Set Plot = Viewer.ActivePlot
Set PlotMgr = Synergy.PlotManager()
PlotMgr.SetDataDisplayFormat Plot.GetDataID(), "%.10G"
WarpQueryEnd ( )
Example:
This example queries displacement values in the first anchor
plane on node 100
Queries on a node
Parameters:
aNodeID data set id
aAnchorIndex anchor plane index. If the index is invalid, only the
displacement components in global coordinate
system are returned
aRetValues returned query values (node coordinates and
displacements in global and local coordinate
systems)
Returns:
True if successful
Example:
This example queries displacement values in the first anchor
plane on node 100
Parameters:
aDsID data set id
aIndpValues independent variable values
Returns:
TRUE is successful
Example:
This example queries displacement values in the first anchor
plane on node 100
Parameters:
aDataID result data ID
aFileName XML file name
aUnitSysName Unit name, Metric or English
Returns:
True if successful
Example:
This example saves result 1465 into "C:\temp\Test.xml"
Set PlotMgr=Synergy.PlotManager()
PlotMgr.SaveResultDataInXML 1465, "C:\temp\Test.xml",
"English"
Finds anchor plane index from the given anchor plane name
Parameters:
aName anchor plane name
Returns:
anchor index if successful, otherwise return -1
Example:
This example gets the index of anchor plane "My Anchor"
Returns:
True for successful setting
Example:
This example marks Fill time result for export
Marks all results for export (up to the limit of allowable results)
Parameters:
aExport True for marking and False for unmarking
Returns:
True for successful setting
Example:
This example unmarks all results for export
PlotManager.MarkAllResultsForExport True
Boolean AddDefaultPlots ( )
Example:
This example add all of the default plots
PlotMgr.AddDefaultPlots()
Boolean SaveResultDataInPatran ( long aDataID,
String aFileName,
String aUnitSysName
)
Parameters:
aDataID result data ID
aFileName Patran file name
aUnitSysName Unit name, Metric or English
Returns:
True if successful
Example:
This example save result 1180 into "d:\temp\pressure"
Set PlotMgr=Synergy.PlotManager()
PlotMgr.SaveResultDataInPatran 1180, "d:\temp\pressure",
"Metric"
long GetNumberOfResultsFiles ( )
Returns:
number of results files
Example:
This example gets number of results files
count = PlotMgr.GetNumberOfRdbFiles()
MsgBox count
String GetResultsFileName ( long aResultsFileIndex )
Parameters:
aResultsFileIndex results file index
Returns:
results file name
Example:
This example gets the file name at the given index
rdbFileName = PlotMgr.GetResultsFileName(aResultsFileIndex)
Main Page Alphabetical List Compound List Compound
Members Related Pages
Predicate Class Reference
This class is used to specify predicates to populate entity lists.
More...
See also:
Synergy::PredicateManager
Member Function Documentation
Parameters:
aStr label range of the form prefix[lower limit]:[upper limit]; entity
prefixes are:
Nodes: N
Beams: B
Triangles: T
Tetrahedral elements: TE
Curves: C
Surfaces: S
Regions: R
STL envelopes: STL
Nodal boundary conditions: NBC
Surface/element boundary conditions: SBC
Local coordinate systems: LCS
Returns:
Predicate object
See also:
EntList::SelectFromPredicate
Example:
This example selects nodes N23 to N100 and assigns them to
layer L5.
Parameters:
aType property type
aID property ID
Returns:
Predicate object
See also:
CreatePropTypePredicate , EntList::SelectFromPredicate
Example:
This example selects entities that have been assigned the
property of the type 40800 (part surface - midplane) and ID 1.
Parameters:
aType property type
Returns:
Predicate object
See also:
CreatePropertyPredicate , EntList::SelectFromPredicate
Example:
This example selects entities that have be assigned a property
type of 40800 (part surface - midplane).
Parameters:
aMin minimum thickness
aMax maximum thickness
Returns:
Predicate object
See also:
EntList::SelectFromPredicate
Example:
This examples selects entities with thickness between 1 and 5.
Parameters:
aLeft Predicate object
aRight Predicate object
Returns:
Predicate object that corresponds to the AND predicate
See also:
EntList::SelectFromPredicate
Example:
This example selects triangles with labels ranging from T1 to T35
and thicknesses ranging from 1 and 5.
Set Predicate1 =
PredicateManager.CreateThicknessPredicate(1, 5)
Set Predicate2 =
PredicateManager.CreateLabelPredicate("T1:35")
Set Predicate = PredicateManager.CreateBoolAndPredicate(
Predicate1, Predicate2 )
Parameters:
aLeft Predicate object
aRight Predicate object
Returns:
Predicate object that corresponds to the OR predicate
See also:
EntList::SelectFromPredicate
Example:
This example select entities that either have thicknesses from 1
to 5 or labels ranging from T1 to T35.
Set Predicate1 =
PredicateManager.CreateThicknessPredicate(1, 5)
Set Predicate2 =
PredicateManager.CreateLabelPredicate("T1:35")
Set Predicate = PredicateManager.CreateBoolOrPredicate(
Predicate1, Predicate2 )
Parameters:
aPred Predicate object
Returns:
Predicate object
See also:
EntList::SelectFromPredicate
Example:
This examples selects entities with thicknesses < 1 or > 5.
Set Predicate1 =
PredicateManager.CreateThicknessPredicate(1, 5)
Set Predicate = PredicateManager.CreateBoolNotPredicate(
Predicate1)
Returns:
Predicate object that corresponds to the XOR predicate
See also:
EntList::SelectFromPredicate
Example:
This example selects entities with thickness between 1 and 5 or
labels ranging from T1 to T35, excluding those entities that satisfy
both conditions or do not satisfy either condition
Set Predicate1 =
PredicateManager.CreateThicknessPredicate(1, 5)
Set Predicate2 =
PredicateManager.CreateLabelPredicate("T1:35")
Set Predicate = PredicateManager.CreateBoolXorPredicate(
Predicate1, Predicate2 )
Parameters:
aType cross-section type
aMin DoubleVector that specifies minimum values for
parameters defining the cross section
aMax DoubleVector that specifies maximum values for
parameters defining the cross section
Please refer to the following table for required
parameters:
Cross Section Type Parameters Required
Circular Diameter
Rectangular Width, Height
Annular Outer diameter, Inner diameter
Half-Circular Diameter, Height
U-shape Width, Height
Trapezoidal Top width, Bottom width, Height
Returns:
Predicate object
Example
This example select entities with a trapezoidal cross-section with
top width between 0.01 and 0.1, bottom width between 0.01 and
0.1 and height between 0.01 and 0.02.
See also:
Synergy::Project
Member Function Documentation
Boolean Close ( )
Returns:
True if successful; False otherwise
Example:
This example closes the current project.
Boolean SaveAll ( )
Returns:
True if successful; False otherwise
Example:
This example saves all the open documents in the project.
Parameters:
aName study name
Returns:
True if successful; False otherwise
Example
This example creates a new study called "My Study" in the
current project.
Parameters:
aName folder name
Returns:
True if successful; False otherwise
Example
This example creates a new folder called "My Folder" in the
current project.
Boolean Compact ( )
Returns:
True if successful; False otherwise
Example:
This example compacts the current project.
Parameters:
aFile name of file
aSelected specify True to export selected items only; False to
export all items
aResult specify True to export results too
Returns:
True if successful; False otherwise
Example
This example exports the entire project along with results.
Parameters:
aFile name of file
Returns:
True if successful; False otherwise
Note:
The format of the exported file is automatically determined from
the file extension
Example:
This example exports the current model into an mfl file.
Parameters:
aName name of the study to duplicate
Returns:
True if successful; False otherwise
Note:
MPI tries to prevent you from duplicating study names in the
project; however if you have duplicated study or report names in
your project, this function will duplicate the first item that matches
the name
Example
This example duplicates the study named "My Study".
Parameters:
aName name of the item to be deleted
aType specify:
Study to open a study, and
Report to open a report
Returns:
True if successful; False otherwise
Note:
MPI tries to prevent you from duplicating study names in the
project; however if you have duplicated study or report names in
your project, this function will delete the first item that matches
the name
Example:
This example deletes project the study named "My Study".
Parameters:
aName name of the item
aType specify:
Study to open a study, and
Report to open a report
aNewName new name of the item
Returns:
True if successful; False otherwise
Note:
MPI tries to prevent you from duplicating study names in the
project; however if you have duplicated study or report names in
your project, this function will rename the first item that matches
the name
Example:
This example renames the study "My Study" to be "My New
Study".
Returns:
True if successful; False otherwise
Note:
MPI tries to prevent you from duplicating study names in the
project; however if you have duplicated study or report names in
your project, this function will open the first item that matches the
name
Example
This example opens a study named "My Study".
Parameters:
aIndex index of the item to open
Returns:
True if successful; False otherwise
Note:
This function is mainly used during macro recording only when
you have duplicate item names in the project. The index
associated with an item can change when a project is re-opened
after an item is deleted, etc. It is recommended that you use
OpenItemByName instead
Example
This example opens the item in the project at index 4.
Parameters:
aIndex index of the item to be renamed
aNewName The new name of the item
Returns:
True if successful; False otherwise
Note:
This function is mainly used during macro recording only when
you have duplicate item names in the project. The index
associated with an item can change when a project is re-opened
after an item is deleted, etc. It is recommended that you use
RenameItemByName instead
Example:
This example renames the item at index 4 to "New Study".
Parameters:
aIndex index of the item to be deleted
Returns:
True if successful; False otherwise
Note:
This function is mainly used during macro recording only when
you have duplicate item names in the project. The index
associated with an item can change when a project is re-opened
after an item is deleted, etc. It is recommended that you use
DeleteItemByName instead
Example:
This example deletes the item in project at index 4.
Parameters:
aIndex index of the study to duplicate
Returns:
True if successful; False otherwise
Note:
This function is mainly used during macro recording when you
have duplicate item names in the project. The index associated
with an item can change when a project is re-opened after an
item is deleted, etc. It is recommended that you use
DuplicateStudyByName instead
Example
This example duplicates the study at index 1.
String GetFirstStudyName ( )
Returns:
name of the first study
Example:
This example displays first study name.
Returns:
study name
Example:
This example displays the name of each study.
String GetFirstReportName ( )
Returns:
name of the first report
Example:
This example gets the name of the first report.
Returns:
next report name
Example:
This example displays the name of each report.
Parameters:
aName name of the study to duplicate
aSave whether to save study before duplicate
Returns:
True if successful; False otherwise
Note:
MPI tries to prevent you from duplicating study names in the
project; however if you have duplicated study or report names in
your project, this function will duplicate the first item that matches
the name
Example
This example duplicates the unsaved study named "My Study".
Parameters:
aIndex index of the study to duplicate
aSave whether to save study before duplicate
Returns:
True if successful; False otherwise
Note:
This function is mainly used during macro recording when you
have duplicate item names in the project. The index associated
with an item can change when a project is re-opened after an
item is deleted, etc. It is recommended that you use
DuplicateStudyByName instead
Example
This example duplicates the saved study at index 1.
Parameters:
aServer Server address
aStudy Study name
aJobType Job type
aRunNow True if run now
aPrompts True if show prompts
Returns:
true if successful
Example:
This example schedules an analysis check on study "Cup_Study"
on server "127.0.0.1".
Parameters:
aServer Server address
aStudy Study name
aJobType Job type
aRunNow True if run now
aPrompts True if show prompte
Returns:
True if successful
Example:
This example schedules an analysis on study "Cup_Study" on
server "127.0.0.1".
Parameters:
aFile name of file
aUnit unit index
0 - Millimeter
1 - Centimeter
2 - Meter
3 - Inch
Returns:
True if successful; False otherwise
Note:
The format of the exported file is automatically determined from
the file extension
Example:
This example exports the current model into an mfl file.
Parameters:
aServer Server address
aStudy Study name
aJobType Job type
aRunNow True if run now
aPrompts True if show prompte
Returns:
True if successful
Example:
This example schedules an mesh on study "Cup_Study" on
server "127.0.0.1".
long ID
Property ID (read-only).
String Name
Name of the property.
String FieldDescription
Object FieldValues
Detailed Description
You can use this class to query property information and modify
properties.
Note:
Properties can be edited only when they are created or fetched
from PropertyEditor objects. Properties obtained from other class
objects can only be used for queries
See also:
PropertyEditor::CreateProperty , PropertyEditor::FindProperty ,
PropertyEditor
Member Function Documentation
Parameters:
aID field ID
Returns:
True if the field was deleted successfully; False otherwise
long GetFirstField ( )
Returns:
field ID
Parameters:
aField field ID
Returns:
next field ID
Member Data Documentation
String FieldDescription
Field description
Parameters:
aID field ID
Object FieldValues
Parameters:
aID field ID
Main Page Alphabetical List Compound List Compound
Members Related Pages
PropertyEditor Class Reference
This class is used to create and edit properties. More...
Note:
The property editor creates a copy of the properties in the model
when you create it. All changes made to properties will not be
committed to the study unless you call the function
CommitChanges
See also:
Synergy::PropertyEditor
Member Function Documentation
Deletes a property
Parameters:
aType property type
aID property ID
Returns:
True if successful; False otherwise
Parameters:
aType property type
aID property ID
aDefaults specify True to use default values for property fields;
False to create an empty property
Returns:
Property that is created
Finds a property
Parameters:
aType property type
aID property ID
Returns:
Property that is found
Example:
This example finds property Tset 40800 with subID 5.
Parameters:
aAction can be one of:
Assign: to record property assignments
Edit: to record property edits
Process Conditions: to record process condition
changes
Remove Unused: to record removal of unused
properties
any other string: to record custom actions This
parameter is only used to identify the string used to
record the action for Undo/Redo, etc.
Returns:
True if successful; False otherwise
Example:
This example commits changes.
PropEd.CommitChanges "Edit"
Parameters:
aList EntList object containing entities to which the property is
to be assigned
aProp Property object
Returns:
True if successful; False otherwise
Example:
This example sets property to element "T1".
Object CreateEntityList ( )
Returns:
EntList object
long RemoveUnusedProperties ( )
Returns:
number of properties removed
Parameters:
aType property type
aID ID that is to be assigned to the fetched property; specify
0 to let MPI use the next available ID @aFile database
file name @aFileType specify:
System: if the database is a system database,
User: if the database is a user database, and
empty string: if the file is not located in any of the
standard database locations; in this case, aFile must be
a full path specification
aIndex index of the property in the database; the most
convenient way to determine this index is to record a
macro that selects this property from the database
Returns:
Property that is fetched
Object GetFirstProperty ( long aType )
Parameters:
aType property type; specify 0 to get the first property in the
study
Returns:
Property object; Nothing if there are no properties in the study
Parameters:
aProp Property object
Returns:
Property object that corresponds to the next property; Nothing if
this is the last property
Parameters:
aProp Property object
Returns:
Property object that corresponds to the next property of the same
type; Nothing if there are no more properties of this type
Parameters:
aEnt EntList object containing the entity whose property needs
to be obtained
Returns:
Property object
Main Page Alphabetical List Compound List Compound
Members Related Pages
RunnerGenerator Class Reference
This class provides access to the runner system wizard functionality.
More...
double SprueY
Y coordinate of the sprue.
double SprueLength
Length of the sprue.
double PartingZ
Parting plane Z location.
double TopRunnerZ
Top runner plane Z location of hot runner systems.
double SprueDiameter
Sprue diameter.
double SprueTaperAngle
Included angle of the sprue.
double RunnerDiameter
Runner diameter.
Boolean Trapezoidal
Specify True to generate runners with trapezoidal cross
sections; False for circular.
double TrapezoidAngle
Included angle for trapezoidal runners.
double DropDiameter
Drop diameter.
double DropTaperAngle
Included angle of drops.
Boolean GatesByLength
Specify True to specify length of side gates; False to
specify angles.
double GateDiameter
Orifice diameter of side gates.
double GateTaperAngle
Included angle of side gates.
double GateLength
Length of side gates.
double GateAngle
Angle of side gates.
double TopGateStartDiameter
Start diameter of top gates.
double TopGateEndDiameter
End diameter of top gates.
double TopGateLength
Length of top gates.
Boolean DeleteOld
Specify True to delete the existing runner system; False to
retain it.
Boolean HotRunners
Specifies whether hot runners will be used in your runner
system.
Detailed Description
You can use this class to generate a runner system for your model
See also:
Synergy::RunnerGenerator
Member Function Documentation
Boolean Generate ( )
Returns:
True if the operation succeeded; False otherwise
Example:
This example generates a runner system using default
parameters.
String Name
Name.
String Status
Status.
Detailed Description
You can use this class to define a Server and query server
information(name, status and address).
See also:
SAJobMgr, SAJob
Main Page Alphabetical List Compound List Compound
Members Related Pages
StudyDoc Class Reference
This class is used to query and manipulate studies. More...
String AnalysisSequence
Analysis sequence.
String MeshType
Mesh type.
Object Selection
Selection as a EntList object.
long NumberOfAnalyses
Number of analysis.
StudyName
Study Name.
Detailed Description
You can use the StudyDoc class to query and set the molding
process, analysis sequence and mesh type. In addition, you can also
save and close studies, invoke one or more undo/redo actions, add
files, launch analyses and enumerate entities in your study
See also:
Synergy::StudyDoc
Member Function Documentation
Parameters:
aIndex index of analysis
Returns:
Status of the i-th analysis, which can be one of the following.
New
Pending
Running
Completed
Failed
String MeshStatus ( )
Returns:
Status of mesh, same as AnalysisStatus
Example:
This example displays mesh status.
See also:
AnalysisStatus
Parameters:
aIndex index of analysis
Returns:
Analysis name
Object CreateEntityList ( )
Returns:
EntList object
Boolean Save ( )
Returns:
True if successful; False otherwise
Example:
This example saves study.
Parameters:
aName new name
Returns:
True if successful; False otherwise
Example:
This example saves the study under the new name "Saved
Study".
Boolean Close ( )
Returns:
True if successful; False otherwise
Example:
This example closes the studyDoc.
Parameters:
aNum number of edits to undo
Returns:
True if successful; False otherwise
Example:
This example undoes the latest model edit.
Parameters:
aNum number of edits to redo
Returns:
True if successful; False otherwise
Example:
This example redoes the latest model edit that was undone.
Parameters:
aName name of the file to be added
aOpts ImportOptions object that specifies import options
aShowLog specify True to display the import log
Returns:
True if successful; False otherwise
Example:
This example adds an STL model to the current study.
Parameters:
aCheck whether model checking is to be performed
aSolve whether the model solution needs to generated by the
analysis
Returns:
True if successful; False otherwise
Example:
This example runs analysis on the studyDoc.
Object GetFirstNode ( )
Gets the first node in the study
Returns:
EntList object containing the first node
Example:
This example gets first node.
Parameters:
EntList object containing a node
Returns:
EntList object containing the next node
Example:
This example displays ID of each node in the study.
Returns:
Vector object containing the node coordinates
Example:
This example gets the coordinates of the first node in the study.
Object GetFirstTri ( )
Returns:
EntList object containing the first triangle
Example:
Parameters:
aTri EntList object containing a triangle
Returns:
EntList object containing the next triangle
Example:
This example displays all triangle ID in the study
Object GetFirstBeam ( )
Returns:
EntList object containing the first beam
Example:
This example display ID of first beam.
Parameters:
EntList object containing a beam
Returns:
EntList object containing the next beam
Example:
This example displays all beam ID.
Object GetFirstTet ( )
Returns:
EntList object containing the first tetrahedral element
Example:
This examples gets first tetrahedral ID.
Parameters:
aTet EntList object containing a tetrahedron
Returns:
EntList object containing the next tetrahedron
Example:
This example displays all tetrahedral ID.
Set StudyDoc = Synergy.StudyDoc()
Set Tets = StudyDoc.GetFirstTet()
While Not Tets Is Nothing
Str = Str + Tets.ConvertToString() + " "
Set Tets = StudyDoc.GetNextTet(Tets)
WEnd
MsgBox Str
Parameters:
aTet EntList object containing an element
Returns:
EntList object containing the nodes
Example:
This example displays triangle "T1" node coordinates.
Parameters:
aEnt EntList object containing the entity
Returns:
EntList object containing the layer
Example:
This example display layer of first node
Gets entity ID
Parameters:
aEnt EntList containing the entity
Returns:
entity ID
Example
This example displays layer ID of first node
Parameters:
aCheck whether model checking is to be performed
aSolve whether the model solution needs to generated by the
analysis
aPrompts set False will prevent showing prompt on GUI
Returns:
True if successful; False otherwise
Example:
This example runs analysis job without showing user prompt.
Parameters:
aStartIndex Start index of results to be deleted
Returns:
True if successful
Example:
This example deletes all results
Set SD = Syn.StudyDoc
SD.DeleteResults(0)
Parameters:
aPrompts set False will prevent showing prompt on GUI
Returns:
True if successful; False otherwise
Example:
This example runs mesh job without showing user prompt.
Parameters:
aName process name such as "Flow", "Warp"
Returns:
Result prefix name
Example:
This example displays result prefix of "Fill" process.
Parameters:
aUdmFile File from MPX/Shotscope output in udm format
aDOE Whether to set up as DOE analysis
aPrompt Whether to show UI prompt
Returns:
True if successful
Example:
This example imports process variation from MPX/Shotscope
and setup as DOE analysis
Set SD = Syn.StudyDoc
SD.ImportProcessVariation "C:\My MPI 6.0 Projects\abc.udm",
True, True
Parameters:
aUdmFile File from MPX output in udm format
aPrompt Whether to show UI prompt
Returns:
True if successful
Example:
This example imports process condition from MPX
Set SD = Syn.StudyDoc
SD.ImportProcessCondition "C:\My MPI 6.0 Projects\abc.udm",
True
Parameters:
aUdmFile File from MPX output in udm format
aPrompt Whether to show UI prompt
Returns:
True if successful
Example:
This example imports machine data from MPX
Set SD = Syn.StudyDoc
SD.ImportMachineData "C:\My MPI 6.0 Projects\abc.udm", True
Main Page Alphabetical List Compound List Compound
Members Related Pages
Synergy Class Reference
This class is used as the "top-level" object in MPI. More...
Object ImportOptions
Import options.
Object StudyDoc
Study.
Object Modeler
Modeler.
Object MeshEditor
Mesh editor.
Object MeshGenerator
Mesh generator.
Object PredicateManager
Predicate manager.
Object BoundaryConditions
Boundary conditions editor.
Object ModelDuplicator
Model duplicator.
Object MoldSurfaceGenerator
Mold surface generator.
Object CircuitGenerator
Coolant circuit generator.
Object RunnerGenerator
Runner system generator.
Object MaterialSelector
Molding material selector.
Object LayerManager
Layer manager.
Object PlotManager
Plot manager.
Object Viewer
Viewer.
Object DiagnosisManager
Diagnostics generator.
Object PropertyEditor
Property editor.
Object Version
Product version string.
Object Build
Product build ID string.
Object DataTransform
Data Transform.
Object JobManager
Job manager.
Detailed Description
This class serves as the starting point of the API. You can use this
class to retrieve the current Project, StudyDoc, Modeler, MeshEditor,
PropertyEditor, the wizard objects, Viewer, and other objects. This is
the only OLE-creatable object in MPI. All other objects are either
created using the Synergy object or those objects that are derived
from the Synergy object
Member Function Documentation
Parameters:
aName project name
aDir project location
Returns:
True if successful; False otherwise
Example:
This example creates a new project called "P1"
Opens a project
Parameters:
aPath full path name of the project to open
Returns:
True if successful; False otherwise
Example:
This example opens project "C:\My MPI 4.0
Projects\MyTest.mpi".
Synergy.OpenProject "C:\My MPI 4.0 Projects\MyTest.mpi"
Parameters:
aIndex index from 0 to 3, where 0 corresponds to the most
recent project that was opened and 3 corresponds to the
oldest project that was opened
Returns:
True if successful; False otherwise
Example:
This example opens most recent project.
Synergy.OpenRecentProject 0
Parameters:
aFile name of the file to open
aOpts ImportOptions object that specifies import options
aShowLog specify True to display an import log
Returns:
True if successful; False otherwise
Example:
This example imports "D:\STL\test.stl" into MPI project.
Object CreateVector ( )
Returns:
Vector object
Object CreateVectorArray ( )
Returns:
VectorArray object
Object CreateDoubleArray ( )
Returns:
DoubleArray object
Object CreateIntegerArray ( )
Parameters:
aUnit Units name, "English" or "Metric"
Example:
This example sets system units to "Metric"
String GetUnits ( )
Example:
This example displays current system unit.
Parameters:
aName dependent variable name
Returns:
True if successful
Example:
This example sets dependent name.
Parameters:
aName independent variable name
Returns:
True if successful
Example:
Parameters:
aType data type (ELDT for element data, NDDT node data and
NMDT non-mesh data)
Returns:
True if successful
Example:
See UserPlot::AddScalarData
Parameters:
aName dependent variable unit name
Returns:
True if successful
Example:
See UserPlot::AddVectorData
Parameters:
aName independent variable unit name
Returns:
True if successful
Example:
This example sets user plot independent variable unit name as
meter
Parameters:
aIndpValue independent variable value
aEntID element IDs (for element data) or node IDs (node
data)
aDataValues dependent variable values
Returns:
True if successful
Example:
This example creates plot with two frames, first frame is
Pressure(end of filling) second frame is Pressure At V/P
Switchover
Object Build ( )
Builds plot and show it in the view. All required data must be set
before this function can be called
Returns:
plot if successful, otherwise return NULL
Example:
See UserPlot::SetScalarData
Parameters:
aName plot name
Returns:
True if successful
Example:
See UserPlot::SetVectorData
Parameters:
aIndpValue independent variable value
aEntID element IDs (for element data) or node IDs (node
data)
aT11 11 component values
aT22 22 component values
aT33 33 component values
aT33 12 component values
aT33 13 component values
aT33 23 component values
Returns:
True if successful
Example:
This example does some manipulation on Average Fiber
Orientation result to create a new user plot with multiple frames.
Set IndpValues = Synergy.CreateDoubleArray()
PlotMgr.GetIndpValues 4000, IndpValues
Set Ind = Synergy.CreateDoubleArray()
Ind.AddDouble IndpValues.Val( IndpValues.Size - 1 )
Set node_1 = Synergy.CreateIntegerArray()
Set P11 = Synergy.CreateDoubleArray()
Set P22 = Synergy.CreateDoubleArray()
Set P33 = Synergy.CreateDoubleArray()
Set P12 = Synergy.CreateDoubleArray()
Set P13 = Synergy.CreateDoubleArray()
Set P23 = Synergy.CreateDoubleArray()
PlotMgr.GetTensorData 4000, Ind, node_1, P11, P22, P33, P12,
P13, P23
Set DataTrans = Synergy.DataTransform()
DataTrans.Func "cos", node_1, P33, node_1, P33
Set UserPlot = PlotMgr.CreateUserPlot()
UserPlot.SetName("A new tensor plot")
UserPlot.SetDataType("ELDT")
UserPlot.SetDeptUnitName("s")
UserPlot.SetTensorData node_1, P11, P22, P33, P12, P13, P23
UserPlot.AddTensorData 1.0, node_1, P11, P22, P33, P12, P13,
P23
DataTrans.Scalar node_1, P11, "*", 3.0, node_1, P11
UserPlot.AddTensorData 2.0, node_1, P11, P22, P33, P12, P13,
P23
UserPlot.Build()
Parameters:
aVasD If true vector will be considered as displacement. It is
false by default
Boolean SetScalarData ( Object aEntIDs,
Object aDataValues
)
Parameters:
aEntID element IDs (for element data) or node IDs (node
data)
aDataValues dependent variable values
Returns:
True if successful
Example:
This example create a plot to show mesh thickness distribution
Parameters:
aIndpValue independent variable value
aEntID element IDs (for element data) or node IDs (node
data)
aVxValues x component values
aVxValues y component values
aVxValues z component values
Returns:
True if successful
Example:
Parameters:
aIndpValue independent variable value
aXValues x values
aYValues y values
Returns:
True if successful
Example:
This example creates a XY plot with two curves
UserPlot_XY.Build()
Sets xy plot data to the plot (used to create a xy plot with single
frame)
Parameters:
aXValues x values
aYValues y values
Returns:
True if successful
Example
'X axis
Set IndpValues = Synergy.CreateDoubleArray()
IndpValues.AddDouble(1.0)
IndpValues.AddDouble(2.0)
IndpValues.AddDouble(3.0)
'Y axis
Set deptValues = Synergy.CreateDoubleArray()
deptValues.AddDouble(1.0)
deptValues.AddDouble(4.0)
deptValues.AddDouble(9.0)
'xyplot
Set UserPlot_XY = PlotMgr.CreateUserPlot()
UserPlot_XY.SetDataType("NMDT")
UserPlot_XY.SetName("Parabolic curve")
UserPlot_XY.Build()
Boolean SetXYPlotXUnitName ( String aName )
Parameters:
aName Unit name
Returns:
True if successful
Example:
This example sets X axis unit name.
Parameters:
aName Unit name
Returns:
True if successful This example sets Y axis unit name.
Example:
Parameters:
aName Title name
Returns:
True if successful
Example:
This example sets XY plot X axis title.
Parameters:
aDataValues Data values (array of node coordinates)
Returns:
True if successful
Example:
This example creates a highligh plot and set its highlight data
with two pairs of node coordinates
double Y
Y component.
double Z
Z component.
Detailed Description
See also:
Synergy::CreateVector
Member Function Documentation
Parameters:
aX X component
aY Y component
aZ Z component
Example:
This example creates a vector and sets it to (1, 1, 0).
double X
double Y
double Z
Detailed Description
See also:
Synergy::CreateVectorArray
Member Function Documentation
Clear ( )
Example:
This example clears a VectorArray.
Parameters:
aX X component
aY Y component
aZ Z component
Example:
This example shows how to create a VectorArray and set its
values.
Set VectorArray = Synergy.CreateVectorArray()
Set Modeler = Synergy.Modeler()
Modeler.FindProperty 0, 0
VectorArray.Clear
VectorArray.AddXYZ 10, 100, 0
VectorArray.AddXYZ 45, 55, 0
VectorArray.AddXYZ 100, 10, 0
VectorArray.AddXYZ 95, 55, 0
Set EntList = Modeler.CreateSpline(VectorArray, Nothing, True)
Member Data Documentation
double X
Parameters:
i index between 0 and VectorArray.Size-1
Returns:
X component at the offset i
double Y
Parameters:
i index between 0 and VectorArray.Size-1
Returns:
Y component at the offset i
double Z
Parameters:
i index between 0 and VectorArray.Size-1
Returns:
Z component at the offset i
Main Page Alphabetical List Compound List Compound
Members Related Pages
Viewer Class Reference
This class is used to manipulate the graphics window (view). More...
Reset ( )
Example
This example resets view.
Viewer.Reset
Parameters:
aViewNormal Vector object that specifies the normal direction
aViewUp Vector object that specifies the "up" direction
Example
This example resets view with normal (0 0 1) and up direction(1 0
0)
Vector1 = Synergy.CreateVector()
Vector2 = Synergy.CreateVector()
Vector1.SetXYZ 0, 0, 1
Vector2.SetXYZ 1, 0, 0
Viewer.ResetView Vector1, Vector2
Parameters:
aAngleX rotation angle about the X axis
aAngleY rotation angle about the Y axis
aAngleZ rotation angle about the Z axis
Example
This example rotates view to angle (25 25 30)
Parameters:
aAngleX rotation angle about the X axis
aAngleY rotation angle about the Y axis
aAngleX rotation angle about the Z axis
Example
This example rotates the view by (90 180 45) about (X Y Z) axis.
Example
This example rotates the view about the X axis by 45 degree.
Viewer.RotateXBy 45
Parameters:
aAngle rotation angle about the Y axis
Example
This example rotates the view about Y axis by 45 degree.
Viewer.RotateYBy 45
Parameters:
aAngle rotation angle about the Z axis
Example
This example rotates the view about the Z axis by 45 degree.
Viewer.RotateZBy 45
Parameters:
aPerspective ; specify:
0 for parallel projection and
1 for perspective projection
Example
Thix example set view mode to be parallel project.
Viewer.SetViewMode 0
Fit ( )
Example
This example fits the model display to the window.
Viewer.Fit
Parameters:
aXFactor pan factor along the X axis; specify values < 0 to move
to the left and values > 0 to move to the right; factors
are normalized to the screen width, i.e., a factor of 1
moves the model by one screen-width to the right
aYFactor pan factor along the Y axis; specify values < 0 to move
to the bottom and values > 0 to move to the top;
factors are normalized to the screen height, i.e., a
factor of 1 moves the model by one screen-height to
the top
Example
This example pans view by (0.2 0.3).
Parameters:
aFactor zoom factor
Example
This example zooms the view by 2.5 times.
Viewer.Zoom 2.5
Parameters:
aName standard view name; can be one of
Front
Back
Right
Left
Top
Bottom
FrontLeft
FrontRight
BackLeft
BackRight
Isometric
Example
This example shows standard view "BackRight".
Viewer.GoToStandardView "BackRight"
Parameters:
aName bookmark name
Example
This example creates bookmark
Viewer.CreateBookmark "SouthEast"
Parameters:
aName bookmark name
Example
This example deletes view bookmark "SouthEast"
Viewer.DeleteBookmark "SouthEast"
Parameters:
aName bookmark name
Example
This example displays the model with bookmarked view
"SouthEast".
Viewer.GoToBookmark "SouthEast"
Print ( )
Example
This example prints current view to standard printer.
Viewer.Print
Parameters:
aFileName file name
Note:
The file format will be automatically determined from the file
extension
Example
This example saves view image to "c:\temp\myImage.jpg"
Viewer.SaveImage "c:\temp\myImage.jpg"
EnableClippingPlaneByID ( long aPlaneID,
Boolean aEnable
)
Parameters:
aPlaneID clipping plane ID
aEnable True to enable; False to disable
See also:
EnableClippingPlane
Example
This example enables clipping plane with ID 4.
Viewer.EnableClippingPlaneByID 4, True
Parameters:
aPlaneID clipping plane ID
See also:
DeleteClippingPlane
Example
This example deletes clipping plane with ID 5.
Viewer.DeleteClippingPlaneByID 5
AddBookmark ( String aName,
Object aViewPlaneNormal,
Object aViewUp,
Object aFocalPoint,
Object aEyePosition,
double aClippingRangeMin,
double aClippingRangeMax,
double aViewAngle,
double aParallelScale
)
Parameters:
aName bookmark name
aViewPlaneNormal view plane normal
aViewUp view up vector
aFocalPoint focal point coordinates
aEyePosition eye position cooridinates
aClippingRangeMin minimum of the clipping range
aClippingRangeMax maximum of the clipping range
aViewAngle view angle
aParallelScale parallel scale
Example
This example adds a book mark.
Object GetActivePlot ( )
Returns:
Plot object
Parameters:
aPlot Plot object
Example:
This example shows plot with ID 14.
Parameters:
aPlot Plot object
Example:
This example hides plot 14.
Set Plot = Viewer.GetPlot(14)
Viewer.HidePlot Plot
Parameters:
aPlot Plot object that is to be overlaid
Example
This example overlays plot 3 with current plot.
Parameters:
aId plot ID
Returns:
Plot object
Example:
This example gets plot with ID 3.
Centers the view about a point directly under the specified screen
location
Parameters:
aCenterX specify values between 0 (left) to 1 (right)
aCenterY specify values between 0 (bottom) to 1 (top)
Example:
This example centers the view at (0.1 0.4)
Parameters:
aWorldXyz Vector object that specifies a world coordinate
Returns:
Vector object that corresponds to the screen coordinate; screen
coordinates are normalized between 0 and 1 as described in
Center
Example:
This example converts world coordinate (10 10 10) to screen
coordinates.
Vec = Synergy.CreateVector()
Vec.AddXYZ 10, 10, 10
Vec1 = Viewer.WorldToDisplay Vec
Object CreateClippingPlane ( Object aNormal,
double aD
)
Parameters:
aNormal Vector object that specifies the clipping plane normal
aD distance from the origin to the clipping plane
Returns:
EntList object containing the clipping plane that was created
Example
This example creates a new clipping plane with given vector and
ID 5.
Vec = Synergy.CreateVector()
Vec.AddXYZ 10, 20, 14
Viewer.CreateClippingPlane Vec, 5
Object CreateDefaultClippingPlane ( )
Returns:
EntList object containing the clipping plane that was created
Example
This example creates a "default" clipping plane.
Viewer.CreateDefaultClippingPlane
Parameters:
aPlane EntList object containing the clipping plane to be deleted
See also:
DeleteClippingPlaneByID
Example:
This example deletes first clipping plane.
ClipPlane = Viewer.GetFirstClippingPlane
Viewer.DeleteClippingPlane ClipPlane
Object GetFirstClippingPlane ( )
Returns:
EntList object containing the first clipping plane
Example:
This example enables first clipping plane.
ClipPlane = Viewer.GetFirstClippingPlane
Viewer.EnableClippingPlane ClipPlane False
Parameters:
aPlane EntList object containing a clipping plane
Returns:
EntList object containing the next clipping plane
Example:
This example enables second clipping plane.
ClipPlane = Viewer.GetFirstClippingPlane
ClipPlane2 = Viewer.GetNextClippingPlane( ClipPlane )
Viewer.EnableClippingPlane ClipPlane2 False
Parameters:
aPlane EntList object containing a clipping plane
aEnable True to enable; False to disable
See also:
EnableClippingPlaneByID
Example:
This example disable first clipping plane.
ClipPlane = Viewer.GetFirstClippingPlane
Viewer.EnableClippingPlane ClipPlane False
Object GetActiveClippingPlane ( )
Returns:
EntList object containing the active clipping plane
Example:
This example gets active clipping plane.
Plane = Viewer.GetActiveClippingPlane
Parameters:
aPlane EntList object containing a clipping plane
Example:
This example sets first clipping plane active.
Plane = Viewer.GetFirstClippingPlane()
Viewer.SetActiveClippingPlane Plane
Parameters:
aPlot plot
aFrame index of the frame to be shown
Example:
This example shows animation frame 7 of first plot.
Plot = Viewer.GetFirstPlot
Viewer.ShowPlotFrame Plot 7
Main Page Alphabetical List Compound List Compound
Members Related Pages
MPI Application Programming Interface
Compound Members
a|b|c|d|e|f|g|h|i|j|l|m|n|o|p|r|s|t|u|v|w|x|y|z
-a-
AbortJob() : JobMgr
AbortJobByID() : JobMgr
AbortJobByIndex() : JobMgr
ActivateLayer() : LayerManager
ActivateLCS() : Modeler
AddBookmark() : Viewer
AddDefaultPlots() : PlotMgr
AddDouble() : DoubleArray
AddFile() : StudyDoc
AddInteger() : IntegerArray
AddProbePlotProbeLine() : Plot
Address : Server
AddScalarData() : UserPlot
AddServer() : JobMgr
AddTensorData() : UserPlot
AddXYPlotCurve() : Plot
AddXYPlotData() : UserPlot
AddXYZ() : VectorArray
AlignGates : ModelDuplicator
AlignNodes() : MeshEditor
AlignNormals() : MeshEditor
AnalysisName : StudyDoc, Job
AnalysisSequence : StudyDoc
AnalysisStatus() : StudyDoc
AnalyzeNow() : StudyDoc
AnalyzeNow2() : StudyDoc
ApplyAnchorPlane() : PlotMgr
ApplyBestFit() : Plot
AssignToLayer() : LayerManager
AutoFix() : MeshEditor
AutomaticTetraOptimization : MeshGenerator
AveAspectRatio : MeshSummary
-b-
BeamsCount : MeshSummary
BoundaryConditions : Synergy
BreakCurves() : Modeler
Build : UserPlot, Synergy
ByColumns : ModelDuplicator
-c-
Center() : Viewer
Centered : MoldSurfaceGenerator
ChordHeight : MeshGenerator
ChordHeightControl : MeshGenerator
ChordHtProximity : MeshGenerator
CircuitGenerator : Synergy
Clear() : VectorArray
ClientAddress : Job
ClientPort : Job
Close() : StudyDoc, Project
CommandLine : Job
CommitChanges() : PropertyEditor
Compact() : Project
ConnectivityRegions : MeshSummary
ConvertToBeams() : MeshEditor
ConvertToString() : EntList, BoundaryList
ConvertWedgesToTetras() : MeshEditor
CreateAnchorPlane() : PlotMgr
CreateArcByAngle() : Modeler
CreateArcByPoints() : Modeler
CreateBeams() : MeshEditor
CreateBeamsByPoints() : MeshEditor
CreateBookmark() : Viewer
CreateBoolAndPredicate() : PredicateManager
CreateBoolNotPredicate() : PredicateManager
CreateBoolOrPredicate() : PredicateManager
CreateBoolXorPredicate() : PredicateManager
CreateBoundaryList() : Modeler
CreateClippingPlane() : Viewer
CreateCriticalDimension() : BoundaryConditions
CreateCurveByConnect() : Modeler
CreateDefaultClippingPlane() : Viewer
CreateDoubleArray() : Synergy
CreateEdgeLoads() : BoundaryConditions
CreateElementalLoads() : BoundaryConditions
CreateEntityList() : StudyDoc, PropertyEditor, Modeler,
MeshEditor, LayerManager, DiagnosisManager,
BoundaryConditions
CreateFixedConstraints() : BoundaryConditions
CreateGeneralConstraints() : BoundaryConditions
CreateHoleByBoundary() : Modeler
CreateHoleByNodes() : Modeler
CreateIntegerArray() : Synergy
CreateLabelPredicate() : PredicateManager
CreateLayer() : LayerManager
CreateLayerByName() : LayerManager
CreateLCSByPoints() : Modeler
CreateLine() : Modeler
CreateNDBC() : BoundaryConditions
CreateNDBCAtXYZ() : BoundaryConditions
CreateNodalLoads() : BoundaryConditions
CreateNodeByIntersect() : Modeler
CreateNodeByXYZ() : Modeler
CreateNodesBetween() : Modeler
CreateNodesByDivide() : Modeler
CreateNodesByOffset() : Modeler
CreatePinConstraints() : BoundaryConditions
CreatePlotByDsID() : PlotMgr
CreatePlotByName() : PlotMgr
CreatePressureLoads() : BoundaryConditions
CreateProperty() : PropertyEditor
CreatePropertyPredicate() : PredicateManager
CreatePropTypePredicate() : PredicateManager
CreateRegionByBoundary() : Modeler
CreateRegionByExtrusion() : Modeler
CreateRegionByNodes() : Modeler
CreateRegionByRuling() : Modeler
CreateSpline() : Modeler
CreateSpringConstraints() : BoundaryConditions
CreateTemperatureLoads() : BoundaryConditions
CreateTet() : MeshEditor
CreateThicknessPredicate() : PredicateManager
CreateTri() : MeshEditor
CreateUserPlot() : PlotMgr
CreateVector() : Synergy
CreateVectorArray() : Synergy
CreateVolumeLoads() : BoundaryConditions
CreateWedge() : MeshEditor
CreateXSectionPredicate() : PredicateManager
CreateXYPlotByName() : PlotMgr
-d-
DataHasXYPlotByDsID() : PlotMgr
DataHasXYPlotByName() : PlotMgr
DataTransform : Synergy
DefaultServer : JobMgr
Delete() : MeshEditor
DeleteAnchorPlaneByIndex() : PlotMgr
DeleteAnchorPlaneByName() : PlotMgr
DeleteBookmark() : Viewer
DeleteClippingPlane() : Viewer
DeleteClippingPlaneByID() : Viewer
DeleteField() : Property
DeleteItemByIndex() : Project
DeleteItemByName() : Project
DeleteLayer() : LayerManager
DeleteOld : RunnerGenerator, CircuitGenerator
DeletePlot() : PlotMgr
DeletePlotByDsID() : PlotMgr
DeletePlotByName() : PlotMgr
DeleteProperty() : PropertyEditor
DeleteResults() : StudyDoc
DeleteServer() : JobMgr
DeleteServerByAddress() : JobMgr
DeleteServerByName() : JobMgr
DeleteXYPlotCurve() : Plot
DiagnosisManager : Synergy
Diameter : CircuitGenerator
Dimensions : MoldSurfaceGenerator
Distance : CircuitGenerator
DropDiameter : RunnerGenerator
DropTaperAngle : RunnerGenerator
DuplicatedBeams : MeshSummary
DuplicateStudyByIndex() : Project
DuplicateStudyByIndex2() : Project
DuplicateStudyByName() : Project
DuplicateStudyByName2() : Project
-e-
EdgeLength : MeshGenerator
ElementReduction : MeshGenerator
EnableClippingPlane() : Viewer
EnableClippingPlaneByID() : Viewer
Entity() : EntList, BoundaryList
ExpandLayer() : LayerManager
Export() : Project
ExportModel() : Project
ExportModel2() : Project
-f-
FetchProperty() : PropertyEditor
FieldDescription : Property
FieldValues : Property
FillHole() : MeshEditor
FindDatasetIdByName() : PlotMgr
FindDatasetIdsByName() : PlotMgr
FindJobByID() : JobMgr
FindLayerByName() : LayerManager
FindPlotByName() : PlotMgr
FindProperty() : PropertyEditor, Modeler
FindServer() : Job
FinishTime : Job
Fit() : Viewer
FlipNormals() : MeshEditor
FreeEdgeCount : MeshSummary
FromVBSArray() : IntegerArray, DoubleArray
Func() : DataTransform
FusionArea : MeshSummary
-g-
GateAngle : RunnerGenerator
GateDiameter : RunnerGenerator
GateLength : RunnerGenerator
GatesByLength : RunnerGenerator
GateTaperAngle : RunnerGenerator
Generate() : RunnerGenerator, MoldSurfaceGenerator,
ModelDuplicator, CircuitGenerator, MeshGenerator
GetActiveClippingPlane() : Viewer
GetActiveIndpVar() : Plot
GetActivePlot() : Viewer
GetAnchorPlaneIndex() : PlotMgr
GetAnchorPlaneNode() : PlotMgr
GetAnimationType() : Plot
GetAspectRatioDiagnosis() : DiagnosisManager
GetAspectRatioDiagnosis2() : DiagnosisManager
GetCapping() : Plot
GetColorBands() : Plot
GetColorScale() : Plot
GetComponent() : Plot
GetConnectivityDiagnosis() : DiagnosisManager
GetConnectivityDiagnosis2() : DiagnosisManager
GetDataDisplayFormat() : PlotMgr
GetDataID() : Plot
GetDataNbComponents() : PlotMgr, Plot
GetDataType() : PlotMgr, Plot
GetDeflectionOverlayWithMesh() : Plot
GetDeflectionScaleDirection() : Plot
GetDeflectionScaleFactor() : Plot
GetDeflectionShowAnchorPlane() : Plot
GetEdgeDisplay() : Plot
GetEdgesDiagnosis() : DiagnosisManager
GetEdgesDiagnosis2() : DiagnosisManager
GetElemNodes() : StudyDoc
GetEntityID() : StudyDoc
GetEntityLayer() : StudyDoc
GetEntityProperty() : PropertyEditor
GetExtendedColor() : Plot
GetFirst() : LayerManager
GetFirstAnimationFrameIndex() : Plot
GetFirstBeam() : StudyDoc
GetFirstClippingPlane() : Viewer
GetFirstField() : Property
GetFirstNode() : StudyDoc
GetFirstPlot() : PlotMgr
GetFirstProperty() : PropertyEditor
GetFirstReportName() : Project
GetFirstStudyName() : Project
GetFirstTet() : StudyDoc
GetFirstTri() : StudyDoc
GetIndpValues() : PlotMgr
GetIndpVarCount() : PlotMgr
GetJob() : JobMgr
GetLastAnimationFrameIndex() : Plot
GetMatchInfoDiagnosis() : DiagnosisManager
GetMaxValue() : Plot
GetMeshFill() : Plot
GetMeshSummary() : DiagnosisManager
GetMinValue() : Plot
GetName() : Plot, LayerManager
GetNext() : LayerManager
GetNextBeam() : StudyDoc
GetNextClippingPlane() : Viewer
GetNextField() : Property
GetNextNode() : StudyDoc
GetNextPlot() : PlotMgr
GetNextProperty() : PropertyEditor
GetNextPropertyOfType() : PropertyEditor
GetNextReportName() : Project
GetNextStudyName() : Project
GetNextTet() : StudyDoc
GetNextTri() : StudyDoc
GetNodalAveraging() : Plot
GetNodeCoord() : StudyDoc
GetNonmeshData() : PlotMgr
GetNotes() : Plot
GetNumberOfAnchorPlanes() : PlotMgr
GetNumberOfAnimationFrames() : Plot
GetNumberOfContours() : Plot
GetNumberOfFrames() : Plot
GetNumberOfIndpVars() : Plot
GetNumberOfResultsFiles() : PlotMgr
GetOccurrenceDiagnosis() : DiagnosisManager
GetOccurrenceDiagnosis2() : DiagnosisManager
GetOrientationDiagnosis() : DiagnosisManager
GetOrientationDiagnosis2() : DiagnosisManager
GetOverlapDiagnosis() : DiagnosisManager
GetOverlapDiagnosis2() : DiagnosisManager
GetPlot() : Viewer
GetPlotMethod() : Plot
GetPlotType() : Plot
GetProbePlotNumberOfProbeLines() : Plot
GetProbePlotProbeLine() : Plot
GetResultPrefix() : StudyDoc
GetResultsFileName() : PlotMgr
GetScalarData() : PlotMgr
GetScaleOption() : Plot
GetServer() : JobMgr
GetSmoothShading() : Plot
GetSurfWithBadTrimCurv() : DiagnosisManager
GetSurfWithFreeTrimCurv() : DiagnosisManager
GetTensorData() : PlotMgr
GetThicknessDiagnosis() : DiagnosisManager
GetThicknessDiagnosis2() : DiagnosisManager
GetUnits() : Synergy
GetVectorData() : PlotMgr
GetXYPlotAutoRangeX() : Plot
GetXYPlotAutoRangeY() : Plot
GetXYPlotLegendRectBottom() : Plot
GetXYPlotLegendRectHeight() : Plot
GetXYPlotLegendRectLeft() : Plot
GetXYPlotLegendRectWidth() : Plot
GetXYPlotMaxNumberOfCurves() : Plot
GetXYPlotMaxX() : Plot
GetXYPlotMaxY() : Plot
GetXYPlotMinX() : Plot
GetXYPlotMinY() : Plot
GetXYPlotNumberOfCurves() : Plot
GetXYPlotOverlayWithMesh() : Plot
GetXYPlotShowLegend() : Plot
GetXYPlotShowPoints() : Plot
GetXYPlotTitleX() : Plot
GetXYPlotTitleY() : Plot
GetZeroAreaElementsDiagnosis() : DiagnosisManager
GetZeroAreaElementsDiagnosis2() : DiagnosisManager
GlobalMerge() : MeshEditor
GoToBookmark() : Viewer
GoToStandardView() : Viewer
-h-
HaltBatchQueue() : JobMgr
HideAllOtherLayers() : LayerManager
HidePlot() : Viewer
HotRunners : RunnerGenerator
-i-
ID : Property
ImportFile() : Synergy
ImportMachineData() : StudyDoc
ImportOptions : Synergy
ImportProcessCondition() : StudyDoc
ImportProcessVariation() : StudyDoc
InsertNode() : MeshEditor
InsertNodeInTet() : MeshEditor
InsertNodeInTetByNodes() : MeshEditor
InsertNodeInTri() : MeshEditor
IntersectionElements : MeshSummary
IsCheckAnalysis() : Job
-j-
JobID : Job
JobManager : Synergy
JobType : Job
-l-
LayerManager : Synergy
-m-
MakeRegion() : MeshEditor
MakeRegion2() : MeshEditor
ManifoldEdgeCount : MeshSummary
MarkAllResultsForExport() : PlotMgr
MarkResultForExport() : PlotMgr
Match : MeshGenerator
MatchNodes() : MeshEditor
MatchRatio : MeshSummary
MaterialSelector : Synergy
MaxAspectRatio : MeshSummary
MaximumMatchDistance : MeshGenerator
MaximumMatchDistanceOption : MeshGenerator
MDLKernel : ImportOptions
MDLMesh : ImportOptions
MDLSurfaces : ImportOptions
MergeCavityRunner : MeshGenerator
MergeNodes() : MeshEditor
MergeTolerance : MeshGenerator
MeshEditor : Synergy
MeshGenerator : Synergy
MeshNow() : StudyDoc
MeshStatus() : StudyDoc
MeshType : StudyDoc, ImportOptions
MeshVolume : MeshSummary
MinAspectRatio : MeshSummary
ModelDuplicator : Synergy
Modeler : Synergy
ModelName : Job
MoldingProcess : StudyDoc
MoldSurfaceGenerator : Synergy
MoveBeamNode() : MeshEditor
MoveNDBC() : BoundaryConditions
MoveNDBCToXYZ() : BoundaryConditions
MoveNodes() : MeshEditor
MoveNodeToEdge() : MeshEditor
-n-
Name : Server, Property
NewFolder() : Project
NewProject() : Synergy
NewStudy() : Project
NodesCount : MeshSummary
NonManifoldEdgeCount : MeshSummary
NumberOfAnalyses : StudyDoc
NumberOfJobs : JobMgr
NumberOfServers : JobMgr
NumCavities : ModelDuplicator
NumChannels : CircuitGenerator
NumCols : ModelDuplicator
NumRows : ModelDuplicator
NurbsMesher : MeshGenerator
-o-
Op() : DataTransform
OpenItemByIndex() : Project
OpenItemByName() : Project
OpenProject() : Synergy
OpenRecentProject() : Synergy
Orient() : MeshEditor
Origin : MoldSurfaceGenerator
Overhang : CircuitGenerator
OverlapElements : MeshSummary
OverlayPlot() : Viewer
-p-
Pan() : Viewer
PartingZ : RunnerGenerator
PlotManager : Synergy
PostMeshActions : MeshGenerator
PredicateManager : Synergy
Print() : Viewer
Priority : Job
Project : Synergy
ProjectMesh() : MeshEditor
PropertyEditor : Synergy
PurgeNodes() : MeshEditor
-r-
Redo() : StudyDoc
RefineTetras() : MeshEditor
Reflect() : Modeler
Regenerate() : Plot
RemeshAll : MeshGenerator
RemeshArea() : MeshEditor
RemeshArea2() : MeshEditor
RemoveEmptyLayers() : LayerManager
RemoveUnusedProperties() : PropertyEditor
RenameItemByIndex() : Project
RenameItemByName() : Project
Reset() : Viewer
ResetView() : Viewer
RestartFile : Job
RestoreOriginalPosition() : Plot
ResultName : Job
Rotate() : Viewer, Modeler
Rotate3Pts() : Modeler
RotateBy() : Viewer
RotateXBy() : Viewer
RotateYBy() : Viewer
RotateZBy() : Viewer
RunnerDiameter : RunnerGenerator
RunnerGenerator : Synergy
RunnerVolume : MeshSummary
-s-
Save() : StudyDoc
SaveAll() : Project
SaveAs() : StudyDoc
SaveImage() : Viewer
SaveOptions() : MeshGenerator
SaveResultDataInPatran() : PlotMgr
SaveResultDataInXML() : PlotMgr
SaveResultDataInXML2() : PlotMgr
SaveResultInPatran() : Plot
SaveResultInPatran2() : Plot
SaveResultInXML() : Plot
SaveResultInXML2() : Plot
SaveWarpedShapeInSTL() : Plot
SaveWarpedShapeInSTL2() : Plot
SaveWarpedShapeInUDM() : Plot
SaveXYPlotCurveData() : Plot
Scalar() : DataTransform
Scale() : Modeler
ScaleMeshDensity() : Modeler
ScheduleAnalysisOnStudy() : Project
ScheduleCheckOnStudy() : Project
ScheduleMeshOnStudy() : Project
ScheduleTime : Job
Select() : MaterialSelector
SelectFromPredicate() : EntList
SelectFromString() : EntList, BoundaryList
Selection : StudyDoc
SetActiveClippingPlane() : Viewer
SetActiveIndpVar() : Plot
SetAnchorPlaneName() : PlotMgr
SetAnchorPlaneNodes() : PlotMgr
SetAnimationType() : Plot
SetCapping() : Plot
SetColorBands() : Plot
SetColorScale() : Plot
SetComponent() : Plot
SetDataDisplayFormat() : PlotMgr
SetDataType() : UserPlot
SetDeflectionOverlayWithMesh() : Plot
SetDeflectionScaleDirection() : Plot
SetDeflectionScaleFactor() : Plot
SetDeflectionShowAnchorPlane() : Plot
SetDeptName() : UserPlot
SetDeptUnitName() : UserPlot
SetEdgeDisplay() : Plot
SetExtendedColor() : Plot
SetFirstAnimationFrameIndex() : Plot
SetFixedIndpVarValue() : Plot
SetHighlightData() : UserPlot
SetIndpName() : UserPlot
SetIndpUnitName() : UserPlot
SetLastAnimationFrameIndex() : Plot
SetLayerName() : LayerManager
SetMaxValue() : Plot
SetMeshFill() : Plot
SetMeshSize() : Modeler
SetMinValue() : Plot
SetName() : UserPlot, Plot
SetNodalAveraging() : Plot
SetNotes() : Plot
SetNumberOfAnimationFrames() : Plot
SetNumberOfContours() : Plot
SetNumberOfFrames() : Plot
SetPlotMethod() : Plot
SetProbePlotProbeLine() : Plot
SetProperty() : PropertyEditor
SetScalarData() : UserPlot
SetScaleOption() : Plot
SetSmoothShading() : Plot
SetTypeColor() : LayerManager
SetTypeDisplayOption() : LayerManager
SetTypeShowLabels() : LayerManager
SetTypeVisible() : LayerManager
SetUnits() : Synergy
SetVectorAsDisplacement() : UserPlot
SetVectorData() : UserPlot
SetViewMode() : Viewer
SetXYPlotAutoRangeX() : Plot
SetXYPlotAutoRangeY() : Plot
SetXYPlotData() : UserPlot
SetXYPlotLegendRectBottom() : Plot
SetXYPlotLegendRectHeight() : Plot
SetXYPlotLegendRectLeft() : Plot
SetXYPlotLegendRectWidth() : Plot
SetXYPlotMaxNumberOfCurves() : Plot
SetXYPlotMaxX() : Plot
SetXYPlotMaxY() : Plot
SetXYPlotMinX() : Plot
SetXYPlotMinY() : Plot
SetXYPlotOverlayWithMesh() : Plot
SetXYPlotShowLegend() : Plot
SetXYPlotShowPoints() : Plot
SetXYPlotTitle() : Plot
SetXYPlotTitleX() : Plot
SetXYPlotTitleY() : Plot
SetXYPlotXTitle() : UserPlot
SetXYPlotXUnitName() : UserPlot
SetXYPlotYUnitName() : UserPlot
SetXYZ() : Vector
ShowAllLayers() : LayerManager
ShowAspectRatio() : DiagnosisManager
ShowAspectRatio2() : DiagnosisManager
ShowBeamElementCount() : DiagnosisManager
ShowBubblerBaffleCheck() : DiagnosisManager
ShowCentroidCloseness() : DiagnosisManager
ShowConnect() : DiagnosisManager
ShowConnect2() : DiagnosisManager
ShowCoolingCircuitValidity() : DiagnosisManager
ShowDimensions() : DiagnosisManager
ShowEdges() : DiagnosisManager
ShowEdges2() : DiagnosisManager
ShowLabels() : LayerManager
ShowLDRatio() : DiagnosisManager
ShowMatchInfo() : DiagnosisManager
ShowMatchInfo2() : DiagnosisManager
ShowOccurrence() : DiagnosisManager
ShowOccurrence2() : DiagnosisManager
ShowOrient() : DiagnosisManager
ShowOrient2() : DiagnosisManager
ShowOverlapping() : DiagnosisManager
ShowOverlapping2() : DiagnosisManager
ShowOverlapping3() : DiagnosisManager
ShowPlot() : Viewer
ShowPlotFrame() : Viewer
ShowSummary() : DiagnosisManager
ShowSurfWithBadTrimCurv() : DiagnosisManager
ShowSurfWithFreeTrimCurv() : DiagnosisManager
ShowThickness() : DiagnosisManager
ShowThickness2() : DiagnosisManager
ShowTrappedBeam() : DiagnosisManager
ShowZeroAreaElements() : DiagnosisManager
ShowZeroAreaElements2() : DiagnosisManager
Size : VectorArray, IntegerArray, EntList, DoubleArray,
BoundaryList
Smoothing : MeshGenerator
SmoothNodes() : MeshEditor
SourceGeomType : MeshGenerator
Spacing : CircuitGenerator
SprueDiameter : RunnerGenerator
SprueLength : RunnerGenerator
SprueTaperAngle : RunnerGenerator
SprueX : RunnerGenerator
SprueY : RunnerGenerator
StartBatchQueue() : JobMgr
StartTime : Job
Status : Server, Job
StitchFreeEdges2() : MeshEditor
StudyDoc : Synergy
StudyName : StudyDoc
SwapEdge() : MeshEditor
-t-
TetraLayers : MeshGenerator
TetraMaxAR : MeshGenerator
TetraRefine : MeshGenerator
TetrasCount : MeshSummary
ToggleLayer() : LayerManager
TopGateEndDiameter : RunnerGenerator
TopGateLength : RunnerGenerator
TopGateStartDiameter : RunnerGenerator
TopRunnerZ : RunnerGenerator
ToVBSArray() : IntegerArray, DoubleArray
Translate() : Modeler
Trapezoidal : RunnerGenerator
TrapezoidAngle : RunnerGenerator
TrianglesCount : MeshSummary
Type : Property
-u-
Undo() : StudyDoc
Units : ImportOptions
Unoriented : MeshSummary
UpdateDimensionalDisplay() : DiagnosisManager
UpdateThicknessDisplay() : DiagnosisManager
UseActiveLayer : MeshGenerator
UseHoses : CircuitGenerator
UseMDL : ImportOptions
User : Job
UseTetrasOnEdge : MeshGenerator
-v-
Val() : IntegerArray, DoubleArray
Version : Synergy
Viewer : Synergy
-w-
WarpQueryBegin() : PlotMgr, Plot
WarpQueryEnd() : PlotMgr, Plot
WarpQueryNode() : PlotMgr, Plot
WorkingFolder : Job
WorldToDisplay() : Viewer
-x-
X : VectorArray, Vector
XAlign : CircuitGenerator
XSpacing : ModelDuplicator
-y-
Y : VectorArray, Vector
YSpacing : ModelDuplicator
-z-
Z : VectorArray, Vector
ZeroBeams : MeshSummary
ZeroTriangles : MeshSummary
Zoom() : Viewer
Main Page Alphabetical List Compound List Compound
Members Related Pages
MPI Application Programming Interface Related
Pages
Here is a list of all related documentation pages:
Boolean
The Boolean subtype is used to for logical values that can have one
of the two values: True or False
Example:
Double
The Double subtype is used for floating point numbers that can range
from -1.798E308 to 1.798E308
Example
Long
The Long subtype is used for signed integer values that can range
from -2^32 to 2^32
Example
Plot.SetNumberOfFrames 10
String
The String subtype is used for character strings. String lengths are
essentially unlimited of characters.
Example
Object
The Object subtype is used for all automation objects
Example
Both Syn and SD below are objects.