Public Member Functions | List of all members
Study Class Reference

Study class is used to specify a study.
The class can be called from the Model or Application class.
. More...

Public Member Functions

void AddCadParameter (String &name)
 Adds a CAD parameter of a model to the target. More...
 
void AddCadParameters (StringList &names)
 Adds CAD parameters of a model to the target. More...
 
void AddMaterialByName (String &matname)
 Adds a new material. More...
 
ScriptObjectAddPostCalculationScript (String &title)
 Adds an empty post-calculation script to the study. More...
 
ScriptObjectAddPostCalculationScriptFromFile (String &filename)
 Adds an post-calculation script to the study using the contents of the specified file. More...
 
void AddRemoteCases (String array &indices)
 Add cases from remote calculations. More...
 
void AddSubroutineParameter (String &name, Variant &value)
 Adds user subroutine parameters. More...
 
void AddWarningAsError (int code)
 Adds a warning to the error list by specifying a code. More...
 
bool AnyCaseHasResult ()
 Returns True as a return value if any cases of the study have analysis results. More...
 
void ApplyAllCasesCadParameters ()
 Updates each value of CAD parameters for all models.
 
void ApplyCadParameters ()
 Updates each value of CAD parameters for a model.
 
String CalculationFolder (int caseno=-1)
 Returns calculation folder name. More...
 
bool CaseHasMesh (int caseIndex)
 Returns True as a return value if mesh is generated in the specified case of the study. More...
 
bool CaseHasMeshAnyPart (int caseIndex)
 Returns True as a return value if any part has a mesh in the specified case of the study. More...
 
bool CaseHasResult (int caseIndex)
 Returns True as a return value if the specified case of the study has analysis results. More...
 
void CheckFolderResults (String &folder)
 Imports result files (*.jplot) of the specified folder. More...
 
void CheckForCaseResults ()
 Loads results of active cases that have not yet been imported.
 
void CheckForNewCases ()
 Checks for newly cases and adds the cases to the study.
 
void CheckForNewResults ()
 Loads results of all cases in the study that have not yet been imported.
 
void ClearAllCasesMeasurementCache ()
 Clears measurement cache all models without results.
 
void ClearProbeIdSettings ()
 Deletes settings of a probe measuring position by specifying with element and node ID.
 
ModelConvertMeshToModel ()
 Creates a model from the mesh. More...
 
ResultCalculationCopyCalculation (ResultCalculation *cal)
 Returns a new ResultCalculation object by copying the specified ResultCalculation object. More...
 
CalculationDefinitionCopyCalculationDefinition (CalculationDefinition *copy)
 Creates a new CalculationDefinition object by copying the specified CalculationDefinition object. More...
 
CalculationTargetCopyCalculationTarget (CalculationTarget *copy)
 Creates a new CalculationTarget object by copying the specified CalculationTarget object. More...
 
ContourDefinitionCopyContour (ContourDefinition *contour)
 Creates a ContourDefinition object by copying the specified ContourDefinition object. More...
 
FluxLineDefinitionCopyFluxLine (FluxLineDefinition *contour)
 Creates a FluxLineDefinition object by copying the specified FluxLineDefinition object. More...
 
ProbeDefinitionCopyProbe (ProbeDefinition *copy)
 Copies a probe. More...
 
ScalingFactorCopyScaling (ScalingFactor *scaling)
 Creates a ScalingFactor object by copying the specified ScalingFactor object. More...
 
VectorDefinitionCopyVector (VectorDefinition *vector)
 Creates a VectorDefinition object by copying the specified VectorDefinition object. More...
 
VibrationDefinitionCopyVibrationDefinition (VibrationDefinition *vibration)
 Creates a new VibrationDefinition object by copying the specified VibrationDefinition object. More...
 
WindingDefinitionCopyWinding (WindingDefinition *defn)
 Creates a new winding definition by copying an existing winding definition. More...
 
WindingRegionCopyWindingRegion (WindingRegion *copy)
 Creates a new winding region by copying an existing winding region. More...
 
StudyCreate2DStudy (String &name)
 Creates a 2D (or axisymmetric) Study object from the section analysis study by specifying a name. More...
 
void CreateAnalysisTemplate (String &title, String &tooltip, String &folder=String(), double version=1.0 *kProjectFileVersion)
 Creates an analysis template from the study. More...
 
StudyCreateAxisymmetricCutPlaneStudy (String &study_name, String &condition_name)
 Creates a Study object of section analysis (axisymmetric) by specifying a study name or Section condition title. More...
 
ResultCalculationCreateCalculation (String &typeName, String &name)
 Creates a ResultCalculation object by specifying a name and condition type. More...
 
CalculationDefinitionCreateCalculationDefinition (String &name)
 Creates a CalculationDefinition object by specifying a name (calculation of a part). More...
 
CircuitCreateCircuit ()
 Adds a new circuit. More...
 
CompositeResultDefinitionCreateCompositeResult (String &name)
 Creates a CompositeResultDefinition object by specifying the name. More...
 
ConditionCreateCondition (String &typeName, String &name)
 Creates a Condition object by specifying the condition type and name. More...
 
ContourDefinitionCreateContour (String &name)
 Creates a ContourDefinition object by specifying the name. More...
 
StudyCreateCutPlaneStudy (String &study_name, String &condition_name)
 Creates a Study object of section analysis (2D) by specifying a study name and a Section condition title. More...
 
DifferenceEfficiencyMapDefinitionCreateDifferenceEfficiencyMapDefinition (String &name)
 Creates an new DifferenceEfficiencyMapDefinition onject. More...
 
void CreateDriveCycleResponseParametricData (DriveCycleResponseDataParameter *parameter)
 Creates an drive cycle response value from parameter object. More...
 
CalculationDefinitionCreateEdgeCalculationDefinition (String &name)
 Creates a CalculationDefinition object by specifying a name (calculation of an edge). More...
 
CalculationTargetCreateEdgeCalculationTarget (String &name)
 Creates a CalculationTarget object by specifying a name (edge). More...
 
EfficiencyMapDefinitionCreateEfficiencyMapDefinition (String &name)
 Creates an new EfficiencyMapDefinition onject. More...
 
void CreateEfficiencyMapParametricData (Variant &val, EfficiencyMapResponseDataParameter *parameter)
 Creates an efficiency map response value by specifying the efficiency map name or index. More...
 
ExternalEfficiencyMapDefinitionCreateExternalEfficiencyMapDefinition (String &name)
 Creates an new ExternalEfficiencyMapDefinition onject. More...
 
FilterDefinitionCreateFilterDefinition (String &name)
 Creates a FilterDefinition object by specifying the name. More...
 
FluxLineDefinitionCreateFluxLine (String &name)
 Creates a FluxLineDefinition object by specifying the name. More...
 
JobCreateJob ()
 Creates a Job object to perform batch execution of the current case (or batch execution of all cases). A “Job” is a command to run an analysis that is exchanged between machines. More...
 
void CreateKeepMeshSkinDepth ()
 Applies settings of mesh with skin depth that is not applied.
 
StudyCreateLossStudy (String &name)
 Creates a Study object of iron loss analysis by specifying a name. More...
 
void CreateMesh ()
 Generates mesh.
 
PartCreateMeshPart (String &name)
 Creates a new mesh part in the study. More...
 
void CreateMorphing ()
 Generates morphing.
 
void CreateParametricDataFromCalculation (Variant &val, ResponseDataParameter *parameter, int index=0)
 Creates a response data by specifying the calculation name or index. More...
 
void CreateParametricDataFromProbe (Variant &val, ResponseDataParameter *parameter, int index=0)
 Creates a response data by specifying the probe name or index. More...
 
void CreateParametricDataFromSection (Variant &val, ResponseDataParameter *parameter, int index=0)
 Creates a response data by specifying the section graph name or index. More...
 
void CreateParametricDataFromTable (String &val, ResponseDataParameter *parameter)
 Creates a response data by specifying the table name. More...
 
void CreateParametricDataFromVectorExpression (Variant &val, ResponseDataParameter *parameter)
 Creates response data by specifying the vector exprssion name. More...
 
void CreateParametricDataFromVibration (Variant &val, ResponseDataParameter *parameter, int index=0)
 Creates a response data by specifying the vibration name or index. More...
 
DataSetCreateParametricGraph (String &xaxis, int xseries, String &yaxis, bool pareto=false)
 Creates a response graph. More...
 
ParametricGraphDefinitionCreateParametricGraphDefinition ()
 Creates a response graph object. More...
 
DataSetCreateParametricGraphWithName (String &graphname, String &xaxis, int xseries, String &yaxis, bool pareto=false)
 Creates a response graph by specifying a name. More...
 
ConditionCreatePostCondition (String &typeName, String &name)
 Specifies the magnetic flux calculation to magnetic field analysis study. More...
 
ProbeDefinitionCreateProbe (String &name)
 Creates a probe by specifying a name. More...
 
ResponseTableDefinitionCreateResponseTableDefinition (String &name)
 Creates a ResponseTableDefinition definition for an accuracy priority efficiency map study. More...
 
ResponseTableResultTypeCreateResponseTableResultType (String &name)
 Creates a new response table result type definition (accuracy priority efficiency map study) More...
 
ScalingFactorCreateScaling (String &name)
 Creates a ScalingFactor object by specifying the name. More...
 
void CreateScriptParametricData (String &title, String &variable, String &script)
 Creates script response values. More...
 
SectionGraphCreateSectionGraph (String &name, Variant &index=-1)
 Creates a SectionGraph object by specifying a name. More...
 
CalculationDefinitionCreateSurfaceCalculationDefinition (String &name)
 Creates a CalculationDefinition object by specifying a name (calculation of a face). More...
 
CalculationTargetCreateSurfaceCalculationTarget (String &name)
 Creates a CalculationTarget object by specifying a name (face). More...
 
ResponseTableCorrectionCreateTableCorrection (String &name)
 Creates a new response table correction object for speed priority efficiency maps. More...
 
TableDefinitionCreateTableDefinition ()
 Creates a TableDefinition object. More...
 
ThermalEfficiencyMapDefinitionCreateThermalEfficiencyMapDefinition (String &name)
 Creates an new ThermalEfficiencyMapDefinition object for a thermal analysis. More...
 
VectorDefinitionCreateVector (String &name)
 Creates a VectorDefinition object by specifying the name. More...
 
VectorExpressionCreateVectorExpression (String &name)
 Creates a VectorExpression object by specifying the name. More...
 
VibrationDefinitionCreateVibrationDefinition (String &name)
 Creates a VibrationDefinition object by specifying a name. More...
 
WindingDefinitionCreateWinding (String &type, String &name)
 Creates a winding definition. More...
 
WindingRegionCreateWindingRegion (String &name, Variant &type=0)
 Creates a new winding region definition. More...
 
int CurrentIndexPostCalculationScripts ()
 Returns the index of the active post-calculation script list. More...
 
void DeleteAirMesh ()
 Deletes the mesh in the air region.
 
void DeleteCadParameter (String &name)
 Removes a CAD parameter of a model from the target. More...
 
void DeleteCalculation (Variant &val)
 Deletes a calculation item by specifying a name or index. More...
 
void DeleteCalculationDefinition (Variant &val)
 Deletes a CalculationDefinition object by specifying name or index. More...
 
void DeleteCalculationTarget (Variant &val)
 Deletes a CalculationTarget object by specifying name or index. More...
 
void DeleteCircuit ()
 Deletes a circuit.
 
void DeleteCompositeResult (Variant &val)
 Deletes composite result by specifying a name or index. More...
 
void DeleteCondition (Variant &val)
 Deletes a condition by specifying the name or index. More...
 
void DeleteContour (Variant &val)
 Deletes a contour plot by specifying a name or index. More...
 
void DeleteDifferenceEfficiencyMapDefinition (Variant &val)
 Deletes an DifferenceEfficiencyMapDefinition onject by specifying the name or index. More...
 
void DeleteEfficiencyMapDefinition (Variant &val)
 Deletes an EfficiencyMapDefinition onject by specifying the name or index. More...
 
void DeleteExternalEfficiencyMapDefinition (Variant &val)
 Deletes an ExternalEfficiencyMapDefinition onject by specifying the name or index. More...
 
void DeleteFilterResultDefinition (Variant &val)
 Deletes a filter object by specifying a name or index. More...
 
void DeleteFluxLine (Variant &val)
 Deletes a flux line plot by specifying a name or index. More...
 
void DeleteMesh ()
 Deletes mesh in the active case.
 
void DeleteMeshAllCases ()
 Deletes mesh of all cases.
 
void DeleteMeshPart (Variant &var)
 Removes a mesh part from the study. More...
 
void DeleteParametricData (Variant &val)
 Deletes a response data by specifying the name or index. More...
 
void DeletePostCalculationScript (Variant &nameOrIndex)
 Deletes a post-calculation script from the study by specifying the name or index. More...
 
void DeletePostCondition (Variant &val)
 Deletes the post condition by specifying the name or index. More...
 
void DeleteProbe (Variant &val)
 Deletes a probe by specifying a name or index. More...
 
void DeleteResponseTable (CircuitComponent *component)
 Deletes the response value table created from the RT component. More...
 
void DeleteResponseTableDefinition (Variant &val)
 Deletes a response table definition object by specifying the name or index. More...
 
