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

Removes rods of existing lattice bodies based on the specified filter cases. More...

Inheritance diagram for NXOpen::Features::FilterLatticeBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::ScCollectorLatticeBodies ()
 Returns. More...
 
NXOpen::ExpressionMaximumRodLength ()
 Returns. More...
 
NXOpen::ExpressionMinimumAngle ()
 Returns. More...
 
NXOpen::DirectionPrintPlaneNormal ()
 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.

Member Enumeration Documentation

The type of dangling rods to be filtered.

  • Dangling rods will be kept.
  • All rods currently not being connected to lattice at both ends will be removed.
  • All rods not being connected to lattice at both ends will be removed iteratively until all rods are properly connected.
Enumerator
FilterDanglingRodsTypeNone 

none

FilterDanglingRodsTypeFirstLevel 

first level

FilterDanglingRodsTypeIterative 

iterative

Member Function Documentation

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")

Parameters
filterByAnglefilterbyangle
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")

Parameters
filterByLengthfilterbylength
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")

Parameters
filterDanglingRodsfilterdanglingrods
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

Parameters
latticeBodieslatticebodies
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")

Parameters
printPlaneNormalprintplanenormal

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