NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions | List of all members
NXOpen::Optimization::DesignStudyBuilder Class Reference

Represents a NXOpen::Optimization::DesignStudyBuilder
To create a new instance of this class, use NXOpen::Optimization::DesignStudyCollection::CreateDesignStudyBuilder

Created in NX6.0.0. More...

Inheritance diagram for NXOpen::Optimization::DesignStudyBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Classes

struct  DesignStudyObjective
 Defined Objective Structure. More...
 
struct  DesignStudyVariable
 Defined variable structure. More...
 

Public Types

enum  DesignStudyAttributeType { DesignStudyAttributeTypeExpression, DesignStudyAttributeTypeKFAttribute, DesignStudyAttributeTypeGeometryParameter }
 Attribute type. More...
 
enum  DesignStudyConstraintLimitType { DesignStudyConstraintLimitTypeUpper, DesignStudyConstraintLimitTypeLower }
 Constraint limit type. More...
 
enum  DesignStudyDistributeType { DesignStudyDistributeTypeUniform, DesignStudyDistributeTypeNormal, DesignStudyDistributeTypeGamma }
 Distribution type. More...
 

Public Member Functions

void BuildAllObjectives ()
 Build all the objectives
Created in NX6.0.0. More...
 
void BuildAllVariables ()
 Build all the variables
Created in NX6.0.0. More...
 
std::vector
< NXOpen::Optimization::DesignStudyBuilder::DesignStudyObjective
GetDesignStudyObjectives ()
 Returns the objectives. More...
 
std::vector
< NXOpen::Optimization::DesignStudyBuilder::DesignStudyVariable
GetDesignStudyVariables ()
 Returns the variables. More...
 
bool IsShowGraph ()
 Returns the property - is show graph
Created in NX6.0.0. More...
 
bool IsUpdateDisp ()
 Returns the property - is update display
Created in NX6.0.0. More...
 
void RemoveAllObjectives ()
 Remove all the objectives
Created in NX6.0.0. More...
 
void RemoveAllVariables ()
 Remove all the variables
Created in NX6.0.0. More...
 
void RunDesignStudy ()
 Run design study process
Created in NX6.0.0. More...
 
void SetDesignStudyObjectives (std::vector< NXString > &attributeNames, const std::vector< NXOpen::NXObject * > &attributeObjects, const std::vector< NXOpen::Optimization::DesignStudyBuilder::DesignStudyAttributeType > &objectiveTypes, const std::vector< double > &warningLowerLimit, const std::vector< double > &warningUpperLimit, const std::vector< double > &failureLowerLimit, const std::vector< double > &failureUpperLimit)
 Sets the objectives
Created in NX6.0.0. More...
 
void SetDesignStudyVariables (std::vector< NXString > &attributeNames, const std::vector< NXOpen::NXObject * > &attributeObjects, const std::vector< NXOpen::Optimization::DesignStudyBuilder::DesignStudyAttributeType > &variableTypes, const std::vector< double > &variableLowerLimitValue, const std::vector< double > &variableUpperLimitValue, const std::vector< NXOpen::Optimization::DesignStudyBuilder::DesignStudyDistributeType > &distributeType, const std::vector< double > &locationParameter, const std::vector< double > &scaleParameter, const std::vector< double > &shapeParameter, const std::vector< int > &valuesCount)
 Sets the variables
Created in NX6.0.0. More...
 
void SetShowGraph (bool isShowGraph)
 Sets the property - is show graph
Created in NX6.0.0. More...
 
void SetStudyName (const NXString &studyName)
 Sets the study name which is unique in one part
Created in NX6.0.0. More...
 
void SetStudyName (const char *studyName)
 Sets the study name which is unique in one part
Created in NX6.0.0. More...
 
void SetUpdateDisp (bool isUpdateDisp)
 Sets the property - is update display
Created in NX6.0.0. More...
 
NXString StudyName ()
 Returns the study name which is unique in one part
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Optimization::DesignStudyBuilder
To create a new instance of this class, use NXOpen::Optimization::DesignStudyCollection::CreateDesignStudyBuilder

Created in NX6.0.0.


Member Enumeration Documentation

Attribute type.

Enumerator
DesignStudyAttributeTypeExpression 

Expression type.

DesignStudyAttributeTypeKFAttribute 

KF attribute type.

DesignStudyAttributeTypeGeometryParameter 

Geometry parameter type.

Constraint limit type.

Enumerator
DesignStudyConstraintLimitTypeUpper 

Upper limit type.

DesignStudyConstraintLimitTypeLower 

Lower limit type.

Distribution type.

Enumerator
DesignStudyDistributeTypeUniform 

Uniform distribution type.

DesignStudyDistributeTypeNormal 

Normal distribution type.

DesignStudyDistributeTypeGamma 

Gamma distribution type.

Member Function Documentation

void NXOpen::Optimization::DesignStudyBuilder::BuildAllObjectives ( )

