|
NX Open C++ Reference Guide
|
Represents a Routing::HandrailBuilder Creates a handrail from a selected point. More...
Public Types | |
| enum | PostTypes { PostTypesStart, PostTypesIntermediate, PostTypesNone, PostTypesEnd } |
| The post type: Start, Intermediate, None, End. More... | |
Public Member Functions | |
| bool | AutoCloseOption () |
| Returns an option to automatically close the handrail Created in NX8.5.0. | |
| bool | HasHorizontalRails () |
| Returns an option to create horizontal rail stock Created in NX8.5.0. | |
| void | PlaceHandrail (const NXOpen::Point3d &postLocation) |
| Creates a handrail post, horizontal railings assembly components and places them in the appropriate orientation. | |
| NXOpen::Routing::HandrailBuilder::PostTypes | PostType () |
| Returns the type of post: Start, Intermediate, None, End Created in NX8.5.0. | |
| void | ReverseLastPost () |
| Reverses the orientation of the last placed post Created in NX8.5.0. | |
| void | SetAutoCloseOption (bool autoClose) |
| Sets an option to automatically close the handrail Created in NX8.5.0. | |
| void | SetHandrailPartCharx (NXOpen::Routing::CharacteristicList *partCharx) |
| Sets the handrail part characteristics Created in NX8.5.0. | |
| void | SetHasHorizontalRails (bool railOption) |
| Sets an option to create horizontal rail stock Created in NX8.5.0. | |
| void | SetPostType (NXOpen::Routing::HandrailBuilder::PostTypes postType) |
| Sets the type of post: Start, Intermediate, None, End Created in NX8.5.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a Routing::HandrailBuilder Creates a handrail from a selected point.
The handrail is created by optionally placing a post depending on the post type followed by placing the rails across the route control points corresponding to the posts.
To create a new instance of this class, use Routing::RouteManager::CreateHandrailBuilder
Created in NX8.5.0.
The post type: Start, Intermediate, None, End.
Start implies closing rails must be closed to the start post. Intermediate implies that the post is neither a start nor an end post but in the middle. None implies the post is intermediate with rails but without a post. End implies the post is the last of the posts.
| bool NXOpen::Routing::HandrailBuilder::AutoCloseOption | ( | ) |
Returns an option to automatically close the handrail
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| bool NXOpen::Routing::HandrailBuilder::HasHorizontalRails | ( | ) |
Returns an option to create horizontal rail stock
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| void NXOpen::Routing::HandrailBuilder::PlaceHandrail | ( | const NXOpen::Point3d & | postLocation | ) |
Creates a handrail post, horizontal railings assembly components and places them in the appropriate orientation.
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| postLocation | The point where the handrail is to be placed |
| NXOpen::Routing::HandrailBuilder::PostTypes NXOpen::Routing::HandrailBuilder::PostType | ( | ) |
Returns the type of post: Start, Intermediate, None, End
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| void NXOpen::Routing::HandrailBuilder::ReverseLastPost | ( | ) |
Reverses the orientation of the last placed post
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| void NXOpen::Routing::HandrailBuilder::SetAutoCloseOption | ( | bool | autoClose | ) |
Sets an option to automatically close the handrail
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| autoClose | autoclose |
| void NXOpen::Routing::HandrailBuilder::SetHandrailPartCharx | ( | NXOpen::Routing::CharacteristicList * | partCharx | ) |
Sets the handrail part characteristics
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| partCharx | The characteristics to use for the handrail posts |
| void NXOpen::Routing::HandrailBuilder::SetHasHorizontalRails | ( | bool | railOption | ) |
Sets an option to create horizontal rail stock
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| railOption | railoption |
| void NXOpen::Routing::HandrailBuilder::SetPostType | ( | NXOpen::Routing::HandrailBuilder::PostTypes | postType | ) |
Sets the type of post: Start, Intermediate, None, End
Created in NX8.5.0.
License requirements : routing_platform ("Routing Platform")
| postType | posttype |