NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::SketchPolygonBuilder Class Reference

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

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

Public Types

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

Public Member Functions

NXOpen::PointCenterPoint ()
 Returns the center point
Created in NX7.5.0. More...
 
void CreateAngleDimension (bool createDim)
 The flag to indicate if we need to create angle dimension
Created in NX7.5.0. More...
 
void CreateLengthDimension (bool createDim)
 The flag to indicate if we need to create length dimension
Created in NX7.5.0. More...
 
void CreateRadiusDimension (bool createDim)
 The flag to indicate if we need to create radius dimension
Created in NX7.5.0. More...
 
NXOpen::ExpressionLengthDimension ()
 Returns the length dimension. More...
 
int NumberOfSides ()
 Returns the number of sides
Created in NX7.5.0. More...
 
NXOpen::ExpressionRadiusDimension ()
 Returns the radius dimension. More...
 
NXOpen::ExpressionRotationDimension ()
 Returns the angular dimension
Created in NX7.5.0. More...
 
void SetCenterPoint (NXOpen::Point *centerPoint)
 Sets the center point
Created in NX7.5.0. More...
 
void SetNumberOfSides (int numberOfSides)
 Sets the number of sides
Created in NX7.5.0. More...
 
void SetSize (NXOpen::SketchPolygonBuilder::SizeType size)
 Sets the size type
Created in NX7.5.0. More...
 
void SetSizePoint (NXOpen::Point *sizePoint)
 Sets the size point
Created in NX7.5.0. More...
 
NXOpen::SketchPolygonBuilder::SizeType Size ()
 Returns the size type
Created in NX7.5.0. More...
 
NXOpen::PointSizePoint ()
 Returns the size point
Created in NX7.5.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::SketchPolygon builder
To create a new instance of this class, use NXOpen::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

NXOpen::Point* NXOpen::SketchPolygonBuilder::CenterPoint ( )

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

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

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

Parameters
createDimtrue, to create the radius dimension
NXOpen::Expression* NXOpen::SketchPolygonBuilder::LengthDimension ( )

Returns the length dimension.

This value is only used if NXOpen::SketchPolygonBuilder::Size is set to NXOpen::SketchPolygonBuilder::SizeTypeSideLength
Created in NX7.5.0.

License requirements : None

int NXOpen::SketchPolygonBuilder::NumberOfSides ( )

Returns the number of sides
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::SketchPolygonBuilder::RadiusDimension ( )

Returns the radius dimension.

This value is only used if NXOpen::SketchPolygonBuilder::Size is set to NXOpen::SketchPolygonBuilder::SizeTypeInscribedRadius or NXOpen::SketchPolygonBuilder::SizeTypeCircumscribedRadius
Created in NX7.5.0.

License requirements : None

NXOpen::Expression* NXOpen::SketchPolygonBuilder::RotationDimension ( )

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") OR geometric_tol ("GDT")

Parameters
centerPointcenterpoint
void NXOpen::SketchPolygonBuilder::SetNumberOfSides ( int  numberOfSides)

Sets the number of sides
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

Parameters
numberOfSidesnumberofsides
void NXOpen::SketchPolygonBuilder::SetSize ( NXOpen::SketchPolygonBuilder::SizeType  size)

Sets the size type
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

Parameters
sizesize
void NXOpen::SketchPolygonBuilder::SetSizePoint ( NXOpen::Point sizePoint)

Sets the size point
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

Parameters
sizePointsizepoint
NXOpen::SketchPolygonBuilder::SizeType NXOpen::SketchPolygonBuilder::Size ( )

Returns the size type
Created in NX7.5.0.



License requirements : None

NXOpen::Point* NXOpen::SketchPolygonBuilder::SizePoint ( )

Returns the size point
Created in NX7.5.0.



License requirements : None


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