NXOpen C++ Reference Guide
|
Contains universal connections utility methods
To obtain an instance of this class, refer to NXOpen::CAE::CaeSession
Created in NX12.0.0.
More...
Public Member Functions | |
NXOpen::CAE::Connections::LMIEConnection * | CreateLmieconnection (NXOpen::INXObject *contextPart) |
Create standalone LMIEConnection. More... | |
void | ExportLumpedMassInterchangeData (const std::vector< NXOpen::CAE::Connections::LMIEConnection * > &iConnections, const NXString &iAbsoluteExportPath, bool iConvertConnectionDataFromPartUnits) |
Exports the intermediate connection representations of lumped mass connections to external file. More... | |
void | ExportLumpedMassInterchangeData (const std::vector< NXOpen::CAE::Connections::LMIEConnection * > &iConnections, const char *iAbsoluteExportPath, bool iConvertConnectionDataFromPartUnits) |
Exports the intermediate connection representations of lumped mass connections to external file. More... | |
std::vector < NXOpen::CAE::Connections::IConnection * > | FilterConnectionsByType (const std::vector< NXOpen::CAE::Connections::IConnection * > &iConnections, NXOpen::CAE::Connections::ConnectionType type) |
Filters a list of connections by type. More... | |
std::vector < NXOpen::CAE::Connections::LMIEConnection * > | GetInterchangeDataFromLumpedMass (NXOpen::Unit *conversionLengthUnit, NXOpen::Unit *conversionMassUnit, const std::vector< NXOpen::CAE::Connections::LumpedMass * > &iConnections, const NXString &iAbsoluteExportPath) |
Returns the intermediate connection representations of lumped mass connections. More... | |
std::vector < NXOpen::CAE::Connections::LMIEConnection * > | GetInterchangeDataFromLumpedMass (NXOpen::Unit *conversionLengthUnit, NXOpen::Unit *conversionMassUnit, const std::vector< NXOpen::CAE::Connections::LumpedMass * > &iConnections, const char *iAbsoluteExportPath) |
Returns the intermediate connection representations of lumped mass connections. More... | |
void | GetProjectionPoints (const std::vector< NXOpen::CAE::Connections::IConnection * > &iConnections, std::vector< NXOpen::INXObject * > &oFlanges, std::vector< NXOpen::Point3d > &oProjectionPoints, std::vector< int > &oFlangeObjectIndexList) |
Returns the projection points of the connections per geometry flanges Created in NX1847.0.0. More... | |
std::vector < NXOpen::CAE::Connections::LMIEConnection * > | ImportLumpedMassInterchangeData (NXOpen::INXObject *contextPart, const NXString &iAbsoluteImportPath) |
Imports the intermediate connection representations of lumped mass connections from external file. More... | |
std::vector < NXOpen::CAE::Connections::LMIEConnection * > | ImportLumpedMassInterchangeData (NXOpen::INXObject *contextPart, const char *iAbsoluteImportPath) |
Imports the intermediate connection representations of lumped mass connections from external file. More... | |
NXOpen::TaggedObject * | MapObject (NXOpen::CAE::FemPart *femPart, NXOpen::TaggedObject *cadFeature, bool syncGeomData) |
Map CAD Prt geometry in FemPart. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Contains universal connections utility methods
To obtain an instance of this class, refer to NXOpen::CAE::CaeSession
Created in NX12.0.0.
NXOpen::CAE::Connections::LMIEConnection* NXOpen::CAE::Connections::Utils::CreateLmieconnection | ( | NXOpen::INXObject * | contextPart | ) |
Create standalone LMIEConnection.
contextPart | contextpart |
void NXOpen::CAE::Connections::Utils::ExportLumpedMassInterchangeData | ( | const std::vector< NXOpen::CAE::Connections::LMIEConnection * > & | iConnections, |
const NXString & | iAbsoluteExportPath, | ||
bool | iConvertConnectionDataFromPartUnits | ||
) |
Exports the intermediate connection representations of lumped mass connections to external file.
File type is determined by the extension.
Created in NX1847.0.0.
License requirements : None
iConnections | The array of input lumped mass intermediate representations |
iAbsoluteExportPath | The absolute path where the connections are to be exported |
iConvertConnectionDataFromPartUnits | If the interchange data unit system is different from the part unit system, we want to convert the data before exporting |
void NXOpen::CAE::Connections::Utils::ExportLumpedMassInterchangeData | ( | const std::vector< NXOpen::CAE::Connections::LMIEConnection * > & | iConnections, |
const char * | iAbsoluteExportPath, | ||
bool | iConvertConnectionDataFromPartUnits | ||
) |
Exports the intermediate connection representations of lumped mass connections to external file.
File type is determined by the extension.
Created in NX1847.0.0.
License requirements : None
iConnections | The array of input lumped mass intermediate representations |
iAbsoluteExportPath | The absolute path where the connections are to be exported |
iConvertConnectionDataFromPartUnits | If the interchange data unit system is different from the part unit system, we want to convert the data before exporting |
std::vector<NXOpen::CAE::Connections::IConnection *> NXOpen::CAE::Connections::Utils::FilterConnectionsByType | ( | const std::vector< NXOpen::CAE::Connections::IConnection * > & | iConnections, |
NXOpen::CAE::Connections::ConnectionType | type | ||
) |
Filters a list of connections by type.
iConnections | The array of input connections |
type | The connection type to filter by |
std::vector<NXOpen::CAE::Connections::LMIEConnection *> NXOpen::CAE::Connections::Utils::GetInterchangeDataFromLumpedMass | ( | NXOpen::Unit * | conversionLengthUnit, |
NXOpen::Unit * | conversionMassUnit, | ||
const std::vector< NXOpen::CAE::Connections::LumpedMass * > & | iConnections, | ||
const NXString & | iAbsoluteExportPath | ||
) |
Returns the intermediate connection representations of lumped mass connections.
conversionLengthUnit | The length unit |
conversionMassUnit | The mass unit |
iConnections | The array of input lumped mass connections |
iAbsoluteExportPath | The absolute path where the connections are to be exported |
std::vector<NXOpen::CAE::Connections::LMIEConnection *> NXOpen::CAE::Connections::Utils::GetInterchangeDataFromLumpedMass | ( | NXOpen::Unit * | conversionLengthUnit, |
NXOpen::Unit * | conversionMassUnit, | ||
const std::vector< NXOpen::CAE::Connections::LumpedMass * > & | iConnections, | ||
const char * | iAbsoluteExportPath | ||
) |
Returns the intermediate connection representations of lumped mass connections.
conversionLengthUnit | The length unit |
conversionMassUnit | The mass unit |
iConnections | The array of input lumped mass connections |
iAbsoluteExportPath | The absolute path where the connections are to be exported |
void NXOpen::CAE::Connections::Utils::GetProjectionPoints | ( | const std::vector< NXOpen::CAE::Connections::IConnection * > & | iConnections, |
std::vector< NXOpen::INXObject * > & | oFlanges, | ||
std::vector< NXOpen::Point3d > & | oProjectionPoints, | ||
std::vector< int > & | oFlangeObjectIndexList | ||
) |
Returns the projection points of the connections per geometry flanges
Created in NX1847.0.0.
License requirements : None
iConnections | The array of input connections |
oFlanges | The array of the geometry flange objects |
oProjectionPoints | The array of the projection points |
oFlangeObjectIndexList | The array of projection point index ranges per flanges. The size of the array is number of flanges + 1. For the flange i the index range is [oFlangeObjectIndexList[i], ..., oFlangeObjectIndexList[i + 1] - 1]. |
std::vector<NXOpen::CAE::Connections::LMIEConnection *> NXOpen::CAE::Connections::Utils::ImportLumpedMassInterchangeData | ( | NXOpen::INXObject * | contextPart, |
const NXString & | iAbsoluteImportPath | ||
) |
Imports the intermediate connection representations of lumped mass connections from external file.
File type is determined by the extension.
contextPart | contextpart |
iAbsoluteImportPath | The absolute path where the connections are to be imported from |
std::vector<NXOpen::CAE::Connections::LMIEConnection *> NXOpen::CAE::Connections::Utils::ImportLumpedMassInterchangeData | ( | NXOpen::INXObject * | contextPart, |
const char * | iAbsoluteImportPath | ||
) |
Imports the intermediate connection representations of lumped mass connections from external file.
File type is determined by the extension.
contextPart | contextpart |
iAbsoluteImportPath | The absolute path where the connections are to be imported from |
NXOpen::TaggedObject* NXOpen::CAE::Connections::Utils::MapObject | ( | NXOpen::CAE::FemPart * | femPart, |
NXOpen::TaggedObject * | cadFeature, | ||
bool | syncGeomData | ||
) |
Map CAD Prt geometry in FemPart.
femPart | The context fem part |
cadFeature | The cad entity |
syncGeomData | Synchronize CAD Geometry option if new entitiy is created |
tag_t NXOpen::CAE::Connections::Utils::Tag | ( | ) | const |
Returns the tag of this object.