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

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::LMIEConnectionCreateLmieconnection (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::TaggedObjectMapObject (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...
 

Detailed Description

Contains universal connections utility methods
To obtain an instance of this class, refer to NXOpen::CAE::CaeSession

Created in NX12.0.0.


Member Function Documentation

NXOpen::CAE::Connections::LMIEConnection* NXOpen::CAE::Connections::Utils::CreateLmieconnection ( NXOpen::INXObject contextPart)

Create standalone LMIEConnection.

Returns
The created standalone LMIEConnection
Created in NX1847.0.0.

License requirements : None
Parameters
contextPartcontextpart
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

Parameters
iConnectionsThe array of input lumped mass intermediate representations
iAbsoluteExportPathThe absolute path where the connections are to be exported
iConvertConnectionDataFromPartUnitsIf 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

Parameters
iConnectionsThe array of input lumped mass intermediate representations
iAbsoluteExportPathThe absolute path where the connections are to be exported
iConvertConnectionDataFromPartUnitsIf 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.

Returns
all connections matching the specified connection type
Created in NX12.0.0.

License requirements : None
Parameters
iConnectionsThe array of input connections
typeThe 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.

Returns
The intermediate connection representations
Created in NX1847.0.0.

License requirements : None
Parameters
conversionLengthUnitThe length unit
conversionMassUnitThe mass unit
iConnectionsThe array of input lumped mass connections
iAbsoluteExportPathThe 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.

Returns
The intermediate connection representations
Created in NX1847.0.0.

License requirements : None
Parameters
conversionLengthUnitThe length unit
conversionMassUnitThe mass unit
iConnectionsThe array of input lumped mass connections
iAbsoluteExportPathThe 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

Parameters
iConnectionsThe array of input connections
oFlangesThe array of the geometry flange objects
oProjectionPointsThe array of the projection points
oFlangeObjectIndexListThe 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.

Returns
The intermediate connection representations
Created in NX1847.0.0.

License requirements : None
Parameters
contextPartcontextpart
iAbsoluteImportPathThe 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.

Returns
The intermediate connection representations
Created in NX1847.0.0.

License requirements : None
Parameters
contextPartcontextpart
iAbsoluteImportPathThe 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.

Returns
Mapped cad feature in FemPart
Created in NX1847.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")
Parameters
femPartThe context fem part
cadFeatureThe cad entity
syncGeomDataSynchronize CAD Geometry option if new entitiy is created
tag_t NXOpen::CAE::Connections::Utils::Tag ( ) const

Returns the tag of this object.


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