NX Open C++ Reference Guide
|
Public Member Functions | |
double | Density () |
Returns the solid density of the body. | |
std::vector< NXOpen::Edge * > | GetEdges () |
Returns the edges in the body. | |
std::vector< NXOpen::Face * > | GetFaces () |
Returns the faces in the body. | |
void | GetFacetedBody (NXOpen::Facet::FacetedBody **facetBody, bool *upToDate) |
Returns a faceted body for a given solid body and checks whether it is out of date. | |
std::vector < NXOpen::Features::Feature * > | GetFeatures () |
Returns the features used to construct the body. | |
bool | IsSheetBody () |
Returns true if the body is a sheet body Created in NX3.0.0. | |
bool | IsSolidBody () |
Returns true if the body is a solid body Created in NX3.0.0. | |
void | RemoveMergedRibImprintedEdges (NXOpen::Face *originalFace, const std::vector< NXOpen::Edge * > &imprintedEdges) |
Removes imprinted edges created by the merged rib rule. | |
void | SetDensity (double density) |
Sets the solid density of the body. |
Represents a Body.
Created in NX3.0.0.
double NXOpen::Body::Density | ( | ) |
Returns the solid density of the body.
The units of the density will be in kilograms per cubic meter
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
std::vector<NXOpen::Edge *> NXOpen::Body::GetEdges | ( | ) |
Returns the edges in the body.
std::vector<NXOpen::Face *> NXOpen::Body::GetFaces | ( | ) |
Returns the faces in the body.
void NXOpen::Body::GetFacetedBody | ( | NXOpen::Facet::FacetedBody ** | facetBody, |
bool * | upToDate | ||
) |
Returns a faceted body for a given solid body and checks whether it is out of date.
Created in NX7.5.5.
License requirements : None
facetBody | facetbody |
upToDate | up to date |
std::vector<NXOpen::Features::Feature *> NXOpen::Body::GetFeatures | ( | ) |
Returns the features used to construct the body.
bool NXOpen::Body::IsSheetBody | ( | ) |
Returns true if the body is a sheet body
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
bool NXOpen::Body::IsSolidBody | ( | ) |
Returns true if the body is a solid body
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Body::RemoveMergedRibImprintedEdges | ( | NXOpen::Face * | originalFace, |
const std::vector< NXOpen::Edge * > & | imprintedEdges | ||
) |
Removes imprinted edges created by the merged rib rule.
Created in NX6.0.2.
License requirements : solid_modeling ("SOLIDS MODELING")
originalFace | the seed face of the rule. It can be null |
imprintedEdges | edges. |
void NXOpen::Body::SetDensity | ( | double | density | ) |
Sets the solid density of the body.
The units of the density will be in kilograms per cubic meter
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
density | density |