void DeleteResponseTableResultType (Variant &val)
 Deletes a response table result type definition by specifying the name or index (accuracy priority efficiency map study) More...
 
void DeleteResult ()
 Deletes results of all cases. This command also deletes result files.
 
void DeleteResultCase (int caseno)
 Deletes the result of the specified case. This command also deletes result files. More...
 
void DeleteResultCaseFromStudy (int caseno)
 Removes the result of the specified case from the study. More...
 
void DeleteResultCurrentCase ()
 Deletes results of a current case. This command also deletes result files.
 
void DeleteResultCurrentCaseFromStudy ()
 Removes the result of a current case from a study. More...
 
void DeleteResultFromStudy ()
 Removes results of all cases from a study. More...
 
void DeleteScaling (Variant &val)
 Deletes scaling by specifying a name or index. More...
 
void DeleteSectionGraph (Variant &val)
 Deletes a section graph by specifying a name or index. More...
 
void DeleteTableCorrection (Variant &val)
 Deletes a ResponseTableCorrection by specifying the name or index. More...
 
void DeleteThermalEfficiencyMapDefinition (Variant &val)
 Deletes an ThermalEfficiencyMapDefinition onject by specifying the name or index. More...
 
void DeleteUseWinding ()
 Removes all windings from the study.
 
void DeleteVector (Variant &val)
 Deletes a vector plot by specifying a name or index. More...
 
void DeleteVectorExpression (Variant &val)
 Deletes a vector expression object by specifying a name or index. More...
 
void DeleteVibrationDefinition (Variant &val)
 Deletes a VibrationDefinition object by specifying name or index. More...
 
void DeleteWinding (Variant &val)
 Deletes an winding definition by specifying the name or index. More...
 
void DeleteWindingRegion (Variant &val)
 Deletes an winding region definition by specifying the name or index. More...
 
SectionGraphDuplicateSectionGraph (Variant &val)
 Returns a duplicated SectionGraph by specifying a name or index. More...
 
void ExportAnalysisParameters (String &filename, bool openCadLink)
 Exports Analysis Parameter items to designated file. More...
 
void ExportCaseValueData (String &filename)
 Exports the response value table to a file (*.htm, *.txt, *.csv). More...
 
bool ExportMinMaxTable (TableDefinition *def, String &filename)
 Exports a file (*.htm, *.txt, *.csv) to the min/max table. More...
 
bool ExportPositionTable (TableDefinition *def, String &filename)
 Exports a file (*.htm, *.txt, *.csv) to the position table. More...
 
void ExportResponseTable (String &filename, Variant &nameOrIndex, int caseIndex, double temp=0.0)
 Exports response table of efficiency map to file. More...
 
bool ExportResultValuesTable (TableDefinition *def, String &filename)
 Exports a file (*.htm, *.txt, *.csv) to the result values table. More...
 
void ExportRttFile (RttFileParameter *parameter)
 Exports an rtt file using the parameters set in RttFileParameter object. More...
 
void ExportSubroutineParameter (String &filename)
 Exports user subroutine parameters to a file (*.csv, *.txt). More...
 
bool ExportTable (TableDefinition *def, String &filename, Variant &filetype)
 Exports a file (*.htm, *.txt, *.csv) to the result table. More...
 
void ExportTags (String &filename)
    Exports user defined tags to a file (*.csv, *.txt).          More...
 
void ForceRebuildCadParameters ()
 Rebuilds the current case model. This function rebuilds the model even if the current case has results.
 
ResultViewItemListGetAllCasesResultViewItemList ()
 Returns result view list for all cases. More...
 
ResultCalculationGetCalculation (Variant &val)
 Returns the ResultCalculation object by specifying a name or index. More...
 
CalculationDefinitionGetCalculationDefinition (Variant &val)
 Returns a CalculationDefinition object by specifying a name or index. More...
 
CalculationTargetGetCalculationTarget (Variant &val)
 Returns a CalculationTarget object by specifying a name or index. More...
 
bool GetCheckForTopologyChanges ()
 Returns whether or not to check the increase or decrease in the number of parts, faces, edges, and vertices. More...
 
CircuitGetCircuit ()
 Returns a Circuit object. More...
 
CompositeResultDefinitionGetCompositeResult (Variant &val)
 Returns a CompositeResultDefinition object by specifying a name or index. More...
 
ConditionGetCondition (Variant &val)
 Returns a Condition object by specifying the name or index. More...
 
Variant GetConditionTypes ()
 Returns the list of usable condition types. More...
 
ContourDefinitionGetContour (Variant &val)
 Returns a ContourDefinition object by specifying a name or index. More...
 
bool GetCopyOnUpdate ()
 Returns whether or not to copy a study on model update. More...
 
ResponseCreateAdditionalPointsInfoGetCreateResponseAdditionalPointsInfo ()
 Returns a ResponseCreateAdditionalPointsInfo object to specify additional calculation points for efficiency map speed priority. More...
 
ResponseCreateInfoGetCreateResponseInfo ()
 Returns a ResponseCreateInfo object to specify the efficiency map response table settings. More...
 
int GetCurrentCase ()
 Returns the current active case ID. More...
 
DataSetGetDataSet (String &name, int caseno)
 Returns a DataSet object by specifying a name. More...
 
String GetDescription ()
 Returns the description. More...
 
DesignTableGetDesignTable ()
 Returns interface for parametric settings. More...
 
DifferenceEfficiencyMapDefinitionGetDifferenceEfficiencyMapDefinition (Variant &val)
 Returns an DifferenceEfficiencyMapDefinition onject by specifying the name or index. More...
 
EfficiencyMapPlotGetDifferenceEfficiencyMapPlot (Variant &val)
 Returns an EfficiencyMapPlot object by specifying the name or index. More...
 
EfficiencyMapDefinitionGetEfficiencyMapDefinition (Variant &val)
 Returns an EfficiencyMapDefinition onject by specifying the name or index. More...
 
EfficiencyMapPlotGetEfficiencyMapPlot (Variant &val)
 Returns an EfficiencyMapPlot object by specifying the name or index. More...
 
ExternalEfficiencyMapDefinitionGetExternalEfficiencyMapDefinition (Variant &val)
 Returns an ExternalEfficiencyMapDefinition onject by specifying the name or index. More...
 
EfficiencyMapPlotGetExternalEfficiencyMapPlot (Variant &val)
 Returns an EfficiencyMapPlot object by specifying the name or index. More...
 
double GetFacesHeight (String array &faceIds, Point *vector)
 Returns the height of the face in the specified direction. More...
 
double GetFacesMaximumDistanceFromAxis (String array &faceIds, Point *origin, Point *vector)
 Returns the maximum distance between the specified face and axis. More...
 
FilterDefinitionGetFilterResultDefinition (Variant &val)
 Returns a FilterDefinition object by specifying a name or index. More...
 
FluxLineDefinitionGetFluxLine (Variant &val)
 Returns a FluxLineDefinition object by specifying a name or index. More...
 
String GetHiddenResults ()
 Returns the table result items to hide. More...
 
StudyGetMasterStudy ()
 Returns a Master Study object. More...
 
MaterialGetMaterial (Variant &val)
 Returns the material specified for a part with the name or ID. More...
 
String GetMaterialAttributeParameters ()
 Returns a list of material properties. More...
 
MaterialGetMaterialByIndex (int index)
 Returns the material by specifying the index. More...
 
MeasurementVariableGetMeasurementVariable (Variant &val)
 Returns a measurement variable by specifying name or index. More...
 
MeshControlGetMeshControl ()
 Returns a MeshControl object to specify mesh properties. More...
 
MeshGroupListGetMeshGroupList ()
 Returns mesh group list. More...
 
PartGetMeshPart (Variant &var)
 Returns a mesh part object from the study. More...
 
PartGetMeshPartByIndex (int index)
 Returns a mesh part object from the study by index. More...
 
MeshToModelParameterGetMeshToModelParameter ()
 Returns an MeshToModelParameter object. More...
 
ConditionGetModelCopyControl ()
 Returns the object of the model copy that is created when the study has results. The model copy is created as a Condition object. More...
 
String GetName ()
 Returns the name of a study as a string. More...
 
Variant GetNodeIdsOnEdge (int edgeId)
 Returns a list of IDs of nodes on the specified edge. More...
 
Variant GetNodeIdsOnFace (int faceId)
 Returns a list of IDs of nodes on the specified face. More...
 
OptimizationTableGetOptimizationTable ()
 Returns the optimization table object. More...
 
ParameterSettingStatusGetParameterSettingStatus ()
 Returns a ParameterSettingStatus object to specify the display status of the analysis parameter list. More...
 
ScriptObjectGetPostCalculationScript (Variant &nameOrIndex)
 Returns the specified post-calculation script object from the study. More...
 
Variant GetPostCalculationScriptParameter (Variant &nameOrIndex, String &key)
 Returns a post-calculation script parameter from the study by specifying the name or index. More...
 
ConditionGetPostCondition (Variant &val)
 Returns a magnetic flux calculation by specifying the name or index. More...
 
double GetPostValue (String &name)
 Returns result value of a scalar type. More...
 
ProbeDefinitionGetProbe (Variant &val)
 Returns a probe by specifying a name or index. More...
 
ReportGetReport ()
 Returns a Report object. More...
 
Variant GetResponseData (String &name, int caseIndex)
 Returns all variable values for a single case response value calculation. More...
 
ResponseTableDefinitionGetResponseTableDefinition (Variant &val)
 Returns a response table definition object by specifying the name or index. (accuracy priority efficiency map study) More...
 
ResponseTableResultTypeGetResponseTableResultType (Variant &val)
 Returns a response table result type definition by specifying the name or index (accuracy priority efficiency map study) More...
 
double GetResponseVariable (String &name, int caseIndex)
 Returns a value of a response value variable. More...
 
String GetResultFileName ()
 Returns the result file name (*.jplot, *.plot). More...
 
StringList GetResultFileNameList ()
 Returns a list of result files in a study as a character string. More...
 
Variant GetResultFileNames ()
 Returns the list of result files in a study. More...
 
ResultTableGetResultTable ()
 Returns a ResultTable object. More...
 
ResultViewItemListGetResultViewItemList ()
 Returns result view list. More...
 
ScalingFactorGetScaling (Variant &val)
 Returns a ScalingFactor object by specifying a name or index. More...
 
String GetScriptTypeName ()
 Returns the study type as a character string. More...
 
SectionGraphGetSectionGraph (Variant &val)
 Returns a SectionGraph object by specifying a name or index. More...
 
StudyGetSlaveStudy (Variant &val)
 Returns a slave study object by specifying the name or index. More...
 
StepGetStep ()
 Returns a Step object to specify the step control and frequency control of study properties. More...
 
int GetStudyId ()
 Returns a unique study ID within the project. More...
 
StudyPropertiesGetStudyProperties ()
 Returns a StudyProperties object. More...
 
ResponseTableCorrectionGetTableCorrection (Variant &val)
 Returns a ResponseTableCorrection object by specifying the name or index. More...
 
String GetTagName (int index)
    Provides the tag name at the given index          More...
 
String GetTagValue (Variant &indexOrName)
    Provides tag value at the given index          More...
 
ThermalEfficiencyMapDefinitionGetThermalEfficiencyMapDefinition (Variant &val)
 Returns an ThermalEfficiencyMapDefinition onject by specifying the name or index. More...
 
String GetType ()
 Returns the analysis type of the study as a character string. More...
 
bool GetUpdateCaseValuesWithGeometryAdjustedValues ()
 Returns whether to update the case value with the adjusted value. More...
 
String GetUuid ()
 Returns a unique ID for the current study.
 
ParametricEquationGetVariable (Variant &name)
 Returns an equation by specifying a variable. More...
 
VectorDefinitionGetVector (Variant &val)
 Returns a VectorDefinition object by specifying a name or index. More...
 
VectorExpressionGetVectorExpression (Variant &val)
 Returns a VectorExpression object by specifying a name or index. More...
 
Variant GetVectorPostValue (String &name)
 Returns result value of vector type. More...
 
VibrationDefinitionGetVibrationDefinition (Variant &val)
 Returns a VibrationDefinition object by specifying a name or index. More...
 
WindingDefinitionGetWinding (Variant &val)
 Returns an winding definition by specifying the name or index. More...
 
WindingRegionGetWindingRegion (Variant &val)
 Returns an winding region definition by specifying the name or index. More...
 
bool HasCircuit ()
 Returns True as a return value if a circuit exists in the study. More...
 
bool HasIntersection ()
 Checks interference among parts in a current case. More...
 
bool HasMasterStudy ()
 Returns True as a return value if a master study exists in the study. More...
 
bool HasMesh ()
 Returns True as a return value if mesh is generated in the current case of the study. More...
 
bool HasMeshAnyPart ()
 Returns True as a return value if any part has a mesh in the current case of the study. More...
 
bool HasParametricData (String &name)
 Returns True as a return value if there is a response value with the name specified in the study. More...
 
bool HasResult ()
 Returns True as a return value if the current case of the study has analysis results. More...
 
bool HasUseWinding ()
 Returns True if the study uses windings. More...
 
void ImportSubroutineParameter (String &filename)
 Imports user subroutine parameters from a file (*.csv, *.txt). More...
 
