NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
NXOpen::CAE::SimLoadRecipe Class Reference

This is the class handling the attributes of a load recipe. More...

Inheritance diagram for NXOpen::CAE::SimLoadRecipe:
NXOpen::TaggedObject NXOpen::CAE::IPostScenarioDataSource

Public Member Functions

void Autofill ()
 Fills the mapping tables of the Load Recipe based on available data in the data sources. More...
 
void Autofill (NXOpen::CAE::FEModelOccurrence *feModelOcc)
 Overload that also sets the Assembly Component to be used by Autofill. More...
 
void AutofillSelectionRecipeBased ()
 Fills the mapping tables of the Load Recipe based on Selection Recipes in the model and available data in the data sources. More...
 
NXOpen::CAE::SimLoadRecipeTypes::DataTypes DataType ()
 Returns the data type of a NXOpen::CAE::SimLoadRecipe
Created in NX10.0.0. More...
 
NXString Description ()
 Returns the description of a NXOpen::CAE::SimLoadRecipe . More...
 
void DisableLoadCondition (const NXString &loadCondition)
 Disables a load condition in the Load Recipe. More...
 
void DisableLoadCondition (const char *loadCondition)
 Disables a load condition in the Load Recipe. More...
 
void DisableTrackingValue (const NXString &trackingValue)
 Disables a tracking value in the Load Recipe. More...
 
void DisableTrackingValue (const char *trackingValue)
 Disables a tracking value in the Load Recipe. More...
 
void EnableLoadCondition (const NXString &loadCondition)
 Enables a load condition in the Load Recipe. More...
 
void EnableLoadCondition (const char *loadCondition)
 Enables a load condition in the Load Recipe. More...
 
void EnableTrackingValue (const NXString &trackingValue)
 Enables a tracking value in the Load Recipe. More...
 
void EnableTrackingValue (const char *trackingValue)
 Enables a tracking value in the Load Recipe. More...
 
bool ExportToCSVFile (const NXString &filePath)
 Exports mapping entries to a CSV file. More...
 
bool ExportToCSVFile (const char *filePath)
 Exports mapping entries to a CSV file. More...
 
NXOpen::CAE::SimLoadRecipeTypes::LoadConditionHandling GetLoadConditionHandlingType ()
 Gets the type of load conditions handling of the NXOpen::CAE::SimLoadRecipe
Created in NX10.0.0. More...
 
std::vector< NXStringGetLoadConditions ()
 Gets the load condition strings declared in the NXOpen::CAE::SimLoadRecipe
Created in NX11.0.0. More...
 
std::vector< NXStringGetTrackingValues ()
 Gets the tracking value strings declared in the NXOpen::CAE::SimLoadRecipe
Created in NX11.0.0. More...
 
void ImportFromCSVFile (const NXString &filePath, const NXString &csvDelim, bool *noParsedContent, bool *invalidLoadType, bool *invalidEntityType, bool *invalidNbrOfParameters)
 Imports mapping entries from a CSV file. More...
 
void ImportFromCSVFile (const char *filePath, const char *csvDelim, bool *noParsedContent, bool *invalidLoadType, bool *invalidEntityType, bool *invalidNbrOfParameters)
 Imports mapping entries from a CSV file. More...
 
void LoadLoadConditions ()
 Loads all the load conditions available in the data sources and enables them. More...
 
void LoadTrackingValues ()
 Loads all the tracking values available in the data sources and enables them. More...
 
NXOpen::CAE::SimLoadRecipeMappingCollectionMappingCollection ()
 Returns the NXOpen::CAE::SimLoadRecipeMappingCollection . More...
 
NXOpen::CAE::SimLoadRecipeTypes::MappingTypes MappingType ()
 Returns the mapping type of a NXOpen::CAE::SimLoadRecipe
Created in NX1847.0.0. More...
 
NXString Name ()
 Returns the name of a NXOpen::CAE::SimLoadRecipe . More...
 
NXOpen::CAE::SimLoadRecipeLbcGeneratorNewLbcGeneratorFromLoadRecipe ()
 Creates a new NXOpen::CAE::SimLoadRecipeLbcGenerator . More...
 
void SetAutofillAssemblyComponent (NXOpen::CAE::FEModelOccurrence *feModelOcc)
 Set the assembly component on which the autofill method operates on. More...
 
