NX Open C++ Reference Guide
|
Represents a Routing::DivisionsBuilder. More...
Public Types | |
enum | SplitDirectionType { SplitDirectionTypeSplitVertically, SplitDirectionTypeSplitHorizontally } |
The direction in which the cross-section is to be split. More... | |
Public Member Functions | |
NXOpen::Routing::Division * | CreateDivisions () |
Creates two new divisions by splitting the parent division. | |
NXOpen::Routing::Division * | GetDivision () |
Gets the division object, if any, associated with the division builder. | |
NXOpen::Expression * | LeftChildFlow () |
Returns the value of percent absolute or relative flow in left (first) child division Created in NX7.5.0. | |
NXOpen::Expression * | RightChildFlow () |
Returns the value of percent absolute or relative flow in right (second) child division Created in NX7.5.0. | |
NXOpen::SelectNXObject * | SelectedPort () |
Returns the Routing::Port to identify the cross-section that is to be split Created in NX7.5.0. | |
void | SetSplitDirection (NXOpen::Routing::DivisionsBuilder::SplitDirectionType splitDirection) |
Sets the direction of split, either vertical or horizontal Created in NX7.5.0. | |
NXOpen::Routing::DivisionsBuilder::SplitDirectionType | SplitDirection () |
Returns the direction of split, either vertical or horizontal Created in NX7.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Routing::DivisionsBuilder.
Builder for creating/editing splits at an end of a duct. Takes an end face of a rectangular stock and splits it into a pair of divisions based on the specified absolute flow percentage for each division. <br> To create a new instance of this class, use @link Routing::RouteManager::CreateDivisionsBuilder Routing::RouteManager::CreateDivisionsBuilder @endlink <br>
Default values.
Property | Value |
---|---|
LeftChildFlow.Value |
50 |
RightChildFlow.Value |
50 |
SplitDirection |
SplitVertically |
Created in NX7.5.0.
NXOpen::Routing::Division* NXOpen::Routing::DivisionsBuilder::CreateDivisions | ( | ) |
Creates two new divisions by splitting the parent division.
NXOpen::Routing::Division* NXOpen::Routing::DivisionsBuilder::GetDivision | ( | ) |
Gets the division object, if any, associated with the division builder.
NXOpen::Expression* NXOpen::Routing::DivisionsBuilder::LeftChildFlow | ( | ) |
Returns the value of percent absolute or relative flow in left (first) child division
Created in NX7.5.0.
License requirements : routing_hvac ("Routing HVAC")
NXOpen::Expression* NXOpen::Routing::DivisionsBuilder::RightChildFlow | ( | ) |
Returns the value of percent absolute or relative flow in right (second) child division
Created in NX7.5.0.
License requirements : routing_hvac ("Routing HVAC")
NXOpen::SelectNXObject* NXOpen::Routing::DivisionsBuilder::SelectedPort | ( | ) |
Returns the Routing::Port to identify the cross-section that is to be split
Created in NX7.5.0.
License requirements : routing_hvac ("Routing HVAC")
void NXOpen::Routing::DivisionsBuilder::SetSplitDirection | ( | NXOpen::Routing::DivisionsBuilder::SplitDirectionType | splitDirection | ) |
Sets the direction of split, either vertical or horizontal
Created in NX7.5.0.
License requirements : routing_hvac ("Routing HVAC")
splitDirection | splitdirection |
NXOpen::Routing::DivisionsBuilder::SplitDirectionType NXOpen::Routing::DivisionsBuilder::SplitDirection | ( | ) |
Returns the direction of split, either vertical or horizontal
Created in NX7.5.0.
License requirements : routing_hvac ("Routing HVAC")