void ImportTags (String &filename)
    Imports user defined tags from a file (*.csv, *.txt).          More...
 
bool IsAxisymmetricStudy ()
 Returns True as a return value if the study is an axisymmetric analysis. More...
 
bool IsCutPlaneStudy ()
 Returns True as a return value if the study is a cross section analysis. More...
 
bool IsModelError (int caseno=-1)
 Returns True as a return value if there is a model error. More...
 
bool IsModelWarning (int caseno=-1)
 Returns True as a return value if there is a model warning. More...
 
bool IsPartSuppressed (Variant &part)
 Returns suppressed state of a part. More...
 
bool IsValid ()
 Returns True if an object is valid. More...
 
CircuitLoadCircuit (String &filename)
 Adds a circuit by importing the specified file. More...
 
void LoadFromWeightCsv (String &csvFile, String array &cases, bool isDuplicate)
 Adds a case to the study by specifying a weight file. More...
 
bool LoadMesh ()
 Loads created mesh in current case. More...
 
void LoadMeshAllCases ()
 Loads created mesh in all cases.
 
void LoadRemoteResults (String array &cases)
 Imports result files (*.jplot) from remote calculation. More...
 
void LoadTopologyResults (String &typeName, int cases=0)
 Loads the analysis results of topology optimization. More...
 
String MagnetizedMaterialName ()
 Returns the name of the user magnetization material created from an analysis in a study running a magnetization analysis. More...
 
double MeasureDistance (String &fromType, Variant &fromID, String &toType, Variant &toID)
 Measures the distance between specified entities. More...
 
double MeasureDistanceFrom (double x, double y, double z, String &toType, Variant &toID)
 Measures the distance between the specified coordinates (x, y, z) and specified entity. More...
 
double MeasureDistanceFromPoint (Point *p, String &toType, Variant &toID)
 Measures the distance between the specified Point object and entity. More...
 
double MeasureNodeAngle (Variant &fromID, Variant &centerID, Variant &toID)
 Measures the angle of three specified points. More...
 
double MeasurePointNodeAngle (double x, double y, double z, Variant &fromID, Variant &toID)
 Measures the angle of the specified center point and two points. More...
 
double MeasurePointVertexAngle (double x, double y, double z, Variant &fromID, Variant &toID)
 Measures the angle of the specified center point and two points. More...
 
double MeasureVertexAngle (Variant &fromID, Variant &centerID, Variant &toID)
 Measures the angle of the three specified points. More...
 
void MergeJcf (String &filename)
 Specifies the jcf file path and merges model data of the jcf file into the current study. More...
 
void MergeJcfForPreview (String &filename)
 Since this is an internal function, it is not officially supported. More...
 
int NumAirRegions ()
 Returns the number of air regions as an integer. More...
 
int NumCalculationDefinitions ()
 Returns the number of calculation items (parts, faces, edges) defined in a study as an integer. More...
 
int NumCalculations ()
 Returns number of calculation items as an integer. More...
 
int NumCalculationTargets ()
 Returns the number of calculation targets defined in a study as an integer. More...
 
int NumConditions ()
 Returns the number of conditions in the study as an integer. More...
 
int NumContours ()
 Returns the number of contour plots as an integer. More...
 
int NumDifferenceEfficiencyMapDefinitions ()
 Returns the number of difference efficiency map definitions. More...
 
int NumEfficiencyMapDefinitions ()
 Returns the number of efficiency map definitions. More...
 
int NumExternalEfficiencyMapDefinitions ()
 Returns the number of external efficiency map definitions. More...
 
int NumFluxLines ()
 Returns the number of flux line plots as an integer. More...
 
int NumMaterials ()
 Returns the number of materials. More...
 
int NumPostCalculationScripts ()
 Returns the number of post-calculation scripts registered in the study.
 
int NumPostConditions ()
 Returns the number of the magnetic flux calculation in a magnetic field analysis study as an integer. More...
 
int NumPostParameters ()
 Returns the number of post parameters as an integer. More...
 
int NumProbes ()
 Returns the number of probes. More...
 
int NumResponseTableDefinitions ()
 Returns the number of response table definitions (accuracy priority efficiency map study). More...
 
int NumResponseTableResultTypes ()
 Returns the number of response table result type definitions (accuracy priority efficiency map study) More...
 
int NumScalings ()
 Returns the number of scalings as an integer. More...
 
int NumSectionGraphs ()
 Returns the number of section graphs as an integer. More...
 
int NumSlaveStudies ()
 Returns the number of slave studies in the study as an integer. More...
 
int NumTableCorrections ()
 Returns the number of response table correction definitions. More...
 
int NumTags ()
    Provides the number of tags in the study          More...
 
int NumThermalEfficiencyMapDefinitions ()
 Returnsthe number of efficiency map definitions for a thermal analysis. More...
 
int NumVectors ()
 Returns the number of vector plots as an integer. More...
 
int NumVibrationDefinitions ()
 Returns the number of vibration items defined in a study as an integer. More...
 
int NumWindingRegions ()
 Returns the number of winding region definitions. More...
 
int NumWindings ()
 Returns the number of winding definitions. More...
 
Variant ParametricDataNames ()
 Returns the name list of parameters. More...
 
String PostParameterName (int index)
 Returns a post parameter name by specifying an index. More...
 
int PostParameterType (String &name)
 Returns post parameter type by specifying a name. More...
 
void RebuildAllCasesCadParameters ()
 Rebuilds all models without results.
 
bool RemoveAllResults ()
 Deletes the all results from the result file of the current case. Mesh is also removed. More...
 
bool RemoveAllResultsAllCases ()
 Deletes the all results from the result file of the all cases. Mesh is also removed. More...
 
void RemoveMaterialByName (String &matname)
 Deletes a material by specifying a name. More...
 
void RemoveMeasurementVariable (Variant &val)
 Deletes the measurement variable by specifying name or index. More...
 
bool RemoveSelectedResults (StringList &results)
 Deletes the specified results from the result file of the current case. More...
 
bool RemoveSelectedResultsAllCases (StringList &results)
 Deletes the specified results from the result file of the all cases. More...
 
bool RemoveSelectedResultsStepList (StringList &results, String &steps)
 Deletes the specified result from the result file of the current case by specifying multiple retained steps to the result file with a character string. More...
 
bool RemoveSelectedResultsStepListAllCases (StringList &results, String &steps)
 Deletes the specified result from the result file of the current case by specifying multiple retained steps to the result file with a character string. More...
 
bool RemoveSelectedResultsSteps (StringList &results, int start, int end, int inter)
 Deletes the specified result from the result file of the current case by specifying the range and interval of the retained step to the result file. More...
 
bool RemoveSelectedResultsStepsAllCases (StringList &results, int start, int end, int inter)
 Deletes the specified result from the result file of all cases by specifying the range and interval of the retained step to the result file. More...
 
void RemoveSubroutineParameter (String &name)
 Deletes user subroutine parameters. More...
 
void RemoveTag (String &name)
    Removes the designated user defined tag          More...
 
void RemoveVariable (Variant &name)
 Deletes the equation by specifying a variable. More...
 
void RemoveWarningAsError (int code)
 Deletes the warning from the error list by specifying a code. More...
 
void Restart (int steps, int outputStep)
 Resumes calculation of selected study. More...
 
void RestartAdaptive (int stages)
 Specifies the maximum stage of the adaptive mesh control and resumes the calculation of the selected study. More...
 
void RevertMesh ()
 Reverts the meshes of the current study to the meshes of the original model, when the original model of the current study has meshes.
 
void Run ()
 Runs the current case in the foreground. Other operations cannot be run in JMAG-Designer while it is running an analysis in the foreground. More...
 
void RunAllCases ()
 Runs the all cases in the foreground. Other operations cannot be run in JMAG-Designer while it is running an analysis in the foreground. More...
 
void RunAllPostCalculationScripts ()
 Runs all of the post-calculation scripts. More...
 
void RunOptimization ()
 Runs optimization.
 
void RunRangeFinder ()
 Runs the range finder.
 
void RunTopologyOptimization ()
 Runs the topology optimization.
 
void SetAirRegionVisibility (int index, bool visible)
 Switches the display of the air region. More...
 
void SetCadParameterValue (String &name, Variant &value)
 Specifies a value for the CAD parameter of a model. More...
 
void SetCheckForTopologyChanges (bool flag)
 Specifies whether or not to check the increase or decrease in the number of parts, faces, edges, and vertices. More...
 
void SetCopyOnUpdate (bool flag)
 Specifies whether or not to copy a study during model update. More...
 
void SetCurrentCase (int caseIndex)
 Specifies the current case ID. More...
 
void SetCurrentComposite (Variant &val)
 Specifies a name or index to dispaly the composite result. More...
 
void SetCurrentContour (Variant &val)
 Specifies a name or index to specify the contour plot that is displayed. More...
 
void SetCurrentFluxLine (Variant &val)
 Specifies a name or index to specify the flux line that is displayed. More...
 
void SetCurrentScaling (Variant &val)
 Specifies a name or index to specify the scale that is displayed. More...
 
void SetCurrentVector (Variant &val)
 Specifies a name or index to specify the vector plot that is displayed. More...
 
void SetDescription (String &description)
 Specifies the description. More...
 
void SetHiddenResults (String &list)
 Specifies the table result items to hide. More...
 
void SetMaterial (Variant &val, Material *material)
 Specifies a material to a part using a variable. More...
 
void SetMaterialAttributeParameters (String &items)
 Specifies material attribute items. More...
 
void SetMaterialByName (Variant &val, String &matname)
 Specifies a material to a part using a variable. More...
 
void SetMeasurementVariable (String &name, String &type, Selection *sel)
 Specifies a measurement variable. More...
 
void SetMessageVisible (bool on)
 Since this is an internal function, it is not officially supported. More...
 
void SetModelDivisionCadParameterName (String &name)
 Specifies the CAD parameter name that sets the number of divisions determined from the winding condition. More...
 
void SetName (String &name)
 Specifies the name of a study. More...
 
void SetPostCalculationScriptParameter (Variant &nameOrIndex, String &key, Variant &value)
 Specifies a post-calculation script parameter from the study by specifying the name or index. More...
 
void SetTag (String &name, String &value)
    Adds a user defined tag. If the tag's name already exist it updates the tag with the given value.          More...
 
void SetUpdateByRelation (bool flag)
 Specifies whether to consider Parent-Child relation (Condition Parts to setting target). More...
 
void SetUpdateCaseValuesWithGeometryAdjustedValues (bool flag)
 Specifies whether to update the case value with the adjusted value. More...
 
void SetUseModelDivisionCadParameter (bool flag)
 Specifies whether to determine the number of divisions from the winding conditions. True=1 : Used False=0 : Does not used.
 
void SetUserResponseVariable (String &name, int caseIndex, double value)
 Specifies or creates a variable of a response value using an user-defined value. More...
 
void SetVariable (Variant &name, Variant &value)
 Specifies an equation. More...
 
void SubmitAllLocal (bool queued)
 Corresponds to the following function of JMAG-Designer13.0 or later.
CreateJob. More...
 
void SubmitAllRemote (String &machine, String &cpu, Variant &keepremote, bool queued)
 Corresponds to the following function of JMAG-Designer13.0 or later.
CreateJob. More...
 
void SubmitLocal (bool queued)
 Corresponds to the following function of JMAG-Designer 13.0 or later.
CreateJob. More...
 
void SubmitRemote (String &machine, String &cpu, Variant &keepremote, bool queued)
 Corresponds to the following function of JMAG-Designer13.0 or later.
CreateJob. More...
 
void SuppressPart (Variant &part, int state)
 Specifies suppression to a part. More...
 
void UnLockAll ()
 Since this is an internal function, it is not officially supported. More...
 
void UpdateDriveCycleResponseParametricData (Variant &val, DriveCycleResponseDataParameter *parameter)
 Changes the response value of the drive cycle by specifying a name or index. More...
 
void UpdateEfficiencyMapParametricData (Variant &val, EfficiencyMapResponseDataParameter *parameter)
 Changes the response value of the efficiency map by specifying a name or index. More...
 
void UpdateParametricData (Variant &val, ResponseDataParameter *parameter)
 Changes a response data by specifying the name or index. More...
 
void UpdateScriptParametricData (Variant &val, String &title, String &variable, String &script)
 Changes the script's response value by name or index. More...
 
void UpdateSkew ()
 Applies skew on mesh if it is not applied.
 
void UpdateSubroutineParameter (String &name, Variant &value)
 Updates user subroutine parameters. More...
 
void WriteAllMeshJcf (String &path, String &filename, bool active)
 Exports JCF file (mesh data) of all cases included in a study to the specified folder. More...
 
void WriteAllSolidJcf (String &path, String &filename, bool active, bool need_preprocess=true)
 Exports JCF file (geometry data) of all cases included in a study to the specified folder. More...
 
void WriteAllSolidPartialMeshJcf (String &path, String &filename, bool active, bool need_preprocess=true)
 Exports JCF file (geometry data contain partial mesh) of all cases included in a study to the specified folder. More...
 
bool WriteCaseReport (String &filename)
 Exports the case report. More...
 
void WriteCoilPositionJsonFile (String &filename)
 Since this is an internal function, it is not officially supported.
 