void SetDescription (const NXString &description)
 Sets the description of a NXOpen::CAE::SimLoadRecipe . More...
 
void SetDescription (const char *description)
 Sets the description of a NXOpen::CAE::SimLoadRecipe . More...
 
void SetLoadConditionHandlingType (NXOpen::CAE::SimLoadRecipeTypes::LoadConditionHandling lcHandling)
 Sets the type of load conditions handling of the NXOpen::CAE::SimLoadRecipe
Created in NX10.0.0. More...
 
void SetMappingType (NXOpen::CAE::SimLoadRecipeTypes::MappingTypes mappingType)
 Sets the mapping type of a NXOpen::CAE::SimLoadRecipe
Created in NX1847.0.0. More...
 
void SetName (const NXString &name)
 Sets the name of a NXOpen::CAE::SimLoadRecipe . More...
 
void SetName (const char *name)
 Sets the name of a NXOpen::CAE::SimLoadRecipe . More...
 
NXOpen::CAE::SimLoadRecipeSourceCollectionSourceCollection ()
 Contains a NXOpen::CAE::SimLoadRecipeSourceCollection . More...
 
void Validation ()
 Validation of the Load Recipe
Created in NX10.0.0. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

This is the class handling the attributes of a load recipe.


To create a new instance of this class, use NXOpen::CAE::SimLoadRecipeCollection::Create

Created in NX10.0.0.

Member Function Documentation

void NXOpen::CAE::SimLoadRecipe::Autofill ( )

Fills the mapping tables of the Load Recipe based on available data in the data sources.

The behavior depends on the Load Recipe settings and the nature of the available data in the data sources.

  1. If the NXOpen::CAE::SimLoadRecipe::MappingType and NXOpen::CAE::SimLoadRecipe::SetMappingType is NXOpen::CAE::SimLoadRecipeTypes::MappingTypesFileBased it will generate a single entry that targets the top level FE Model for each available Load Type and maps each parameter with AE (Auto-Entity) mapping. Note that all parameters are mapped, even if the data sources don't provide data for a certain parameter.
  2. For data that maps to free coordinates instead of FE entity types or if SORT1 data on FE entities is available for a specific Load Type, a single entry that targets the FE Model set using NXOpen::CAE::SimLoadRecipe::SetAutofillAssemblyComponent will be created with all available parameters set to AE (Auto-Entity) mapping. If an assembly component other than the top level FE Model is set using NXOpen::CAE::SimLoadRecipe::SetAutofillAssemblyComponent , the mapping will use the mapped entity labels in the context of that particular FE Model.
  3. If SORT2 data is available, entries will be created for all targets (nodes, element faces, etc.) read from the data sources and ME (Manual-Entity) mapping will be used for all available parameters in the following format: "ME:\<target label\>". If an assembly component other than the top level FE Model is set using NXOpen::CAE::SimLoadRecipe::SetAutofillAssemblyComponent , the mapping will use the mapped entity labels in the context of that particular FE Model.


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

void NXOpen::CAE::SimLoadRecipe::Autofill ( NXOpen::CAE::FEModelOccurrence feModelOcc)

Overload that also sets the Assembly Component to be used by Autofill.


Deprecated:
Deprecated in NX12.0.0. Use NXOpen::CAE::SimLoadRecipe::SetAutofillAssemblyComponent and NXOpen::CAE::SimLoadRecipe::Autofill instead.


Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
feModelOccfemodelocc
void NXOpen::CAE::SimLoadRecipe::AutofillSelectionRecipeBased ( )

Fills the mapping tables of the Load Recipe based on Selection Recipes in the model and available data in the data sources.

For each mapping table, individual mapping entries will be created for all Selection Recipes which map to available SORT2 data by function name. Available parameters will be mapped using AF (Auto-Function) mapping.


Created in NX1847.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

NXOpen::CAE::SimLoadRecipeTypes::DataTypes NXOpen::CAE::SimLoadRecipe::DataType ( )

Returns the data type of a NXOpen::CAE::SimLoadRecipe
Created in NX10.0.0.



License requirements : None

NXString NXOpen::CAE::SimLoadRecipe::Description ( )

