NXOpen C++ Reference Guide
|
Removes rods of existing lattice bodies based on the specified filter cases. More...
Public Types | |
enum | FilterDanglingRodsType { FilterDanglingRodsTypeNone, FilterDanglingRodsTypeFirstLevel, FilterDanglingRodsTypeIterative } |
The type of dangling rods to be filtered. More... | |
Public Member Functions | |
bool | FilterByAngle () |
Returns. More... | |
bool | FilterByLength () |
Returns. More... | |
NXOpen::Features::FilterLatticeBuilder::FilterDanglingRodsType | FilterDanglingRods () |
Returns. More... | |
NXOpen::ScCollector * | LatticeBodies () |
Returns. More... | |
NXOpen::Expression * | MaximumRodLength () |
Returns. More... | |
NXOpen::Expression * | MinimumAngle () |
Returns. More... | |
NXOpen::Direction * | PrintPlaneNormal () |
Returns. More... | |
void | SetFilterByAngle (bool filterByAngle) |
Sets. More... | |
void | SetFilterByLength (bool filterByLength) |
Sets. More... | |
void | SetFilterDanglingRods (NXOpen::Features::FilterLatticeBuilder::FilterDanglingRodsType filterDanglingRods) |
Sets. More... | |
void | SetLatticeBodies (NXOpen::ScCollector *latticeBodies) |
Sets. More... | |
void | SetPrintPlaneNormal (NXOpen::Direction *printPlaneNormal) |
Sets. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Removes rods of existing lattice bodies based on the specified filter cases.
To create a new instance of this class, use NXOpen::Features::LatticeFeatureCollection::CreateFilterLatticeBuilder
Default values.
Property | Value |
---|---|
FilterByAngle |
0 |
FilterByLength |
0 |
FilterDanglingRods |
None |
MaximumRodLength.Value |
20 (millimeters part), 0.8 (inches part) |
MinimumAngle.Value |
45 |
Created in NX1847.0.0.
The type of dangling rods to be filtered.
Enumerator | |
---|---|
FilterDanglingRodsTypeNone |
none |
FilterDanglingRodsTypeFirstLevel |
first level |
FilterDanglingRodsTypeIterative |
iterative |
bool NXOpen::Features::FilterLatticeBuilder::FilterByAngle | ( | ) |
Returns.
the filter by angle - whether to filter or not based on the angle of the rods to the print plane.
Created in NX1847.0.0.
License requirements : None
bool NXOpen::Features::FilterLatticeBuilder::FilterByLength | ( | ) |
Returns.
the filter by length - whether to removes all rods with a length exceeding the specified threshold. This reduces the odds that they break.
Created in NX1847.0.0.
License requirements : None
NXOpen::Features::FilterLatticeBuilder::FilterDanglingRodsType NXOpen::Features::FilterLatticeBuilder::FilterDanglingRods | ( | ) |
Returns.
the filter dangling rods - whether to remove the dangling rods by the specified criteria or not.
Created in NX1847.0.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Features::FilterLatticeBuilder::LatticeBodies | ( | ) |
Returns.
the lattice bodies to be filtered as per the criteria set.
Created in NX1847.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::FilterLatticeBuilder::MaximumRodLength | ( | ) |
Returns.
the maximum rod length - Removes all rods with a length exceeding the specified threshold. This reduces the odds that they break.
Created in NX1847.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::FilterLatticeBuilder::MinimumAngle | ( | ) |
Returns.
the minimum angle - the minimum acceptable angle between the rod and the print plane.
Created in NX1847.0.0.
License requirements : None
NXOpen::Direction* NXOpen::Features::FilterLatticeBuilder::PrintPlaneNormal | ( | ) |
Returns.
the print plane normal - Removes all rods with an angle to print plane going below the specified threshold.
Created in NX1847.0.0.
License requirements : None
void NXOpen::Features::FilterLatticeBuilder::SetFilterByAngle | ( | bool | filterByAngle | ) |
Sets.
the filter by angle - whether to filter or not based on the angle of the rods to the print plane.
Created in NX1847.0.0.
License requirements : nx_lattice_base (" NX Lattice Base")
filterByAngle | filterbyangle |
void NXOpen::Features::FilterLatticeBuilder::SetFilterByLength | ( | bool | filterByLength | ) |
Sets.
the filter by length - whether to removes all rods with a length exceeding the specified threshold. This reduces the odds that they break.
Created in NX1847.0.0.
License requirements : nx_lattice_base (" NX Lattice Base")
filterByLength | filterbylength |
void NXOpen::Features::FilterLatticeBuilder::SetFilterDanglingRods | ( | NXOpen::Features::FilterLatticeBuilder::FilterDanglingRodsType | filterDanglingRods | ) |
Sets.
the filter dangling rods - whether to remove the dangling rods by the specified criteria or not.
Created in NX1847.0.0.
License requirements : nx_lattice_base (" NX Lattice Base")
filterDanglingRods | filterdanglingrods |
void NXOpen::Features::FilterLatticeBuilder::SetLatticeBodies | ( | NXOpen::ScCollector * | latticeBodies | ) |
Sets.
the lattice bodies to be filtered as per the criteria set.
Created in NX1847.0.0.
License requirements : None
latticeBodies | latticebodies |
void NXOpen::Features::FilterLatticeBuilder::SetPrintPlaneNormal | ( | NXOpen::Direction * | printPlaneNormal | ) |
Sets.
the print plane normal - Removes all rods with an angle to print plane going below the specified threshold.
Created in NX1847.0.0.
License requirements : nx_lattice_base (" NX Lattice Base")
printPlaneNormal | printplanenormal |