void WriteMeshJcf (String &filename)
 Exports a JCF file (mesh data) by specifying a file path. More...
 
void WriteModelOutlineJsonFile (String &filename)
 Since this is an internal function, it is not officially supported.
 
bool WriteResponseReport (String &filename)
 Exports a parametric report. More...
 
void WriteSolidJcf (String &filename, bool need_preprocess=true)
 Exports a JCF file (geometry data) by specifying a file path. More...
 
void WriteSolidPartialMeshJcf (String &filename, bool need_preprocess=true)
 Exports a JCF file (geometry data contain partial mesh) by specifying a file path. More...
 
void WriteTopologyConfigurationFile (String &filename, int independentJobs)
 Runs the topology optimization. More...
 

Detailed Description

Study class is used to specify a study.
The class can be called from the Model or Application class.
.

Example of obtaining the class object:

app.GetModel(0).GetStudy(0)

Member Function Documentation

void Study::AddCadParameter ( String &  name)

Adds a CAD parameter of a model to the target.

Parameters
nameName of the CAD parameter
void Study::AddCadParameters ( StringList &  names)

Adds CAD parameters of a model to the target.

Parameters
namesList of CAD parameter names
void Study::AddMaterialByName ( String &  matname)

Adds a new material.

Parameters
matnameMaterial
ScriptObject * Study::AddPostCalculationScript ( String &  title)

Adds an empty post-calculation script to the study.

Parameters
titleThe tile for the script object
Returns
Returns the added script object
ScriptObject * Study::AddPostCalculationScriptFromFile ( String &  filename)

Adds an post-calculation script to the study using the contents of the specified file.

Parameters
filenameThe file to be read
Returns
Returns the added script object
void Study::AddRemoteCases ( String array &  indices)

Add cases from remote calculations.

Parameters
indicesIndexes to add
void Study::AddSubroutineParameter ( String &  name,
Variant &  value 
)

Adds user subroutine parameters.

Parameters
nameUser variable name
valueValue
void Study::AddWarningAsError ( int  code)

Adds a warning to the error list by specifying a code.

Parameters
codeCode
bool Study::AnyCaseHasResult ( )

Returns True as a return value if any cases of the study have analysis results.

Returns
Whether or not any cases of the study have analysis results
String Study::CalculationFolder ( int  caseno = -1)

Returns calculation folder name.

Parameters
casenoCase ID
Returns
Calculation folder name
bool Study::CaseHasMesh ( int  caseIndex)

Returns True as a return value if mesh is generated in the specified case of the study.

Parameters
caseIndexCase ID
Returns
Whether or not the specified case of the study has mesh

The caseIndex is numbered from zero.

bool Study::CaseHasMeshAnyPart ( int  caseIndex)

Returns True as a return value if any part has a mesh in the specified case of the study.

Parameters
caseIndexCase ID
Returns
Whether or not the specified case of the study has mesh in any of the parts

The caseIndex is numbered from zero.

bool Study::CaseHasResult ( int  caseIndex)

Returns True as a return value if the specified case of the study has analysis results.

Parameters
caseIndexCase ID
Returns
Whether or not the specified case of the study has analysis results

The caseIndex is numbered from zero.

void Study::CheckFolderResults ( String &  folder)

Imports result files (*.jplot) of the specified folder.

Parameters
folderFolder path
Model * Study::ConvertMeshToModel ( )

Creates a model from the mesh.

Returns
Model object
ResultCalculation * Study::CopyCalculation ( ResultCalculation cal)

Returns a new ResultCalculation object by copying the specified ResultCalculation object.

Parameters
calResultCalculation object
Returns
ResultCalculation object
CalculationDefinition * Study::CopyCalculationDefinition ( CalculationDefinition copy)

Creates a new CalculationDefinition object by copying the specified CalculationDefinition object.

Parameters
copyCalculationDefinition object
Returns
CalculationDefinition object
CalculationTarget * Study::CopyCalculationTarget ( CalculationTarget copy)

Creates a new CalculationTarget object by copying the specified CalculationTarget object.

Parameters
copyCalculationTarget object
Returns
CalculationTarget object
ContourDefinition * Study::CopyContour ( ContourDefinition contour)

Creates a ContourDefinition object by copying the specified ContourDefinition object.

Parameters
contourContourDefinition object
Returns
ContourDefinition object
FluxLineDefinition * Study::CopyFluxLine ( FluxLineDefinition contour)

Creates a FluxLineDefinition object by copying the specified FluxLineDefinition object.

Parameters
contourFluxLineDefinition object
Returns
FluxLineDefinition object
ProbeDefinition * Study::CopyProbe ( ProbeDefinition copy)

Copies a probe.

Parameters
copyProbeDefinition object
Returns
ProbeDefinition object
ScalingFactor * Study::CopyScaling ( ScalingFactor scaling)

Creates a ScalingFactor object by copying the specified ScalingFactor object.

Parameters
scalingScalingFactor object
Returns
ScalingFactor object
VectorDefinition * Study::CopyVector ( VectorDefinition vector)

Creates a VectorDefinition object by copying the specified VectorDefinition object.

Parameters
scalingVectorDefinition object
Returns
VectorDefinition object
VibrationDefinition * Study::CopyVibrationDefinition ( VibrationDefinition vibration)

Creates a new VibrationDefinition object by copying the specified VibrationDefinition object.

Parameters
copyVibrationDefinition object
Returns
VibrationDefinition object
WindingDefinition * Study::CopyWinding ( WindingDefinition defn)

Creates a new winding definition by copying an existing winding definition.

Parameters
nameOrginal WindingDefinition object
Returns
Created WindingDefinition object
WindingRegion * Study::CopyWindingRegion ( WindingRegion copy)

Creates a new winding region by copying an existing winding region.

Parameters
copyOrginal winding region object
Returns
Created WindingRegion object
Study * Study::Create2DStudy ( String &  name)

Creates a 2D (or axisymmetric) Study object from the section analysis study by specifying a name.

Parameters
nameStudy name
Returns
Study object
void Study::CreateAnalysisTemplate ( String &  title,
String &  tooltip,
String &  folder = String(),
double  version = 1.0 * kProjectFileVersion 
)

Creates an analysis template from the study.

Parameters
titleName of the analysis template
tooltipDescription of the analysis template
folderFolder of the analysis template
versionSave version
Study * Study::CreateAxisymmetricCutPlaneStudy ( String &  study_name,
String &  condition_name 
)

Creates a Study object of section analysis (axisymmetric) by specifying a study name or Section condition title.

Parameters
study_nameStudy name
condition_nameTitle of the Section condition
Returns
Study object
ResultCalculation * Study::CreateCalculation ( String &  typeName,
String &  name 
)

Creates a ResultCalculation object by specifying a name and condition type.

Parameters
typeNameCondition type name
FFT : Fourier transformation calculation (amount of distribution)
Filter : Frequency filter calculation
Difference : Calculation of result difference
nameName
Returns
ResultCalculation object

For more information about the condition type name that can be specified as the argument typeName, see Properties and Flags for Calculating Results .

CalculationDefinition * Study::CreateCalculationDefinition ( String &  name)

Creates a CalculationDefinition object by specifying a name (calculation of a part).

Parameters
nameName
Returns
CalculationDefinition object
Circuit * Study::CreateCircuit ( )

Adds a new circuit.

Returns
Circuit object
CompositeResultDefinition * Study::CreateCompositeResult ( String &  name)

Creates a CompositeResultDefinition object by specifying the name.

Parameters
nameComposite result name
Returns
CompositeResultDefinition object

For more information about the commands in the CompositeResultDefinition class, see CompositeResultDefinition .

Condition * Study::CreateCondition ( String &  typeName,
String &  name 
)

Creates a Condition object by specifying the condition type and name.

Parameters
typeNameCondition type name
nameCondition name
Returns
Condition object

For more information about the condition type name that can be specified as argument "typeName", see Properties and Flags for Condition Settings .

ContourDefinition * Study::CreateContour ( String &  name)

Creates a ContourDefinition object by specifying the name.

Parameters
nameContour plot name
Returns
ContourDefinition object

For more information about the commands in the ContourDefinition class, see ContourDefinition .

Study * Study::CreateCutPlaneStudy ( String &  study_name,
String &  condition_name 
)

Creates a Study object of section analysis (2D) by specifying a study name and a Section condition title.

Parameters
study_nameStudy name
condition_nameTitle of the Section condition
Returns
Study object
DifferenceEfficiencyMapDefinition * Study::CreateDifferenceEfficiencyMapDefinition ( String &  name)

Creates an new DifferenceEfficiencyMapDefinition onject.

Parameters
nameName of the new difference efficiency map
Returns
Created DifferenceEfficiencyMapDefinition object
void Study::CreateDriveCycleResponseParametricData ( DriveCycleResponseDataParameter parameter)

Creates an drive cycle response value from parameter object.

Parameters
parameterDriveCycleResponseDataParameter object
CalculationDefinition * Study::CreateEdgeCalculationDefinition ( String &  name)

Creates a CalculationDefinition object by specifying a name (calculation of an edge).

Parameters
nameName
Returns
CalculationDefinition object
CalculationTarget * Study::CreateEdgeCalculationTarget ( String &  name)

Creates a CalculationTarget object by specifying a name (edge).

Parameters
nameName
Returns
CalculationTarget object
EfficiencyMapDefinition * Study::CreateEfficiencyMapDefinition ( String &  name)

Creates an new EfficiencyMapDefinition onject.

Parameters
nameThe name of the new efficiency map
Returns
The created EfficiencyMapDefinition object
void Study::CreateEfficiencyMapParametricData ( Variant &  val,
EfficiencyMapResponseDataParameter parameter 
)

Creates an efficiency map response value by specifying the efficiency map name or index.

Parameters
valEfficiency map name or index
parameterEfficiencyMapResponseDataParameter object
ExternalEfficiencyMapDefinition * Study::CreateExternalEfficiencyMapDefinition ( String &  name)

Creates an new ExternalEfficiencyMapDefinition onject.

Parameters
nameName of the new external efficiency map
Returns
Created ExternalEfficiencyMapDefinition object
FilterDefinition * Study::CreateFilterDefinition ( String &  name)

Creates a FilterDefinition object by specifying the name.

Parameters
nameFilter object name
Returns
FilterDefinition object

For more information about the commands in the FilterDefinition class, see FilterDefinition .

FluxLineDefinition * Study::CreateFluxLine ( String &  name)

Creates a FluxLineDefinition object by specifying the name.

Parameters
nameFlux line name
Returns
FluxLineDefinition object

For more information about the commands in the FluxLineDefinition class, see FluxLineDefinition .

Job * Study::CreateJob ( )

Creates a Job object to perform batch execution of the current case (or batch execution of all cases). A “Job” is a command to run an analysis that is exchanged between machines.

Returns
Job object
Study * Study::CreateLossStudy ( String &  name)

Creates a Study object of iron loss analysis by specifying a name.

Parameters
nameStudy name
Returns
Study object
Part * Study::CreateMeshPart ( String &  name)

Creates a new mesh part in the study.

Parameters
nameThe name of the new part
Returns
part The created part
void Study::CreateParametricDataFromCalculation ( Variant &  val,
ResponseDataParameter parameter,
int  index = 0 
)

Creates a response data by specifying the calculation name or index.

Parameters
valCalculation name or index
parameterResponseDataParameter object
indexIndex of the data
void Study::CreateParametricDataFromProbe ( Variant &  val,
ResponseDataParameter parameter,
int  index = 0 
)

Creates a response data by specifying the probe name or index.

Parameters
valProbe name or index
parameterResponseDataParameter object
indexIndex of the data
void Study::CreateParametricDataFromSection ( Variant &  val,
ResponseDataParameter parameter,
int  index = 0 
)

Creates a response data by specifying the section graph name or index.

Parameters
valSection graph name or index
parameterResponseDataParameter object
indexIndex of the data
void Study::CreateParametricDataFromTable ( String &  val,
ResponseDataParameter parameter 
)

Creates a response data by specifying the table name.

Parameters
valTable name
parameterResponseDataParameter object
void Study::CreateParametricDataFromVectorExpression ( Variant &  val,
ResponseDataParameter parameter 
)

Creates response data by specifying the vector exprssion name.

Parameters
valVector expression name
parameterResponseDataParameter object
void Study::CreateParametricDataFromVibration ( Variant &  val,
ResponseDataParameter parameter,
int  index = 0 
)

Creates a response data by specifying the vibration name or index.

Parameters
valVibration name or index
parameterResponseDataParameter object
indexIndex of the data
DataSet * Study::CreateParametricGraph ( String &  xaxis,
int  xseries,
String &  yaxis,
bool  pareto = false 
)

Creates a response graph.

Parameters
xaxisThe X-axis of the response graph to be created. Specify the item to be the axis from the case index, response value, objective function, constraint condition, and expression.
xseriesLine index of the X-axis (starts from 0)
yaxisThe Y-axis of the response graph to be created. Specify the item to be the axis from the case index, response value, objective function, constraint condition, and expression.
Returns
DataSet object

For more information about the commands in the DataSet class, see DataSet .

ParametricGraphDefinition * Study::CreateParametricGraphDefinition ( )

Creates a response graph object.