Returns the description of a NXOpen::CAE::SimLoadRecipe .


Created in NX10.0.0.

License requirements : None

void NXOpen::CAE::SimLoadRecipe::DisableLoadCondition ( const NXString loadCondition)

Disables a load condition in the Load Recipe.

Disabled load conditions will not be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
loadConditionloadcondition
void NXOpen::CAE::SimLoadRecipe::DisableLoadCondition ( const char *  loadCondition)

Disables a load condition in the Load Recipe.

Disabled load conditions will not be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
loadConditionloadcondition
void NXOpen::CAE::SimLoadRecipe::DisableTrackingValue ( const NXString trackingValue)

Disables a tracking value in the Load Recipe.

Disabled tracking values will not be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
trackingValuetrackingvalue
void NXOpen::CAE::SimLoadRecipe::DisableTrackingValue ( const char *  trackingValue)

Disables a tracking value in the Load Recipe.

Disabled tracking values will not be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
trackingValuetrackingvalue
void NXOpen::CAE::SimLoadRecipe::EnableLoadCondition ( const NXString loadCondition)

Enables a load condition in the Load Recipe.

Only enabled load conditions will be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
loadConditionloadcondition
void NXOpen::CAE::SimLoadRecipe::EnableLoadCondition ( const char *  loadCondition)

Enables a load condition in the Load Recipe.

Only enabled load conditions will be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
loadConditionloadcondition
void NXOpen::CAE::SimLoadRecipe::EnableTrackingValue ( const NXString trackingValue)

Enables a tracking value in the Load Recipe.

Only enabled tracking values will be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
trackingValuetrackingvalue
void NXOpen::CAE::SimLoadRecipe::EnableTrackingValue ( const char *  trackingValue)

Enables a tracking value in the Load Recipe.

Only enabled tracking values will be used when creating a solution from load recipe.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
trackingValuetrackingvalue
bool NXOpen::CAE::SimLoadRecipe::ExportToCSVFile ( const NXString filePath)

Exports mapping entries to a CSV file.

Returns
True if the mapping table entries contain the CSV delimiter character. If this is true, it will cause inconsistencies when importing the file.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")
Parameters
filePathPath of the CSV file
bool NXOpen::CAE::SimLoadRecipe::ExportToCSVFile ( const char *  filePath)

Exports mapping entries to a CSV file.

Returns
True if the mapping table entries contain the CSV delimiter character. If this is true, it will cause inconsistencies when importing the file.
Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")
Parameters
filePathPath of the CSV file
NXOpen::CAE::SimLoadRecipeTypes::LoadConditionHandling NXOpen::CAE::SimLoadRecipe::GetLoadConditionHandlingType ( )

Gets the type of load conditions handling of the NXOpen::CAE::SimLoadRecipe
Created in NX10.0.0.



License requirements : None

std::vector<NXString> NXOpen::CAE::SimLoadRecipe::GetLoadConditions ( )

Gets the load condition strings declared in the NXOpen::CAE::SimLoadRecipe
Created in NX11.0.0.



License requirements : None

std::vector<NXString> NXOpen::CAE::SimLoadRecipe::GetTrackingValues ( )

Gets the tracking value strings declared in the NXOpen::CAE::SimLoadRecipe
Created in NX11.0.0.



License requirements : None

void NXOpen::CAE::SimLoadRecipe::ImportFromCSVFile ( const NXString filePath,
const NXString csvDelim,
bool *  noParsedContent,
bool *  invalidLoadType,
bool *  invalidEntityType,
bool *  invalidNbrOfParameters 
)

Imports mapping entries from a CSV file.


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
filePathPath of the CSV file
csvDelimDelimiter character used in the CSV file. If NULL, the comma character will be used. If this string contains more then one character, only the first one will be used.
noParsedContentTrue if no valid data could be parsed from the file.
invalidLoadTypeTrue if an invalid load type was found. All data for this load type will be ignored.
invalidEntityTypeTrue if an invalid entity type was found. The entities with invalid entity type will be ignored.
invalidNbrOfParametersTrue if an invalid number of parameters was found for an entry. If the number of parameters is less then expected, it will populate the first values for which it has values. If the number of parameters is more then expected, the last values will be ignored.
void NXOpen::CAE::SimLoadRecipe::ImportFromCSVFile ( const char *  filePath,
const char *  csvDelim,
bool *  noParsedContent,
bool *  invalidLoadType,
bool *  invalidEntityType,
bool *  invalidNbrOfParameters 
)

