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

Represents a Tooling::StockSizeBuilder builder. More...

Inheritance diagram for NXOpen::Tooling::StockSizeBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  Cylinder { CylinderCircumscribed, CylinderInscribedCircle }
 Represents the base circle type of cylinder. More...
enum  Shape { ShapeBlock, ShapeCylinder }
 Represents the shape of stock size. More...

Public Member Functions

NXOpen::ExpressionClearance ()
 Returns the clearance of the stocksize.
void CreateRefCsys (const NXOpen::Point3d &inputOrigin, const NXOpen::Matrix3x3 &inputMatrix)
 Creates the reference csys for stock size.
NXOpen::Tooling::StockSizeBuilder::Cylinder CylinderType ()
 Returns the cylinder type to generate a cylinder for the stock size.
void EditStockSizeAttr (NXOpen::NXObject *workPart)
 Add or edit stock size attributes.
void ModifyRefCsys (const NXOpen::Point3d &inputOrigin, const NXOpen::Matrix3x3 &inputMatrix)
 Modifies the reference csys for stock size.
NXOpen::CoordinateSystemRefCsys ()
 Returns the reference csys to calculate stocksize.
NXOpen::SelectBodyListSelectBody ()
 Returns the selected body to calculate a bounding box for stock size.
void SetCylinderType (NXOpen::Tooling::StockSizeBuilder::Cylinder enumCylinderType)
 Sets the cylinder type to generate a cylinder for the stock size.
void SetRefCsys (NXOpen::CoordinateSystem *refCsys)
 Sets the reference csys to calculate stocksize.
void SetSizePrecision (int integerPrecision)
 Sets the size precision of the stock.
void SetStockType (NXOpen::Tooling::StockSizeBuilder::Shape enumStockType)
 Sets the stock shape to be generated, it can be a box or cylinder.
void SetStringStock (const NXString &stringStock)
 Sets the stock size string, it is seperated by " X ".
int SizePrecision ()
 Returns the size precision of the stock.
NXOpen::Tooling::StockSizeBuilder::Shape StockType ()
 Returns the stock shape to be generated, it can be a box or cylinder.
NXString StringStock ()
 Returns the stock size string, it is seperated by " X ".

Detailed Description

Represents a Tooling::StockSizeBuilder builder.


To create a new instance of this class, use Tooling::StockSizeCollection::CreateStocksizeBuilder
Default values.

Property Value

Clearance.Value

0 (millimeters part), 0 (inches part)

CylinderType

Circumscribed

SizePrecision

0

StockType

Block


Created in NX6.0.0.


Member Enumeration Documentation

Represents the base circle type of cylinder.

Enumerator:
CylinderCircumscribed 

circumcircle based cylinder

CylinderInscribedCircle 

inscribed circle based cylinder

Represents the shape of stock size.

Enumerator:
ShapeBlock 

The shape is a block.

ShapeCylinder 

The shape is a cylinder.


Member Function Documentation

Returns the clearance of the stocksize.


Created in NX8.0.0.

License requirements : None

void NXOpen::Tooling::StockSizeBuilder::CreateRefCsys ( const NXOpen::Point3d inputOrigin,
const NXOpen::Matrix3x3 inputMatrix 
)

Creates the reference csys for stock size.


Created in NX8.0.0.

License requirements : None

Parameters:
inputOrigininputorigin
inputMatrixinputmatrix

Returns the cylinder type to generate a cylinder for the stock size.


Created in NX6.0.0.

License requirements : None

Add or edit stock size attributes.


Created in NX8.0.0.

License requirements : None

Parameters:
workPartworkpart
void NXOpen::Tooling::StockSizeBuilder::ModifyRefCsys ( const NXOpen::Point3d inputOrigin,
const NXOpen::Matrix3x3 inputMatrix 
)

Modifies the reference csys for stock size.


Created in NX8.0.0.

License requirements : None

Parameters:
inputOrigininputorigin
inputMatrixinputmatrix

Returns the reference csys to calculate stocksize.


Created in NX8.0.0.

License requirements : None

Returns the selected body to calculate a bounding box for stock size.


Created in NX6.0.0.

License requirements : None

Sets the cylinder type to generate a cylinder for the stock size.


Created in NX6.0.0.

License requirements : None

Parameters:
enumCylinderTypeenumcylindertype

Sets the reference csys to calculate stocksize.


Created in NX8.0.0.

License requirements : None

Parameters:
refCsysrefcsys

Sets the size precision of the stock.


Created in NX6.0.0.

License requirements : None

Parameters:
integerPrecisionintegerprecision

Sets the stock shape to be generated, it can be a box or cylinder.


Created in NX6.0.0.

License requirements : None

Parameters:
enumStockTypeenumstocktype

Sets the stock size string, it is seperated by " X ".


Created in NX6.0.0.

License requirements : None

Parameters:
stringStockstringstock

Returns the size precision of the stock.


Created in NX6.0.0.

License requirements : None

Returns the stock shape to be generated, it can be a box or cylinder.


Created in NX6.0.0.

License requirements : None

Returns the stock size string, it is seperated by " X ".


Created in NX6.0.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.