Returns
ParametricGraphDefinition object
DataSet * Study::CreateParametricGraphWithName ( String &  graphname,
String &  xaxis,
int  xseries,
String &  yaxis,
bool  pareto = false 
)

Creates a response graph by specifying a name.

Parameters
graphnameGraph name
xaxisThe X-axis of the response graph to be created. Specify the item to be the axis from the case index, response value, objective function, constraint condition, and expression.
xseriesLine index of the X-axis (starts from 0)
yaxisThe Y-axis of the response graph to be created. Specify the item to be the axis from the case index, response value, objective function, constraint condition, and expression.
Returns
DataSet object

For more information about the commands in the DataSet class, see DataSet .

Condition * Study::CreatePostCondition ( String &  typeName,
String &  name 
)

Specifies the magnetic flux calculation to magnetic field analysis study.

Parameters
typeNameCondition type name (Flux)
nameCondition name
Returns
Condition object

For more information about condition type names that can be specified as the argument "typeName", see scriptFluxTableFlux.

ProbeDefinition * Study::CreateProbe ( String &  name)

Creates a probe by specifying a name.

Parameters
nameProbe name
Returns
ProbeDefinition object
ResponseTableDefinition * Study::CreateResponseTableDefinition ( String &  name)

Creates a ResponseTableDefinition definition for an accuracy priority efficiency map study.

Parameters
nameThe name of the response table definition
Returns
The created ResponseTableDefinition object
ResponseTableResultType * Study::CreateResponseTableResultType ( String &  name)

Creates a new response table result type definition (accuracy priority efficiency map study)

Parameters
nameThe name of the new definition
Returns
The created ResponseTableResultType object
ScalingFactor * Study::CreateScaling ( String &  name)

Creates a ScalingFactor object by specifying the name.

Parameters
nameScaling name
Returns
ScalingFactor object

For more information about the commands in the ScalingFactor class, see ScalingFactor .

void Study::CreateScriptParametricData ( String &  title,
String &  variable,
String &  script 
)

Creates script response values.

Parameters
titleResponse value name
variableResponse value variable name
scriptScript
SectionGraph * Study::CreateSectionGraph ( String &  name,
Variant &  index = -1 
)

Creates a SectionGraph object by specifying a name.

Parameters
nameSection graph name
indexName or index of the calculation item
Returns
SectionGraph object
CalculationDefinition * Study::CreateSurfaceCalculationDefinition ( String &  name)

Creates a CalculationDefinition object by specifying a name (calculation of a face).

Parameters
nameName
Returns
CalculationDefinition object
CalculationTarget * Study::CreateSurfaceCalculationTarget ( String &  name)

Creates a CalculationTarget object by specifying a name (face).

Parameters
nameName
Returns
CalculationTarget object
ResponseTableCorrection * Study::CreateTableCorrection ( String &  name)

Creates a new response table correction object for speed priority efficiency maps.

Parameters
nameThe name of the new object
Returns
ResponseTableCorrection object
TableDefinition * Study::CreateTableDefinition ( )

Creates a TableDefinition object.

Returns
TableDefinition object
ThermalEfficiencyMapDefinition * Study::CreateThermalEfficiencyMapDefinition ( String &  name)

Creates an new ThermalEfficiencyMapDefinition object for a thermal analysis.

Parameters
nameThe name of the new efficiency map
Returns
The created ThermalEfficiencyMapDefinition object
VectorDefinition * Study::CreateVector ( String &  name)

Creates a VectorDefinition object by specifying the name.

Parameters
nameVector plot name
Returns
VectorDefinition object

For more information about the commands in the VectorDefinition class, see VectorDefinition .

VectorExpression * Study::CreateVectorExpression ( String &  name)

Creates a VectorExpression object by specifying the name.

Parameters
nameVector expression object name
Returns
VectorExpression object

For more information about the commands in the VectorExpression class, see VectorExpression .

VibrationDefinition * Study::CreateVibrationDefinition ( String &  name)

Creates a VibrationDefinition object by specifying a name.

Parameters
nameName
Returns
VibrationDefinition object
WindingDefinition * Study::CreateWinding ( String &  type,
String &  name 
)

Creates a winding definition.

Parameters
nameName of the winding definition
Returns
Created WindingDefinition object
WindingRegion * Study::CreateWindingRegion ( String &  name,
Variant &  type = 0 
)

Creates a new winding region definition.

Parameters
nameName of the new winding region
type0 : Winding region (Geometry) 1 : Winding region (Coil template)
Returns
The created WindingRegion object
int Study::CurrentIndexPostCalculationScripts ( )

Returns the index of the active post-calculation script list.

Returns
Returns the script index
void Study::DeleteCadParameter ( String &  name)

Removes a CAD parameter of a model from the target.

Parameters
nameName of the CAD parameter
void Study::DeleteCalculation ( Variant &  val)

Deletes a calculation item by specifying a name or index.

Parameters
valName or index of the calculation item
void Study::DeleteCalculationDefinition ( Variant &  val)

Deletes a CalculationDefinition object by specifying name or index.

Parameters
valName or index
void Study::DeleteCalculationTarget ( Variant &  val)

Deletes a CalculationTarget object by specifying name or index.

Parameters
valName or index
void Study::DeleteCompositeResult ( Variant &  val)

Deletes composite result by specifying a name or index.

Parameters
valComposite result name or index
void Study::DeleteCondition ( Variant &  val)

Deletes a condition by specifying the name or index.

Parameters
valCondition name or index
void Study::DeleteContour ( Variant &  val)

Deletes a contour plot by specifying a name or index.

Parameters
valContour plot name or index
void Study::DeleteDifferenceEfficiencyMapDefinition ( Variant &  val)

Deletes an DifferenceEfficiencyMapDefinition onject by specifying the name or index.

Parameters
valName or index of the difference efficiency map definition
void Study::DeleteEfficiencyMapDefinition ( Variant &  val)

Deletes an EfficiencyMapDefinition onject by specifying the name or index.

Parameters
valName or index of the efficiency map definition
void Study::DeleteExternalEfficiencyMapDefinition ( Variant &  val)

Deletes an ExternalEfficiencyMapDefinition onject by specifying the name or index.

Parameters
valName or index of the external efficiency map definition
void Study::DeleteFilterResultDefinition ( Variant &  val)

Deletes a filter object by specifying a name or index.

Parameters
valFilter object name or index
void Study::DeleteFluxLine ( Variant &  val)

Deletes a flux line plot by specifying a name or index.

Parameters
valFlux line name or index
void Study::DeleteMeshPart ( Variant &  var)

Removes a mesh part from the study.

Parameters
varPart name or ID
void Study::DeleteParametricData ( Variant &  val)

Deletes a response data by specifying the name or index.

Parameters
valResponse data name or index
void Study::DeletePostCalculationScript ( Variant &  nameOrIndex)

Deletes a post-calculation script from the study by specifying the name or index.

Parameters
nameOrIndexname or index of the script
void Study::DeletePostCondition ( Variant &  val)

Deletes the post condition by specifying the name or index.

Parameters
valName or index of the post condition
void Study::DeleteProbe ( Variant &  val)

Deletes a probe by specifying a name or index.

Parameters
valProbe name or index
void Study::DeleteResponseTable ( CircuitComponent component)

Deletes the response value table created from the RT component.

Parameters
componentCircuitComponent object
void Study::DeleteResponseTableDefinition ( Variant &  val)

Deletes a response table definition object by specifying the name or index.

Parameters
valname or index of the table
void Study::DeleteResponseTableResultType ( Variant &  val)

Deletes a response table result type definition by specifying the name or index (accuracy priority efficiency map study)

Parameters
valname or index of the table result type definition
void Study::DeleteResultCase ( int  caseno)

Deletes the result of the specified case. This command also deletes result files.

Parameters
casenoCase ID
void Study::DeleteResultCaseFromStudy ( int  caseno)

Removes the result of the specified case from the study.

The result file itself is not deleted with this command but the study and result file become unlinked.
Run the command CheckForNewResults for the Study class when linking the result file and study again.

Parameters
casenoCase ID
void Study::DeleteResultCurrentCaseFromStudy ( )

Removes the result of a current case from a study.

The result file itself is not deleted with this command but the study and result file become unlinked.
Run the command Study::CheckForNewResults for the Study class when linking the result file and study again.

void Study::DeleteResultFromStudy ( )

Removes results of all cases from a study.

The result file itself is not deleted with this command but the study and result file become unlinked.
For more information about the operation in the graphics window, see CheckForNewResults .

void Study::DeleteScaling ( Variant &  val)

Deletes scaling by specifying a name or index.

Parameters
valScaling name or index
void Study::DeleteSectionGraph ( Variant &  val)

Deletes a section graph by specifying a name or index.

Parameters
valSection graph name or index
void Study::DeleteTableCorrection ( Variant &  val)

Deletes a ResponseTableCorrection by specifying the name or index.

Parameters
valThe name or index of the correction
void Study::DeleteThermalEfficiencyMapDefinition ( Variant &  val)

Deletes an ThermalEfficiencyMapDefinition onject by specifying the name or index.

Parameters
valName or index of the efficiency map definition
void Study::DeleteVector ( Variant &  val)

Deletes a vector plot by specifying a name or index.

Parameters
valVector plot name or index
void Study::DeleteVectorExpression ( Variant &  val)

Deletes a vector expression object by specifying a name or index.

Parameters
valVector expression object name or index
void Study::DeleteVibrationDefinition ( Variant &  val)

Deletes a VibrationDefinition object by specifying name or index.

Parameters
valName or index
void Study::DeleteWinding ( Variant &  val)

Deletes an winding definition by specifying the name or index.

Parameters
valName or index of the Winding Definition object
void Study::DeleteWindingRegion ( Variant &  val)

Deletes an winding region definition by specifying the name or index.

Parameters
valName or index of the winding region definition
SectionGraph * Study::DuplicateSectionGraph ( Variant &  val)

Returns a duplicated SectionGraph by specifying a name or index.

Parameters
valSection graph name or index
Returns
SectionGraph object
void Study::ExportAnalysisParameters ( String &  filename,
bool  exportCADParameter 
)

Exports Analysis Parameter items to designated file.

Parameters
filenameExport file name
exportCADParameterWhether to output CAD parameters
void Study::ExportCaseValueData ( String &  filename)

Exports the response value table to a file (*.htm, *.txt, *.csv).

Parameters
filenameFile path of destination
bool Study::ExportMinMaxTable ( TableDefinition def,
String &  filename 
)

Exports a file (*.htm, *.txt, *.csv) to the min/max table.

Parameters
defTableDefinition object
filenameFile path of the destination

The files of the following format can be exported.

  • HTML format (*.html)
  • Tab format (*.txt)
  • CSV format (*.csv)
bool Study::ExportPositionTable ( TableDefinition def,
String &  filename 
)

Exports a file (*.htm, *.txt, *.csv) to the position table.

Parameters
defTableDefinition object
filenameFile path of the destination

The files of the following format can be exported.

  • HTML format (*.html)
  • Tab format (*.txt)
  • CSV format (*.csv)
void Study::ExportResponseTable ( String &  filename,
Variant &  nameOrIndex,
int  caseIndex,
double  temp = 0.0 
)

Exports response table of efficiency map to file.

Parameters
filenameExport file name
nameOrIndexThe Response table name or index
caseIndexCase index
tempResponse Table Temperature

The caseIndex is numbered from 0.

bool Study::ExportResultValuesTable ( TableDefinition def,
String &  filename 
)

Exports a file (*.htm, *.txt, *.csv) to the result values table.

Parameters
defTableDefinition object
filenameFile path of the destination

The files of the following format can be exported.

  • HTML format (*.html)
  • Tab format (*.txt)
  • CSV format (*.csv)
void Study::ExportRttFile ( RttFileParameter parameter)

Exports an rtt file using the parameters set in RttFileParameter object.

Parameters
parameterRttFileParameter object
void Study::ExportSubroutineParameter ( String &  filename)

Exports user subroutine parameters to a file (*.csv, *.txt).

Parameters
filenameFile path for exporting
bool Study::ExportTable ( TableDefinition def,
String &  filename,
Variant &  filetype 
)

Exports a file (*.htm, *.txt, *.csv) to the result table.

Parameters
defTableDefinition object
filenameFile path of the destination
filetype
0 or designer : Outputs a table in Designer format
1 or studio : Outputs a table in Studio format

The files of the following format can be exported.

  • HTML format (*.html)
  • Tab format (*.txt)
  • CSV format (*.csv)
    However, Only Tab format output from Studio can be exported.
    Returns
    Whether or not a file is exported
void Study::ExportTags ( String &  filename)

   Exports user defined tags to a file (*.csv, *.txt).         

  

Parameters
filenameFile path for importing
ResultViewItemList * Study::GetAllCasesResultViewItemList ( )

Returns result view list for all cases.

Returns
ResultViewItemList object
ResultCalculation * Study::GetCalculation ( Variant &  val)

Returns the ResultCalculation object by specifying a name or index.

Parameters
valName or index of the calculation item
Returns
ResultCalculation object
CalculationDefinition * Study::GetCalculationDefinition ( Variant &  val)

Returns a CalculationDefinition object by specifying a name or index.

Parameters
valName or index
Returns
CalculationDefinition object
CalculationTarget * Study::GetCalculationTarget ( Variant &  val)

