Public Member Functions | List of all members
RotateGroupConditionCreator Class Reference

RotateGroupConditionCreator class is used to create a group condition. The pattern condition is specified in the rotational direction.
The class can be called from Application class.
. More...

Public Member Functions

void AddMasterCondition (Condition *cond)
 Adds condition based on the group condition. More...
 
bool IsValid ()
 Returns True if an object is valid. More...
 
void SetAngle (double value)
 Specifies the angle. More...
 
void SetAxisXYZ (double x, double y, double z)
 Specifies the axis direction. More...
 
void SetOriginXYZ (double x, double y, double z)
 Specifies the center of the axis. More...
 
void SetTitle (String &value)
 Specifies the title for the group condition that is created. More...
 
void SetTolerance (double value)
 Specifies the tolerance value to identify geometries when creating the pattern condition. More...
 
void Submit ()
 Creates group condition using the specified parameter.
 

Detailed Description

RotateGroupConditionCreator class is used to create a group condition. The pattern condition is specified in the rotational direction.
The class can be called from Application class.
.

Example of calling the class object:

app.CreateRotateConditionCreator(app.GetModel(0).GetStudy(0))

See ParallelGroupConditionCreator when creating the pattern condition in parallel direction.

Member Function Documentation

void RotateGroupConditionCreator::AddMasterCondition ( Condition cond)

Adds condition based on the group condition.

Parameters
Condition(FEM coil or FEM conductor)
bool RotateGroupConditionCreator::IsValid ( )

Returns True if an object is valid.

Returns
Whether or not the RotateGroupConditionCreator objects in the list are valid
void RotateGroupConditionCreator::SetAngle ( double  value)

Specifies the angle.

Parameters
valueAngle
void RotateGroupConditionCreator::SetAxisXYZ ( double  x,
double  y,
double  z 
)

Specifies the axis direction.

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

Specifies the center of the axis.

Parameters
xX-coordinate of point
yY-coordinate of point
zZ-coordinate of point
void RotateGroupConditionCreator::SetTitle ( String &  value)

Specifies the title for the group condition that is created.

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

Specifies the tolerance value to identify geometries when creating the pattern condition.

Parameters
valueTolerance