Public Member Functions | List of all members
DesignTable Class Reference

DesignTable Class
The commands in the DesignTable class are described below.
. More...

Public Member Functions

void AddEquation (String &parameterName)
 Adds a parametric equation. More...
 
void AddEquationRange ()
 Adds an equation range setting.
 
void AddParameterSetList (String &factorKey, StringList &variableList)
 Adds the geometry parameter set list. More...
 
void EditEnd ()
 Finishes changing the parametric equations.
 
void EditStart ()
 Starts changing the parametric equations. More...
 
void ExportEquation (String &filename, StringList &parameterNameList)
 Exports a parametric equation to a file (*.xml). This command corresponds to the export function in the [Equations] dialog. More...
 
ParametricEquationGetEquation (Variant &indexOrName)
 Returns a parametric equation object by specifying a name or an index of parametric equation. More...
 
EquationRangeItemGetEquationRange (Variant &indexOrName)
 Returns an equation range item object by specifying a name or an index of equation range item. More...
 
int NumParameters ()
 Returns the number of parameters. More...
 
void RemoveEquation (Variant &indexOrName)
 Deletes a parametric equation. More...
 
void RemoveEquationRange (Variant &indexOrName)
 Deletes an equation range setting. More...
 
void RemoveParameterSetList (StringList &factorKeyList)
 Deletes the geometry parameter set list. More...
 

Detailed Description

DesignTable Class
The commands in the DesignTable class are described below.
.

Member Function Documentation

void DesignTable::AddEquation ( String &  parameterName)

Adds a parametric equation.

Parameters
parameterNameName of parametric equation
void DesignTable::AddParameterSetList ( String &  factorKey,
StringList &  variableList 
)

Adds the geometry parameter set list.

Parameters
factorKeyKey variable
variableListVariable list to be registered
void DesignTable::EditStart ( )

Starts changing the parametric equations.

Even if parametric equations are changed, stopped running the automatic update.
Be sure to call EditEnd() after changing.

void DesignTable::ExportEquation ( String &  filename,
StringList &  parameterNameList 
)

Exports a parametric equation to a file (*.xml). This command corresponds to the export function in the [Equations] dialog.

Parameters
filenameFile path for exporting
parameterNameListName of parametric equation to be exported
ParametricEquation * DesignTable::GetEquation ( Variant &  indexOrName)

Returns a parametric equation object by specifying a name or an index of parametric equation.

Parameters
indexOrNameName or index of parametric equation
Returns
ParametricEquation object
EquationRangeItem * DesignTable::GetEquationRange ( Variant &  indexOrName)

Returns an equation range item object by specifying a name or an index of equation range item.

Parameters
indexOrNameName or index of equation range setting
Returns
EquationRangeItem object
int DesignTable::NumParameters ( )

Returns the number of parameters.

Returns
Number of parameters
void DesignTable::RemoveEquation ( Variant &  indexOrName)

Deletes a parametric equation.

Parameters
indexOrNameName or index of parametric equation
void DesignTable::RemoveEquationRange ( Variant &  indexOrName)

Deletes an equation range setting.

Parameters
indexOrNameName or index of equation range setting
void DesignTable::RemoveParameterSetList ( StringList &  factorKeyList)

Deletes the geometry parameter set list.

Parameters
factorKeyListKey variable list to be deleted