NX Open C++ Reference Guide
|
Represents a SketchPolygon builder
To create a new instance of this class, use SketchCollection::CreateSketchPolygonBuilder
Default values.
More...
Public Types | |
enum | SizeType { SizeTypeInscribedRadius, SizeTypeCircumscribedRadius, SizeTypeSideLength } |
Polygon type. More... | |
Public Member Functions | |
NXOpen::Point * | CenterPoint () |
Returns the center point Created in NX7.5.0. | |
void | CreateAngleDimension (bool createDim) |
The flag to indicate if we need to create angle dimension Created in NX7.5.0. | |
void | CreateLengthDimension (bool createDim) |
The flag to indicate if we need to create length dimension Created in NX7.5.0. | |
void | CreateRadiusDimension (bool createDim) |
The flag to indicate if we need to create radius dimension Created in NX7.5.0. | |
NXOpen::Expression * | LengthDimension () |
Returns the length dimension. | |
int | NumberOfSides () |
Returns the number of sides Created in NX7.5.0. | |
NXOpen::Expression * | RadiusDimension () |
Returns the radius dimension. | |
NXOpen::Expression * | RotationDimension () |
Returns the angular dimension Created in NX7.5.0. | |
void | SetCenterPoint (NXOpen::Point *centerPoint) |
Sets the center point Created in NX7.5.0. | |
void | SetNumberOfSides (int numberOfSides) |
Sets the number of sides Created in NX7.5.0. | |
void | SetSize (NXOpen::SketchPolygonBuilder::SizeType size) |
Sets the size type Created in NX7.5.0. | |
void | SetSizePoint (NXOpen::Point *sizePoint) |
Sets the size point Created in NX7.5.0. | |
NXOpen::SketchPolygonBuilder::SizeType | Size () |
Returns the size type Created in NX7.5.0. | |
NXOpen::Point * | SizePoint () |
Returns the size point Created in NX7.5.0. |
Represents a SketchPolygon builder
To create a new instance of this class, use SketchCollection::CreateSketchPolygonBuilder
Default values.
Property | Value |
---|---|
LengthDimension.Value |
100 (millimeters part), 3.937 (inches part) |
NumberOfSides |
6 |
RadiusDimension.Value |
100 (millimeters part), 3.937 (inches part) |
RotationDimension.Value |
0 |
Size |
InscribedRadius |
Created in NX7.5.0.
Returns the center point
Created in NX7.5.0.
License requirements : None
void NXOpen::SketchPolygonBuilder::CreateAngleDimension | ( | bool | createDim | ) |
The flag to indicate if we need to create angle dimension
Created in NX7.5.0.
License requirements : None
createDim | true, to create the angle dimension |
void NXOpen::SketchPolygonBuilder::CreateLengthDimension | ( | bool | createDim | ) |
The flag to indicate if we need to create length dimension
Created in NX7.5.0.
License requirements : None
createDim | true, to create the length dimension |
void NXOpen::SketchPolygonBuilder::CreateRadiusDimension | ( | bool | createDim | ) |
The flag to indicate if we need to create radius dimension
Created in NX7.5.0.
License requirements : None
createDim | true, to create the radius dimension |
Returns the length dimension.
This value is only used if SketchPolygonBuilder::Size is set to SketchPolygonBuilder::SizeTypeSideLength
Created in NX7.5.0.
License requirements : None
Returns the number of sides
Created in NX7.5.0.
License requirements : None
Returns the radius dimension.
This value is only used if SketchPolygonBuilder::Size is set to SketchPolygonBuilder::SizeTypeInscribedRadius or SketchPolygonBuilder::SizeTypeCircumscribedRadius
Created in NX7.5.0.
License requirements : None
Returns the angular dimension
Created in NX7.5.0.
License requirements : None
void NXOpen::SketchPolygonBuilder::SetCenterPoint | ( | NXOpen::Point * | centerPoint | ) |
Sets the center point
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
centerPoint | centerpoint |
void NXOpen::SketchPolygonBuilder::SetNumberOfSides | ( | int | numberOfSides | ) |
Sets the number of sides
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
numberOfSides | numberofsides |
Sets the size type
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
size | size |
void NXOpen::SketchPolygonBuilder::SetSizePoint | ( | NXOpen::Point * | sizePoint | ) |
Sets the size point
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
sizePoint | sizepoint |
Returns the size type
Created in NX7.5.0.
License requirements : None
Returns the size point
Created in NX7.5.0.
License requirements : None