Build all the objectives
Created in NX6.0.0.



License requirements : None

void NXOpen::Optimization::DesignStudyBuilder::BuildAllVariables ( )

Build all the variables
Created in NX6.0.0.



License requirements : None

std::vector<NXOpen::Optimization::DesignStudyBuilder::DesignStudyObjective> NXOpen::Optimization::DesignStudyBuilder::GetDesignStudyObjectives ( )

Returns the objectives.

Returns
Objectives
Created in NX6.0.0.

License requirements : None
std::vector<NXOpen::Optimization::DesignStudyBuilder::DesignStudyVariable> NXOpen::Optimization::DesignStudyBuilder::GetDesignStudyVariables ( )

Returns the variables.

Returns
Variables
Created in NX6.0.0.

License requirements : None
bool NXOpen::Optimization::DesignStudyBuilder::IsShowGraph ( )

Returns the property - is show graph
Created in NX6.0.0.



License requirements : None

bool NXOpen::Optimization::DesignStudyBuilder::IsUpdateDisp ( )

Returns the property - is update display
Created in NX6.0.0.



License requirements : None

void NXOpen::Optimization::DesignStudyBuilder::RemoveAllObjectives ( )

Remove all the objectives
Created in NX6.0.0.



License requirements : None

void NXOpen::Optimization::DesignStudyBuilder::RemoveAllVariables ( )

Remove all the variables
Created in NX6.0.0.



License requirements : None

void NXOpen::Optimization::DesignStudyBuilder::RunDesignStudy ( )

Run design study process
Created in NX6.0.0.



License requirements : None

void NXOpen::Optimization::DesignStudyBuilder::SetDesignStudyObjectives ( std::vector< NXString > &  attributeNames,
const std::vector< NXOpen::NXObject * > &  attributeObjects,
const std::vector< NXOpen::Optimization::DesignStudyBuilder::DesignStudyAttributeType > &  objectiveTypes,
const std::vector< double > &  warningLowerLimit,
const std::vector< double > &  warningUpperLimit,
const std::vector< double > &  failureLowerLimit,
const std::vector< double > &  failureUpperLimit 
)

Sets the objectives
Created in NX6.0.0.



License requirements : None

Parameters
attributeNamesObjective attribute name array
NOTE: The full Unicode character set is not supported for this parameter.
attributeObjectsObjective attribute object array
objectiveTypesObjective attribute type array
warningLowerLimitWarning lower limit
warningUpperLimitWarning upper limit
failureLowerLimitFailure lower limit
failureUpperLimitFailure upper limit
void NXOpen::Optimization::DesignStudyBuilder::SetDesignStudyVariables ( std::vector< NXString > &  attributeNames,
const std::vector< NXOpen::NXObject * > &  attributeObjects,
const std::vector< NXOpen::Optimization::DesignStudyBuilder::DesignStudyAttributeType > &  variableTypes,
const std::vector< double > &  variableLowerLimitValue,
const std::vector< double > &  variableUpperLimitValue,
const std::vector< NXOpen::Optimization::DesignStudyBuilder::DesignStudyDistributeType > &  distributeType,
const std::vector< double > &  locationParameter,
const std::vector< double > &  scaleParameter,
const std::vector< double > &  shapeParameter,
const std::vector< int > &  valuesCount 
)

Sets the variables
Created in NX6.0.0.



License requirements : None

Parameters
attributeNamesVariable attribute name array
NOTE: The full Unicode character set is not supported for this parameter.
attributeObjectsVariable attribute object array
variableTypesVariable attribute type array
variableLowerLimitValueVariable lower limit value array
variableUpperLimitValueVariable upper limit value array
distributeTypeDistribute type
locationParameterLocation parameter
scaleParameterScale parameter
shapeParameterShape parameter
valuesCountValues count
void NXOpen::Optimization::DesignStudyBuilder::SetShowGraph ( bool  isShowGraph)

Sets the property - is show graph
Created in NX6.0.0.



License requirements : None

Parameters
isShowGraphisshowgraph
void NXOpen::Optimization::DesignStudyBuilder::SetStudyName ( const NXString studyName)

Sets the study name which is unique in one part
Created in NX6.0.0.



License requirements : None

Parameters
studyNamestudyname
void NXOpen::Optimization::DesignStudyBuilder::SetStudyName ( const char *  studyName)

Sets the study name which is unique in one part
Created in NX6.0.0.



License requirements : None

Parameters
studyNamestudyname
void NXOpen::Optimization::DesignStudyBuilder::SetUpdateDisp ( bool  isUpdateDisp)

Sets the property - is update display
Created in NX6.0.0.



License requirements : None

Parameters
isUpdateDispisupdatedisp
NXString NXOpen::Optimization::DesignStudyBuilder::StudyName ( )

Returns the study name which is unique in one part
Created in NX6.0.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.