Returns a CalculationTarget object by specifying a name or index.

Parameters
valName or index
Returns
CalculationTarget object
bool Study::GetCheckForTopologyChanges ( )

Returns whether or not to check the increase or decrease in the number of parts, faces, edges, and vertices.

Returns
Whether or not to check
Circuit * Study::GetCircuit ( )

Returns a Circuit object.

Returns
Circuit object
CompositeResultDefinition * Study::GetCompositeResult ( Variant &  val)

Returns a CompositeResultDefinition object by specifying a name or index.

Parameters
valComposite result name or index
Returns
CompositeResultDefinition object
Condition * Study::GetCondition ( Variant &  val)

Returns a Condition object by specifying the name or index.

Parameters
valCondition name or index
Returns
Condition object
Variant Study::GetConditionTypes ( )

Returns the list of usable condition types.

Returns
Names of usable condition types

For more information about names of condition types, see Properties and Flags for Condition Settings.

ContourDefinition * Study::GetContour ( Variant &  val)

Returns a ContourDefinition object by specifying a name or index.

Parameters
valContour plot name or index
Returns
ContourDefinition object
bool Study::GetCopyOnUpdate ( )

Returns whether or not to copy a study on model update.

Returns
Whether or not to copy a study during model update
ResponseCreateAdditionalPointsInfo * Study::GetCreateResponseAdditionalPointsInfo ( )

Returns a ResponseCreateAdditionalPointsInfo object to specify additional calculation points for efficiency map speed priority.

Returns
ResponseCreateAdditionalPointsInfo object
ResponseCreateInfo * Study::GetCreateResponseInfo ( )

Returns a ResponseCreateInfo object to specify the efficiency map response table settings.

Returns
ResponseCreateInfo object
int Study::GetCurrentCase ( )

Returns the current active case ID.

Returns
Case ID

The returned Case ID is numbered from zero.

DataSet * Study::GetDataSet ( String &  name,
int  caseno 
)

Returns a DataSet object by specifying a name.

Parameters
nameData set name
casenoCase ID
Returns
DataSet object
String Study::GetDescription ( )

Returns the description.

Returns
Description
DesignTable * Study::GetDesignTable ( )

Returns interface for parametric settings.

Returns
DesignTable object

For more information about DesignTable class, see DesignTable and ParametricEquation .

DifferenceEfficiencyMapDefinition * Study::GetDifferenceEfficiencyMapDefinition ( Variant &  val)

Returns an DifferenceEfficiencyMapDefinition onject by specifying the name or index.

Parameters
valName or index of the difference efficiency map definition
Returns
DifferenceEfficiencyMapDefinition object
EfficiencyMapPlot * Study::GetDifferenceEfficiencyMapPlot ( Variant &  val)

Returns an EfficiencyMapPlot object by specifying the name or index.

Parameters
valName or index of the difference efficiency map
Returns
EfficiencyMapPlot object
EfficiencyMapDefinition * Study::GetEfficiencyMapDefinition ( Variant &  val)

Returns an EfficiencyMapDefinition onject by specifying the name or index.

Parameters
valname or index of the efficiency map definition
Returns
The EfficiencyMapDefinition object
EfficiencyMapPlot * Study::GetEfficiencyMapPlot ( Variant &  val)

Returns an EfficiencyMapPlot object by specifying the name or index.

Parameters
valName or index of the efficiency map
Returns
EfficiencyMapPlot object
ExternalEfficiencyMapDefinition * Study::GetExternalEfficiencyMapDefinition ( Variant &  val)

Returns an ExternalEfficiencyMapDefinition onject by specifying the name or index.

Parameters
valName or index of the external efficiency map definition
Returns
ExternalEfficiencyMapDefinition object
EfficiencyMapPlot * Study::GetExternalEfficiencyMapPlot ( Variant &  val)

Returns an EfficiencyMapPlot object by specifying the name or index.

Parameters
valName or index of the external data efficiency map
Returns
EfficiencyMapPlot object
bool Study::GetFacesHeight ( String array &  facesList,
Point vector 
)

Returns the height of the face in the specified direction.

Returns
Height of faces in specified direction
bool Study::GetFacesMaximumDistanceFromAxis ( String array &  facesList,
Point origin,
Point vector 
)

Returns the maximum distance between the specified face and axis.

Returns
Furthest distance between specified axis and faces
FilterDefinition * Study::GetFilterResultDefinition ( Variant &  val)

Returns a FilterDefinition object by specifying a name or index.

Parameters
valFilter object name or index
Returns
FilterDefinition object
FluxLineDefinition * Study::GetFluxLine ( Variant &  val)

Returns a FluxLineDefinition object by specifying a name or index.

Parameters
valFlux line name or index
Returns
FluxLineDefinition object
String Study::GetHiddenResults ( )

Returns the table result items to hide.

Returns
list Result Type Name
Study * Study::GetMasterStudy ( )

Returns a Master Study object.

Returns
Study object
Material * Study::GetMaterial ( Variant &  val)

Returns the material specified for a part with the name or ID.

Parameters
valPart name or ID
Returns
Material object
String Study::GetMaterialAttributeParameters ( )

Returns a list of material properties.

Returns
list Names of material property items
Material * Study::GetMaterialByIndex ( int  index)

Returns the material by specifying the index.

Parameters
indexMaterial index
Returns
Material object
MeasurementVariable * Study::GetMeasurementVariable ( Variant &  val)

Returns a measurement variable by specifying name or index.

Parameters
valvariable name or index
Returns
MeasurementVariable object
MeshControl * Study::GetMeshControl ( )

Returns a MeshControl object to specify mesh properties.

Returns
MeshControl object
MeshGroupList * Study::GetMeshGroupList ( )

Returns mesh group list.

Returns
MeshGroupList object

For more information about MeshGroupList, see MeshGroup and MeshGroupList .

Part * Study::GetMeshPart ( Variant &  var)

Returns a mesh part object from the study.

Parameters
varPart name or ID
Returns
part The mesh part
Part * Study::GetMeshPartByIndex ( int  index)

Returns a mesh part object from the study by index.

Parameters
indexThe index of the part
Returns
part The mesh part
MeshToModelParameter * Study::GetMeshToModelParameter ( )

Returns an MeshToModelParameter object.

Returns
MeshToModelParameter object
Condition * Study::GetModelCopyControl ( )

Returns the object of the model copy that is created when the study has results. The model copy is created as a Condition object.

Returns
Condition object
String Study::GetName ( )

Returns the name of a study as a string.

Returns
Study name
Variant Study::GetNodeIdsOnEdge ( int  edgeId)

Returns a list of IDs of nodes on the specified edge.

Parameters
edgeIdedge ID
Returns
List of node IDs
Variant Study::GetNodeIdsOnFace ( int  faceId)

Returns a list of IDs of nodes on the specified face.

Parameters
faceIdFace ID
Returns
List of node IDs
OptimizationTable * Study::GetOptimizationTable ( )

Returns the optimization table object.

Returns
Optimization table object
ParameterSettingStatus * Study::GetParameterSettingStatus ( )

Returns a ParameterSettingStatus object to specify the display status of the analysis parameter list.

Returns
ParameterSettingStatus object
ScriptObject * Study::GetPostCalculationScript ( Variant &  nameOrIndex)

Returns the specified post-calculation script object from the study.

Parameters
nameOrIndexname or index of the script
Returns
Returns the post calculation script object
Variant Study::GetPostCalculationScriptParameter ( Variant &  nameOrIndex,
String &  key 
)

Returns a post-calculation script parameter from the study by specifying the name or index.

Parameters
nameOrIndexname or index of the script
keyparameter key
Returns
parameter
Condition * Study::GetPostCondition ( Variant &  val)

Returns a magnetic flux calculation by specifying the name or index.

Parameters
valName or index of the magnetic flux calculation
double Study::GetPostValue ( String &  name)

Returns result value of a scalar type.

Parameters
namePost parameter name
Returns
Result value of scalar type

A value cannot be obtained when this command is used and a result does not exist in a study.
The post parameter name is "Result item name (component name) : condition name / part name / circuit component name (component name).
For example, the post parameter name "Lorentz force (X): Coil (X)" is specified when obtaining the value (part name "Coil" for Lorentz force (X component)) for the following figure.

Study_GetPostValue001.gif
ProbeDefinition * Study::GetProbe ( Variant &  val)

Returns a probe by specifying a name or index.

Parameters
valProbe name or index
Returns
ProbeDefinition object
Report * Study::GetReport ( )

Returns a Report object.

Returns
Report object
Variant Study::GetResponseData ( String &  name,
int  caseIndex 
)

Returns all variable values for a single case response value calculation.

Parameters
nameName of the response variable
caseIndexCase ID
Returns
List of values

The caseIndex is numbered from 0.

ResponseTableDefinition * Study::GetResponseTableDefinition ( Variant &  val)

Returns a response table definition object by specifying the name or index. (accuracy priority efficiency map study)

Parameters
valname or index of the table
Returns
ResponseTableDefinition object
ResponseTableResultType * Study::GetResponseTableResultType ( Variant &  val)

Returns a response table result type definition by specifying the name or index (accuracy priority efficiency map study)

Parameters
valname or index of the table result type definition
Returns
The ResponseTableResultType object
double Study::GetResponseVariable ( String &  name,
int  caseIndex 
)

Returns a value of a response value variable.

Parameters
nameName of the response variable
caseIndexCase ID
Returns
Variable value

The caseIndex is numbered from 0.

String Study::GetResultFileName ( )

Returns the result file name (*.jplot, *.plot).

Attention
If the output contains multiple result files, the main output file name for the studies or cases are output.
For example, when using multi slice conditions for a magnetic study, the output contains not only a main result file "Designer.jplot", but also the sub result files such as "Designer_slice_1.jplot" and "Designer_slice_2.jplot."
Returns
Path to the result file
StringList Study::GetResultFileNameList ( )

Returns a list of result files in a study as a character string.

Returns
List of result file names
Variant Study::GetResultFileNames ( )

Returns the list of result files in a study.

Returns
List of result file names
ResultTable * Study::GetResultTable ( )

Returns a ResultTable object.

Returns
ResultTable object
ResultViewItemList * Study::GetResultViewItemList ( )

Returns result view list.

Returns
ResultViewItemList object
ScalingFactor * Study::GetScaling ( Variant &  val)

Returns a ScalingFactor object by specifying a name or index.

Parameters
valScaling name or index
Returns
ScalingFactor object
String Study::GetScriptTypeName ( )

Returns the study type as a character string.

Returns
Study type name

For more information about the returned study type name, see Study Type.

SectionGraph * Study::GetSectionGraph ( Variant &  val)

Returns a SectionGraph object by specifying a name or index.

Parameters
valSection graph name or index
Returns
SectionGraph object
Study * Study::GetSlaveStudy ( Variant &  val)

Returns a slave study object by specifying the name or index.

Parameters
valSlave Study name or index
Returns
Study object
Step * Study::GetStep ( )

Returns a Step object to specify the step control and frequency control of study properties.

Returns
Step object
int Study::GetStudyId ( )

Returns a unique study ID within the project.

Returns
Study ID
StudyProperties * Study::GetStudyProperties ( )

Returns a StudyProperties object.

Returns
StudyProperties object
ResponseTableCorrection * Study::GetTableCorrection ( Variant &  val)

Returns a ResponseTableCorrection object by specifying the name or index.

Parameters
valThe name or index of the correction
Returns
The ResponseTableCorrection object
String Study::GetTagName ( int  index)

   Provides the tag name at the given index         

  

Parameters
indexIndex of the tag
String Study::GetTagValue ( Variant &  indexOrName)

   Provides tag value at the given index         

  

Parameters
indexIndex of the tag
ThermalEfficiencyMapDefinition * Study::GetThermalEfficiencyMapDefinition ( Variant &  val)

Returns an ThermalEfficiencyMapDefinition onject by specifying the name or index.

Parameters
valname or index of the efficiency map definition
Returns
The ThermalEfficiencyMapDefinition object
String Study::GetType ( )

Returns the analysis type of the study as a character string.

Returns
Analysis type of the study
bool Study::GetUpdateCaseValuesWithGeometryAdjustedValues ( )

Returns whether to update the case value with the adjusted value.

Returns
Whether to update
ParametricEquation * Study::GetVariable ( Variant &  name)

Returns an equation by specifying a variable.

Parameters
nameVariable
Returns
Equation
VectorDefinition * Study::GetVector ( Variant &  val)

Returns a VectorDefinition object by specifying a name or index.

Parameters
valVector plot name or index
Returns
VectorDefinition object
VectorExpression * Study::GetVectorExpression ( Variant &  val)

Returns a VectorExpression object by specifying a name or index.

Parameters
valVector expression object name or index
Returns
VectorExpression object
Variant Study::GetVectorPostValue ( String &  name)

Returns result value of vector type.

Parameters
namePost parameter name
Returns
Result value of vector type

A value cannot be obtained when this command is used and a result does not exist in a study.
For more information about post parameter names, see GetPostValue
.

VibrationDefinition * Study::GetVibrationDefinition ( Variant &  val)

Returns a VibrationDefinition object by specifying a name or index.

