NX Open C++ Reference Guide
|
Represents a Features::Cylinder builder
To create a new instance of this class, use Features::FeatureCollection::CreateCylinderBuilder
Default values.
More...
Public Types | |
enum | Types { TypesAxisDiameterAndHeight, TypesArcAndHeight } |
the cylinder types More... | |
Public Member Functions | |
NXOpen::SelectICurve * | Arc () |
Returns the arc Created in NX5.0.0. | |
NXOpen::Axis * | Axis () |
Returns the axis Created in NX5.0.0. | |
NXOpen::GeometricUtilities::BooleanOperation * | BooleanOption () |
Returns the boolean option Created in NX5.0.0. | |
NXOpen::Expression * | Diameter () |
Returns the diameter. | |
NXOpen::Vector3d | Direction () |
Returns the cylinder direction. | |
NXOpen::Expression * | Height () |
Returns the height Created in NX5.0.0. | |
NXOpen::Point3d | Origin () |
Returns the cylinder origin. | |
bool | ParentAssociativity () |
Returns the option to keep associativity of the cylinder axis Created in NX8.0.0. | |
bool | ReverseDirection () |
Returns the reverse direction. | |
void | SetAxis (NXOpen::Axis *axis) |
Sets the axis Created in NX5.0.0. | |
void | SetDirection (const NXOpen::Vector3d &vector) |
Sets the cylinder direction. | |
void | SetOrigin (const NXOpen::Point3d &origin) |
Sets the cylinder origin. | |
void | SetParentAssociativity (bool parentAssociativity) |
Sets the option to keep associativity of the cylinder axis Created in NX8.0.0. | |
void | SetReverseDirection (bool reverse) |
Sets the reverse direction. | |
void | SetType (NXOpen::Features::CylinderBuilder::Types type) |
Sets the type Created in NX5.0.0. | |
NXOpen::Features::CylinderBuilder::Types | Type () |
Returns the type Created in NX5.0.0. |
Represents a Features::Cylinder builder
To create a new instance of this class, use Features::FeatureCollection::CreateCylinderBuilder
Default values.
Property | Value |
---|---|
BooleanOption.Type |
Create |
Diameter.Value |
50.0 (millimeters part), 2.0 (inches part) |
Height.Value |
100.0 (millimeters part), 4.0 (inches part) |
ReverseDirection |
false |
Type |
AxisDiameterAndHeight |
Created in NX5.0.0.
Returns the arc
Created in NX5.0.0.
License requirements : None
Returns the axis
Created in NX5.0.0.
License requirements : None
Returns the boolean option
Created in NX5.0.0.
License requirements : None
Returns the diameter.
This will be used only when the law type is Axis, Diameter, and Height
Created in NX5.0.0.
License requirements : None
Returns the cylinder direction.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the height
Created in NX5.0.0.
License requirements : None
Returns the cylinder origin.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the option to keep associativity of the cylinder axis
Created in NX8.0.0.
License requirements : None
Returns the reverse direction.
Created in NX5.0.0.
License requirements : None
void NXOpen::Features::CylinderBuilder::SetAxis | ( | NXOpen::Axis * | axis | ) |
Sets the axis
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
axis | axis |
void NXOpen::Features::CylinderBuilder::SetDirection | ( | const NXOpen::Vector3d & | vector | ) |
Sets the cylinder direction.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
vector | vector |
void NXOpen::Features::CylinderBuilder::SetOrigin | ( | const NXOpen::Point3d & | origin | ) |
Sets the cylinder origin.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
origin | origin |
void NXOpen::Features::CylinderBuilder::SetParentAssociativity | ( | bool | parentAssociativity | ) |
Sets the option to keep associativity of the cylinder axis
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentAssociativity | parentassociativity |
void NXOpen::Features::CylinderBuilder::SetReverseDirection | ( | bool | reverse | ) |
Sets the reverse direction.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
reverse | reverse |
Sets the type
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |
Returns the type
Created in NX5.0.0.
License requirements : None