NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::SketchPolygonBuilder Class Reference

Represents a SketchPolygon builder
To create a new instance of this class, use SketchCollection::CreateSketchPolygonBuilder
Default values. More...

Inheritance diagram for NXOpen::SketchPolygonBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  SizeType { SizeTypeInscribedRadius, SizeTypeCircumscribedRadius, SizeTypeSideLength }
 Polygon type. More...

Public Member Functions

NXOpen::PointCenterPoint ()
 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::ExpressionLengthDimension ()
 Returns the length dimension.
int NumberOfSides ()
 Returns the number of sides
Created in NX7.5.0.
NXOpen::ExpressionRadiusDimension ()
 Returns the radius dimension.
NXOpen::ExpressionRotationDimension ()
 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::PointSizePoint ()
 Returns the size point
Created in NX7.5.0.

Detailed Description

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.


Member Enumeration Documentation

Polygon type.

Enumerator:
SizeTypeInscribedRadius 

inscribed radius

SizeTypeCircumscribedRadius 

circumscribed radius

SizeTypeSideLength 

side length


Member Function Documentation

Returns the center point
Created in NX7.5.0.



License requirements : None

The flag to indicate if we need to create angle dimension
Created in NX7.5.0.



License requirements : None

Parameters:
createDimtrue, to create the angle dimension

The flag to indicate if we need to create length dimension
Created in NX7.5.0.



License requirements : None

Parameters:
createDimtrue, to create the length dimension

The flag to indicate if we need to create radius dimension
Created in NX7.5.0.



License requirements : None

Parameters:
createDimtrue, 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

Sets the center point
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
centerPointcenterpoint

Sets the number of sides
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
numberOfSidesnumberofsides

Sets the size type
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
sizesize

Sets the size point
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
sizePointsizepoint

Returns the size type
Created in NX7.5.0.



License requirements : None

Returns the size point
Created in NX7.5.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.