Parameters
valName or index
Returns
VibrationDefinition object
WindingDefinition * Study::GetWinding ( Variant &  val)

Returns an winding definition by specifying the name or index.

Parameters
valName or index of the Winding Definition object
Returns
WindingDefinition object
WindingRegion * Study::GetWindingRegion ( Variant &  val)

Returns an winding region definition by specifying the name or index.

Parameters
valName or index of the winding region definition
Returns
WindingRegion object
bool Study::HasCircuit ( )

Returns True as a return value if a circuit exists in the study.

Returns
Whether or not a circuit exists in a study
bool Study::HasIntersection ( )

Checks interference among parts in a current case.

Returns
If interference among parts is found, True is returned.
  • Intersection check can be set for solids and regions. This function cannot be specified for mesh.
  • Use the GetLastMessage() when obtaining detailed information.
  • Describe the loop of all cases in script commands by using Run() or SubmitRemote() instead of RunAllCases() or SubmitAllRemote() when using interference check for all cases included in a study.
    The following are examples of commands.
    Set app=designer
    Set geomApp = app.CreateGeometryEditor()
    Set currentStudy = app.GetCurrentStudy()
    numCases = currentStudy.GetDesignTable().NumCases()
    For caseIndex= 0 To numCases-1 Step 1
    currentStudy.SetCurrentCase(caseIndex)
    hasIntersect = currentStudy.HasIntersection()
    If hasIntersect = FALSE Then
    currentStudy.Run()
    Else
    MsgBox("Interference has been found.")
    End If
    Next
bool Study::HasMasterStudy ( )

Returns True as a return value if a master study exists in the study.

Returns
Whether or not a master study exists in a study
bool Study::HasMesh ( )

Returns True as a return value if mesh is generated in the current case of the study.

Returns
Whether or not the current case of the study has mesh
bool Study::HasMeshAnyPart ( )

Returns True as a return value if any part has a mesh in the current case of the study.

Returns
Whether or not the current case of the study has mesh in any of the parts
bool Study::HasParametricData ( String &  name)

Returns True as a return value if there is a response value with the name specified in the study.

Parameters
nameName of the response value
Returns
Whether or not there is a response value to the study
bool Study::HasResult ( )

Returns True as a return value if the current case of the study has analysis results.

Returns
Whether or not the current case of the study has analysis results
bool Study::HasUseWinding ( )

Returns True if the study uses windings.

Returns
Whether or not the winding is used.
void Study::ImportSubroutineParameter ( String &  filename)

Imports user subroutine parameters from a file (*.csv, *.txt).

Parameters
filenameFile path for importing
void Study::ImportTags ( String &  filename)

   Imports user defined tags from a file (*.csv, *.txt).         

  

Parameters
filenameFile path for importing
bool Study::IsAxisymmetricStudy ( )

Returns True as a return value if the study is an axisymmetric analysis.

Returns
Whether or not the study is an axisymmetric analysis
bool Study::IsCutPlaneStudy ( )

Returns True as a return value if the study is a cross section analysis.

Returns
Whether or not the study is a cross section analysis
bool Study::IsModelError ( int  caseno = -1)

Returns True as a return value if there is a model error.

Parameters
casenoCase ID
Returns
Whether or not there is a model error
bool Study::IsModelWarning ( int  caseno = -1)

Returns True as a return value if there is a model warning.

Parameters
casenoCase ID
Returns
Whether or not there is a model warning
bool Study::IsPartSuppressed ( Variant &  part)

Returns suppressed state of a part.

Parameters
partPart
Returns
Whether or not parts are in a suppressed state
bool Study::IsValid ( )

Returns True if an object is valid.

Returns
Whether or not the Study objects in the list are valid
Circuit * Study::LoadCircuit ( String &  filename)

Adds a circuit by importing the specified file.

Parameters
filenameCircuit file name (including path)
Returns
Circuit object
void Study::LoadFromWeightCsv ( String &  csvFile,
String array &  cases,
bool  isDuplicate 
)

Adds a case to the study by specifying a weight file.

Parameters
csvFileWeight file
casescase indices to load
isDuplicatelags for duplicating the study
bool Study::LoadMesh ( )

Loads created mesh in current case.

Returns
Whether or not a mesh file is loaded
void Study::LoadRemoteResults ( String array &  cases)

Imports result files (*.jplot) from remote calculation.

Parameters
casesCases to load
void Study::LoadTopologyResults ( String &  typeName,
int  numCases = 0 
)

Loads the analysis results of topology optimization.

Parameters
typeNameLoad type
numCasesNumber of cases
String Study::MagnetizedMaterialName ( )

Returns the name of the user magnetization material created from an analysis in a study running a magnetization analysis.

Returns
Name of the user magnetization material
double Study::MeasureDistance ( String &  fromType,
Variant &  fromID,
String &  toType,
Variant &  toID 
)

Measures the distance between specified entities.

Parameters
fromType
Edge : Edge
Vertex : Vertex
Face : Face
Node : Node
Element-edge : Element edge
Element-face : Element face
fromIDVertex ID, face ID, edge ID, node ID, element face ID, or element edge ID
toType
Edge : Edge
Vertex : Vertex
Face : Face
Node : Node
Element-edge : Element edge
Element-face : Element face
toIDVertex ID, face ID, edge ID, node ID, element face ID, or element edge ID
Returns
Distance
double Study::MeasureDistanceFrom ( double  x,
double  y,
double  z,
String &  toType,
Variant &  toID 
)

Measures the distance between the specified coordinates (x, y, z) and specified entity.

Parameters
xX-Coordinate
yY-Coordinate
zZ-Coordinate
toType
Edge : Edge
Vertex : Vertex
Face : Face
Node : Node
Element-edge : Element edge
Element-face : Element face
toIDVertex ID, face ID, edge ID, node ID, element face ID, or element edge ID
Returns
Distance
double Study::MeasureDistanceFromPoint ( Point p,
String &  toType,
Variant &  toID 
)

Measures the distance between the specified Point object and entity.

Parameters
pPoint object
toType
Edge : Edge
Vertex : Vertex
Face : Face
Node : Node
Element-edge : Element edge
Element-face : Element face
toIDVertex ID, face ID, edge ID, node ID, element face ID, or element edge ID
Returns
Distance
double Study::MeasureNodeAngle ( Variant &  fromID,
Variant &  centerID,
Variant &  toID 
)

Measures the angle of three specified points.

Parameters
fromIDNode ID
centerIDNode ID
toIDNode ID
Returns
Angle
double Study::MeasurePointNodeAngle ( double  x,
double  y,
double  z,
Variant &  fromID,
Variant &  toID 
)

Measures the angle of the specified center point and two points.

Parameters
xX-Coordinate of the center point
yY-Coordinate of the center point
zZ-Coordinate of the center point
fromIDNode ID
toIDNode ID
Returns
Angle
double Study::MeasurePointVertexAngle ( double  x,
double  y,
double  z,
Variant &  fromID,
Variant &  toID 
)

Measures the angle of the specified center point and two points.

Parameters
xX-Coordinate of the center point
yY-Coordinate of the center point
zZ-Coordinate of the center point
fromIDVertex ID
toIDVertex ID
Returns
Angle
double Study::MeasureVertexAngle ( Variant &  fromID,
Variant &  centerID,
Variant &  toID 
)

Measures the angle of the three specified points.

Parameters
fromIDVertex ID
centerIDVertex ID
toIDVertex ID
Returns
Angle
void Study::MergeJcf ( String &  filename)

Specifies the jcf file path and merges model data of the jcf file into the current study.

Parameters
filenameFile path
void Study::MergeJcfForPreview ( String &  filename)

Since this is an internal function, it is not officially supported.

Deprecated:
int Study::NumAirRegions ( )

Returns the number of air regions as an integer.

This air region corresponds to the air region displayed under [Study] > [Mesh] in the [Project Manager] of the graphics window.

Returns
Number of the air regions
int Study::NumCalculationDefinitions ( )

Returns the number of calculation items (parts, faces, edges) defined in a study as an integer.

Returns
Number of calculation items
int Study::NumCalculations ( )

Returns number of calculation items as an integer.

Returns
Number of calculation items
int Study::NumCalculationTargets ( )

Returns the number of calculation targets defined in a study as an integer.

Returns
Number of calculation targets
int Study::NumConditions ( )

Returns the number of conditions in the study as an integer.

Returns
Number of conditions in a study
int Study::NumContours ( )

Returns the number of contour plots as an integer.

Returns
Number of contour plots
int Study::NumDifferenceEfficiencyMapDefinitions ( )

Returns the number of difference efficiency map definitions.

Returns
Number of difference efficiency map definitions
int Study::NumEfficiencyMapDefinitions ( )

Returns the number of efficiency map definitions.

Returns
The number of efficiency map definitions.
int Study::NumExternalEfficiencyMapDefinitions ( )

Returns the number of external efficiency map definitions.

Returns
Number of external efficiency map definitions
int Study::NumFluxLines ( )

Returns the number of flux line plots as an integer.

Returns
Number of flux line plots
int Study::NumMaterials ( )

Returns the number of materials.

Returns
Number of materials
int Study::NumPostConditions ( )

Returns the number of the magnetic flux calculation in a magnetic field analysis study as an integer.

Returns
Number of magnetic flux calculations in a study
int Study::NumPostParameters ( )

Returns the number of post parameters as an integer.

Returns
Number of post parameters

Physical quantities outputted in table form such as magnetic flux calculation, part calculation, section graph, probe, response value, etc. are counted as post parameters.
The physical quantity output for each part is counted by the number of parts.
This command can be used regardless of whether or not there is a calculation result for studies that have run a calculation.

int Study::NumProbes ( )

Returns the number of probes.

Returns
Number of probes
int Study::NumResponseTableDefinitions ( )

Returns the number of response table definitions (accuracy priority efficiency map study).

Returns
Number of response tables
int Study::NumResponseTableResultTypes ( )

Returns the number of response table result type definitions (accuracy priority efficiency map study)

Returns
Number of response tables
int Study::NumScalings ( )

Returns the number of scalings as an integer.

Returns
Number of scaling
int Study::NumSectionGraphs ( )

Returns the number of section graphs as an integer.

Returns
Number of section graphs
int Study::NumSlaveStudies ( )

Returns the number of slave studies in the study as an integer.

Returns
Number of slave studies in a study
int Study::NumTableCorrections ( )

Returns the number of response table correction definitions.

Returns
Number of corrections
int Study::NumTags ( )

   Provides the number of tags in the study         

  

int Study::NumThermalEfficiencyMapDefinitions ( )

Returnsthe number of efficiency map definitions for a thermal analysis.

Returns
The number of efficiency map definitions.
int Study::NumVectors ( )

Returns the number of vector plots as an integer.

Returns
Number of vector plots
int Study::NumVibrationDefinitions ( )

Returns the number of vibration items defined in a study as an integer.

Returns
Number of vibration items
int Study::NumWindingRegions ( )

Returns the number of winding region definitions.

Returns
The number of winding regions
int Study::NumWindings ( )

Returns the number of winding definitions.

Returns
Number of winding definitions
Variant Study::ParametricDataNames ( )

Returns the name list of parameters.

Returns
List of parameters
String Study::PostParameterName ( int  index)

Returns a post parameter name by specifying an index.

Parameters
indexIndex of post parameter
Returns
Post parameter name

This command can be used regardless of whether or not there is a calculation result for studies that have run a calculation.
For more information about post parameter names, see GetPostValue .

int Study::PostParameterType ( String &  name)

Returns post parameter type by specifying a name.

Parameters
namePost parameter name
Returns
Post parameter type
1 : Scalar
2 : Vector

This command can be used regardless of whether or not there is a calculation result for studies that have run a calculation.
For more information about post parameter names, see GetPostValue .

bool Study::RemoveAllResults ( )

Deletes the all results from the result file of the current case. Mesh is also removed.

True is returned as a return value when it is deleted.

Returns
Whether or not it is deleted
bool Study::RemoveAllResultsAllCases ( )

Deletes the all results from the result file of the all cases. Mesh is also removed.

True is returned as a return value when it is deleted.

Returns
Whether or not it is deleted
void Study::RemoveMaterialByName ( String &  matname)

Deletes a material by specifying a name.

Parameters
matnameMaterial name
void Study::RemoveMeasurementVariable ( Variant &  val)

Deletes the measurement variable by specifying name or index.

Parameters
valmeasurement variable name or index
bool Study::RemoveSelectedResults ( StringList &  results)

Deletes the specified results from the result file of the current case.

True is returned as a return value when it is deleted.

Parameters
resultsResult type name list
Returns
Whether or not it is deleted
bool Study::RemoveSelectedResultsAllCases ( StringList &  results)

Deletes the specified results from the result file of the all cases.

True is returned as a return value when it is deleted.

Parameters
resultsResult type name list
Returns
Whether or not it is deleted
bool Study::RemoveSelectedResultsStepList ( StringList &  results,
String &  steps 
)

Deletes the specified result from the result file of the current case by specifying multiple retained steps to the result file with a character string.

A range of steps can be specified using a ‘, (comma)’, such as “1,2,3” or using a ‘- (hyphen)’, such as “4-8”. True is returned as a return value when it is deleted.

Parameters
resultsResult type name list
stepsStep
Returns
Whether or not it is deleted
bool Study::RemoveSelectedResultsStepListAllCases ( StringList &  results,
String &  steps 
)