Imports mapping entries from a CSV file.


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
filePathPath of the CSV file
csvDelimDelimiter character used in the CSV file. If NULL, the comma character will be used. If this string contains more then one character, only the first one will be used.
noParsedContentTrue if no valid data could be parsed from the file.
invalidLoadTypeTrue if an invalid load type was found. All data for this load type will be ignored.
invalidEntityTypeTrue if an invalid entity type was found. The entities with invalid entity type will be ignored.
invalidNbrOfParametersTrue if an invalid number of parameters was found for an entry. If the number of parameters is less then expected, it will populate the first values for which it has values. If the number of parameters is more then expected, the last values will be ignored.
void NXOpen::CAE::SimLoadRecipe::LoadLoadConditions ( )

Loads all the load conditions available in the data sources and enables them.


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

void NXOpen::CAE::SimLoadRecipe::LoadTrackingValues ( )

Loads all the tracking values available in the data sources and enables them.


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

NXOpen::CAE::SimLoadRecipeMappingCollection* NXOpen::CAE::SimLoadRecipe::MappingCollection ( )

Returns the NXOpen::CAE::SimLoadRecipeMappingCollection .


Created in NX10.0.0.

NXOpen::CAE::SimLoadRecipeTypes::MappingTypes NXOpen::CAE::SimLoadRecipe::MappingType ( )

Returns the mapping type of a NXOpen::CAE::SimLoadRecipe
Created in NX1847.0.0.



License requirements : None

NXString NXOpen::CAE::SimLoadRecipe::Name ( )

Returns the name of a NXOpen::CAE::SimLoadRecipe .


Created in NX10.0.0.

License requirements : None

NXOpen::CAE::SimLoadRecipeLbcGenerator* NXOpen::CAE::SimLoadRecipe::NewLbcGeneratorFromLoadRecipe ( )

Creates a new NXOpen::CAE::SimLoadRecipeLbcGenerator .


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

void NXOpen::CAE::SimLoadRecipe::SetAutofillAssemblyComponent ( NXOpen::CAE::FEModelOccurrence feModelOcc)

Set the assembly component on which the autofill method operates on.


Created in NX12.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
feModelOccfemodelocc
void NXOpen::CAE::SimLoadRecipe::SetDescription ( const NXString description)

Sets the description of a NXOpen::CAE::SimLoadRecipe .


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
descriptiondescription
void NXOpen::CAE::SimLoadRecipe::SetDescription ( const char *  description)

Sets the description of a NXOpen::CAE::SimLoadRecipe .


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
descriptiondescription
void NXOpen::CAE::SimLoadRecipe::SetLoadConditionHandlingType ( NXOpen::CAE::SimLoadRecipeTypes::LoadConditionHandling  lcHandling)

Sets the type of load conditions handling of the NXOpen::CAE::SimLoadRecipe
Created in NX10.0.0.



License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
lcHandlinglchandling
void NXOpen::CAE::SimLoadRecipe::SetMappingType ( NXOpen::CAE::SimLoadRecipeTypes::MappingTypes  mappingType)

Sets the mapping type of a NXOpen::CAE::SimLoadRecipe
Created in NX1847.0.0.



License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
mappingTypemappingtype
void NXOpen::CAE::SimLoadRecipe::SetName ( const NXString name)

Sets the name of a NXOpen::CAE::SimLoadRecipe .


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
namename
void NXOpen::CAE::SimLoadRecipe::SetName ( const char *  name)

Sets the name of a NXOpen::CAE::SimLoadRecipe .


Created in NX10.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
namename
NXOpen::CAE::SimLoadRecipeSourceCollection* NXOpen::CAE::SimLoadRecipe::SourceCollection ( )

Contains a NXOpen::CAE::SimLoadRecipeSourceCollection .


Created in NX10.0.0.

void NXOpen::CAE::SimLoadRecipe::Validation ( )

Validation of the Load Recipe
Created in NX10.0.0.



License requirements : nx_masterfem ("Finite Element Modeling")


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