Public Member Functions | List of all members
ParallelGroupConditionCreator Class Reference

ParallelGroupConditionCreator class is used to create a group condition. The pattern condition is created in parallel direction.
The class can be called from Application class.
. More...

Public Member Functions

void AddMasterCondition (Condition *cond)
 Adds condition based on group condition. More...
 
bool IsValid ()
 Returns True if an object is valid. More...
 
void SetDirection1XYZ (double x, double y, double z)
 Specifies the direction 1. More...
 
void SetDirection2XYZ (double x, double y, double z)
 Specifies the direction 2. More...
 
void SetPitch1 (double value)
 Specifies the distance 1. More...
 
void SetPitch2 (double value)
 Specifies the distance 2. More...
 
void SetTitle (String &value)
 Specifies title for group condition that is created. More...
 
void SetTolerance (double value)
 Specifies the tolerance to identify geometries in [Create Pattern Condition]. More...
 
void Submit ()
 Creates a group condition for specified parameter.
 

Detailed Description

ParallelGroupConditionCreator class is used to create a group condition. The pattern condition is created in parallel direction.
The class can be called from Application class.
.

Example of calling the class object:

app.CreateParallelConditionCreator(app.GetModel(0).GetStudy(0))

See RotateGroupConditionCreator when creating the pattern condition in rotational direction.

Member Function Documentation

void ParallelGroupConditionCreator::AddMasterCondition ( Condition cond)

Adds condition based on group condition.

Parameters
condCondition (FEM coil or FEM conductor)
bool ParallelGroupConditionCreator::IsValid ( )

Returns True if an object is valid.

Returns
Whether or not the ParallelGroupConditionCreator objects in the list are valid
void ParallelGroupConditionCreator::SetDirection1XYZ ( double  x,
double  y,
double  z 
)

Specifies the direction 1.

Parameters
xDirection X
yDirection Y
zDirection Z
void ParallelGroupConditionCreator::SetDirection2XYZ ( double  x,
double  y,
double  z 
)

Specifies the direction 2.

Parameters
xDirection X
yDirection Y
zDirection Z
void ParallelGroupConditionCreator::SetPitch1 ( double  value)

Specifies the distance 1.

Parameters
valueDistance
void ParallelGroupConditionCreator::SetPitch2 ( double  value)

Specifies the distance 2.

Parameters
valueDistance
void ParallelGroupConditionCreator::SetTitle ( String &  value)

Specifies title for group condition that is created.

Parameters
valueGroup condition title
void ParallelGroupConditionCreator::SetTolerance ( double  value)

Specifies the tolerance to identify geometries in [Create Pattern Condition].

Parameters
valueTolerance