Deletes the specified result from the result file of the current case by specifying multiple retained steps to the result file with a character string.

A range of steps can be specified using a ‘, (comma)’, such as “1,2,3” or using a ‘- (hyphen)’, such as “4-8”. True is returned as a return value when it is deleted.

Parameters
resultsResult type name list
stepsStep
Returns
Whether or not it is deleted
bool Study::RemoveSelectedResultsSteps ( StringList &  results,
int  start,
int  end,
int  inter 
)

Deletes the specified result from the result file of the current case by specifying the range and interval of the retained step to the result file.

True is returned as a return value when it is deleted.

Parameters
resultsResult type name list
startStart step
endEnd step
interInterval
Returns
Whether or not it is deleted
bool Study::RemoveSelectedResultsStepsAllCases ( StringList &  results,
int  start,
int  end,
int  inter 
)

Deletes the specified result from the result file of all cases by specifying the range and interval of the retained step to the result file.

True is returned as a return value when it is deleted.

Parameters
resultsResult type name list
startStart step
endEnd step
interInterval
Returns
Whether or not it is deleted
void Study::RemoveSubroutineParameter ( String &  name)

Deletes user subroutine parameters.

Parameters
nameUser variable name
void Study::RemoveTag ( String &  name)

   Removes the designated user defined tag         

  

Parameters
nameUser tag name
void Study::RemoveVariable ( Variant &  name)

Deletes the equation by specifying a variable.

Parameters
nameVariable
void Study::RemoveWarningAsError ( int  code)

Deletes the warning from the error list by specifying a code.

Parameters
codeCode
void Study::Restart ( int  steps,
int  outputStep 
)

Resumes calculation of selected study.

Parameters
stepsNumber of analysis steps or number of eigenvalues to run calculation
outputStepOutput start step

Recalculates using the Restart command when the [Use Previous Eigenvalue Analysis Results] check box in structural analysis (eigenmode analysis) is selected. Specify the number of eigenvalue to be calculated as step.

void Study::RestartAdaptive ( int  stages)

Specifies the maximum stage of the adaptive mesh control and resumes the calculation of the selected study.

Parameters
stagesMaximum stage of the adaptive mesh control
void Study::Run ( )

Runs the current case in the foreground. Other operations cannot be run in JMAG-Designer while it is running an analysis in the foreground.

  • An analysis is not run when results of the current case are already output.
  • The analysis for the first case is run when multiple cases exist in a study and a case is not selected.

For more information about operations for running an analysis in the graphics window, see "Running the Analysis".

void Study::RunAllCases ( )

Runs the all cases in the foreground. Other operations cannot be run in JMAG-Designer while it is running an analysis in the foreground.

An analysis is run for only cases without results and not for cases with results.

void Study::RunAllPostCalculationScripts ( )

Runs all of the post-calculation scripts.

Attention
Disabled scripts are not run.
void Study::SetAirRegionVisibility ( int  index,
bool  visible 
)

Switches the display of the air region.

Parameters
indexIndex of the air region
visible
True=1 : Display
False=0 : Hide
void Study::SetCadParameterValue ( String &  name,
Variant &  value 
)

Specifies a value for the CAD parameter of a model.

Parameters
nameName of the CAD parameter
valueValue
void Study::SetCheckForTopologyChanges ( bool  flag)

Specifies whether or not to check the increase or decrease in the number of parts, faces, edges, and vertices.

Parameters
flag
True=1 : Check
False=0 : Do not check
void Study::SetCopyOnUpdate ( bool  flag)

Specifies whether or not to copy a study during model update.

Parameters
flag
True=1 : Copies the study
False=0 : Does not copy the study
void Study::SetCurrentCase ( int  caseIndex)

Specifies the current case ID.

Parameters
caseIndexCase ID

The caseIndex is numbered from zero.

void Study::SetCurrentComposite ( Variant &  val)

Specifies a name or index to dispaly the composite result.

Parameters
valName or index of the composite result
void Study::SetCurrentContour ( Variant &  val)

Specifies a name or index to specify the contour plot that is displayed.

Parameters
valName or index of the contour plot (start from 0)

The index of a contour plot is assigned in the order of "0, 1, 2 …" as displayed in the [Project Manager].
For example, the index of the contour plot in the following diagram [Magnetization : magnetization] is "2".

Study_SetCurrentContour001.gif
void Study::SetCurrentFluxLine ( Variant &  val)

Specifies a name or index to specify the flux line that is displayed.

Parameters
valName or index of the flux line (start from 0)

The index of a flux line is assigned in the order of "0, 1, 2…" as displayed in the [Project Manager].

void Study::SetCurrentScaling ( Variant &  val)

Specifies a name or index to specify the scale that is displayed.

Parameters
valName or index of the scale (start from 0)

The index for a flux line is assigned in the order of "0, 1, 2…" as displayed in the [Project Manager].

void Study::SetCurrentVector ( Variant &  val)

Specifies a name or index to specify the vector plot that is displayed.

Parameters
valName or index of the vector plot (start from 0)

The index of a contour plot is assigned in the order of "0, 1, 2 …" as displayed in the [Project Manager].

void Study::SetDescription ( String &  description)

Specifies the description.

Parameters
descriptionDescription
void Study::SetHiddenResults ( String &  list)

Specifies the table result items to hide.

Parameters
listResult Type Name
void Study::SetMaterial ( Variant &  val,
Material material 
)

Specifies a material to a part using a variable.

Parameters
valPart name or ID
materialMaterial object

To display the part ID on the graphics window, tick the [Part ID] under [Display] > [ID information] on the JMAG-Designer menu bar.

void Study::SetMaterialAttributeParameters ( String &  list)

Specifies material attribute items.

Parameters
listMaterial attribute name
void Study::SetMaterialByName ( Variant &  val,
String &  matname 
)

Specifies a material to a part using a variable.

Parameters
valPart name or ID
matnameMaterial name
void Study::SetMeasurementVariable ( String &  name,
String &  type,
Selection sel 
)

Specifies a measurement variable.

Parameters
namemeasurement variable name
typemeasurement variable type
selSelection object
void Study::SetMessageVisible ( bool  on)

Since this is an internal function, it is not officially supported.

Deprecated:
void Study::SetModelDivisionCadParameterName ( String &  name)

Specifies the CAD parameter name that sets the number of divisions determined from the winding condition.

Parameters
nameCAD parameter name
void Study::SetName ( String &  name)

Specifies the name of a study.

Parameters
nameStudy name
void Study::SetPostCalculationScriptParameter ( Variant &  nameOrIndex,
String &  key,
Variant &  value 
)

Specifies a post-calculation script parameter from the study by specifying the name or index.

Parameters
nameOrIndexname or index of the script
keyparameter key
valueparameter value
void Study::SetTag ( String &  name,
String &  value 
)

   Adds a user defined tag. If the tag's name already exist it updates the tag with the given value.         

  

Parameters
nameUser tag name         
valueValue
void Study::SetUpdateByRelation ( bool  flag)

Specifies whether to consider Parent-Child relation (Condition Parts to setting target).

Parameters
flag
True=1 : Considered
False=0 : Does not considered
void Study::SetUpdateCaseValuesWithGeometryAdjustedValues ( bool  flag)

Specifies whether to update the case value with the adjusted value.

Parameters
flag
True=1 : Update
False=0 : Do not update
void Study::SetUserResponseVariable ( String &  name,
int  caseIndex,
double  value 
)

Specifies or creates a variable of a response value using an user-defined value.

Parameters
nameName of the response variable
caseIndexCase index specified for the response value
valueVariable value

The caseIndex is numbered from 0.

void Study::SetVariable ( Variant &  name,
Variant &  value 
)

Specifies an equation.

Parameters
nameVariable
valueExpression
void Study::SubmitAllLocal ( bool  queued)

Corresponds to the following function of JMAG-Designer13.0 or later.
CreateJob.

Deprecated:
Runs batch processing of all cases on a local machine.
Parameters
queued
Job state
True : Submit Queue
False: Wait
void Study::SubmitAllRemote ( String &  machine,
String &  cpu,
Variant &  keepremote,
bool  queued 
)

Corresponds to the following function of JMAG-Designer13.0 or later.
CreateJob.

Deprecated:
Specifies machine and runs batch processing of all cases.
Parameters
machineManagement server name of a remote system
cpuCPU group used in calculation
keepremote
Whether or not results are kept in management server
On : Leaves results on remote machine
Off : Moves results to local machine
Both : Copies to local and leaves on server
queued
Job state
True : Submit Queue
False : Wait
void Study::SubmitLocal ( bool  queued)

Corresponds to the following function of JMAG-Designer 13.0 or later.
CreateJob.

Deprecated:
Runs batch processing of the current case on a local machine.
Parameters
queued
Job state
True : Submit queue
False : Wait
void Study::SubmitRemote ( String &  machine,
String &  cpu,
Variant &  keepremote,
bool  queued 
)

Corresponds to the following function of JMAG-Designer13.0 or later.
CreateJob.

Deprecated:
Specifies the machine and runs batch processing of the current case.
Parameters
machineManagement server name of the remote system
cpuCPU group used in a calculation
keepremote
Keeps results in management server
On : Leave results on remote machine
Off : Move results to local machine
Both : Copies to local and deletes on remote machine
queued
Job state
True : Submit Queue
False : Wait
void Study::SuppressPart ( Variant &  part,
int  state 
)

Specifies suppression to a part.

Parameters
partPart name or ID
state
True=1 : Suppress part
False=0 : Clears part suppression
void Study::UnLockAll ( )

Since this is an internal function, it is not officially supported.

Deprecated:
void Study::UpdateDriveCycleResponseParametricData ( Variant &  val,
DriveCycleResponseDataParameter parameter 
)

Changes the response value of the drive cycle by specifying a name or index.

Parameters
valResponse data name or index
parameterDriveCycleResponseDataParameter object
void Study::UpdateEfficiencyMapParametricData ( Variant &  val,
EfficiencyMapResponseDataParameter parameter 
)

Changes the response value of the efficiency map by specifying a name or index.

Parameters
valResponse data name or index
parameterEfficiencyMapResponseDataParameter object
void Study::UpdateParametricData ( Variant &  val,
ResponseDataParameter parameter 
)

Changes a response data by specifying the name or index.

Parameters
valResponse data name or index
parameterResponseDataParameter object
void Study::UpdateScriptParametricData ( Variant &  val,
String &  title,
String &  variable,
String &  script 
)

Changes the script's response value by name or index.

Parameters
valThe name or index of the response value to change
titleResponse value name
variableResponse value variable name
scriptScript
void Study::UpdateSubroutineParameter ( String &  name,
Variant &  value 
)

Updates user subroutine parameters.

Parameters
nameUser variable name
valueValue
void Study::WriteAllMeshJcf ( String &  path,
String &  filename,
bool  active 
)

Exports JCF file (mesh data) of all cases included in a study to the specified folder.

Parameters
pathPath of export folder
filenameBasic file name
active
True : Outputs cases that do not have results
False : Outputs all cases whether or not there are results.
void Study::WriteAllSolidJcf ( String &  path,
String &  filename,
bool  active,
bool  preprocess = true 
)

Exports JCF file (geometry data) of all cases included in a study to the specified folder.

Parameters
pathPath of export folder
filenameBasic file name
active
True : Outputs cases that do not have results
False : Outputs all cases whether or not there are results.
preprocess
True : Perform preprocessing for mesh generation.
False : Not Perform preprocessing for mesh generation.
void Study::WriteAllSolidPartialMeshJcf ( String &  path,
String &  filename,
bool  active,
bool  preprocess = true 
)

Exports JCF file (geometry data contain partial mesh) of all cases included in a study to the specified folder.

Parameters
pathPath of export folder
filenameBasic file name
active
True : Outputs cases that do not have results
False : Outputs all cases whether or not there are results.
preprocess
True : Perform preprocessing for mesh generation.
False : Not Perform preprocessing for mesh generation.
bool Study::WriteCaseReport ( String &  filename)

Exports the case report.

Parameters
filenameName of the report file to export
Returns
Whether or not a report file is exported
void Study::WriteMeshJcf ( String &  filename)

Exports a JCF file (mesh data) by specifying a file path.

Parameters
filenameFile path
bool Study::WriteResponseReport ( String &  filename)

Exports a parametric report.

Parameters
filenameName of the report file to export
Returns
Whether or not a report file is exported
void Study::WriteSolidJcf ( String &  filename,
bool  preprocess = true 
)

Exports a JCF file (geometry data) by specifying a file path.

Parameters
filenameFile path
preprocess
True : Perform preprocessing for mesh generation.
False : Not Perform preprocessing for mesh generation.
void Study::WriteSolidPartialMeshJcf ( String &  filename,
bool  preprocess = true 
)

Exports a JCF file (geometry data contain partial mesh) by specifying a file path.

Parameters
filenameFile path
preprocess
True : Perform preprocessing for mesh generation.
False : Not Perform preprocessing for mesh generation.
void Study::WriteTopologyConfigurationFile ( String &  filename,
int  independentJobs 
)

Runs the topology optimization.

Parameters
filenameFile name to output
independentJobsNumber of simultaneous calculation executions