NX Open C++ Reference Guide
|
Builder class for clock part object
To create a new instance of this class, use Routing::RouteManager::CreateClockPartBuilder
Default values.
More...
Public Member Functions | |
void | DragByTransform (const NXOpen::Vector3d &translation, const NXOpen::Matrix3x3 &rotation) |
Drag the selected objects by the given translation and rotation. | |
void | InitializeFromPort (NXOpen::Routing::Port *port) |
Initializes (or resets) the builder based off of the input line segment. | |
NXOpen::SelectNXObject * | PortSelection () |
Returns the user selected Routing::Port for rotation of compoent Created in NX7.5.0. | |
NXOpen::Expression * | RotationAngle () |
Returns the rotation angle applied to the component for rotation Created in NX7.5.0. | |
void | SetLockEngagement (bool lockEngagement) |
Set EngagementLock of builder attribute Created in NX7.5.3. | |
void | SetLockRotation (bool lockRotation) |
Set RotationLock of builder attribute Created in NX7.5.3. | |
void | StartDrag () |
Begin a drag operation. | |
void | StopDrag () |
End a drag operation. | |
void | SuppressPortConstraint (NXOpen::Routing::Port *portTag, bool suppress) |
Suppress the constraind applied to the selected Routing::Port Created in NX7.5.0. | |
void | UpdateRotationAngle (double angle) |
Suppress the constraind applied to the selected Routing::Port Created in NX7.5.0. |
Builder class for clock part object
To create a new instance of this class, use Routing::RouteManager::CreateClockPartBuilder
Default values.
Property | Value |
---|---|
RotationAngle.Value |
0 |
Created in NX7.5.0.
void NXOpen::Routing::ClockPartBuilder::DragByTransform | ( | const NXOpen::Vector3d & | translation, |
const NXOpen::Matrix3x3 & | rotation | ||
) |
Drag the selected objects by the given translation and rotation.
Only call after invoking the Routing::ClockPartBuilder::StartDrag method. After finished dragging, call Routing::ClockPartBuilder::StopDrag .
Created in NX7.5.0.
License requirements : routing_mechanical ("Routing Mechanical") OR routing_electrical ("Routing Electrical") OR routing_combined ("Routing Combined")
translation | The translation to be applied. |
rotation | The rotation to be applied |
Initializes (or resets) the builder based off of the input line segment.
Created in NX7.5.0.
License requirements : routing_mechanical ("Routing Mechanical") OR routing_electrical ("Routing Electrical") OR routing_combined ("Routing Combined")
port | port object, may be NULL |
Returns the user selected Routing::Port for rotation of compoent
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Returns the rotation angle applied to the component for rotation
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::ClockPartBuilder::SetLockEngagement | ( | bool | lockEngagement | ) |
Set EngagementLock of builder attribute
Created in NX7.5.3.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
lockEngagement | Lock Engagement |
void NXOpen::Routing::ClockPartBuilder::SetLockRotation | ( | bool | lockRotation | ) |
Set RotationLock of builder attribute
Created in NX7.5.3.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
lockRotation | Lock Rotation |
Begin a drag operation.
Created in NX7.5.0.
License requirements : routing_mechanical ("Routing Mechanical") OR routing_electrical ("Routing Electrical") OR routing_combined ("Routing Combined")
End a drag operation.
Created in NX7.5.0.
License requirements : routing_mechanical ("Routing Mechanical") OR routing_electrical ("Routing Electrical") OR routing_combined ("Routing Combined")
void NXOpen::Routing::ClockPartBuilder::SuppressPortConstraint | ( | NXOpen::Routing::Port * | portTag, |
bool | suppress | ||
) |
Suppress the constraind applied to the selected Routing::Port
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::ClockPartBuilder::UpdateRotationAngle | ( | double | angle | ) |
Suppress the constraind applied to the selected Routing::Port
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
angle | true to suppress , false to unsuppress |