NX Open C++ Reference Guide
|
Represents a Tooling::StockSizeBuilder builder. More...
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::Expression * | Clearance () |
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::CoordinateSystem * | RefCsys () |
Returns the reference csys to calculate stocksize. | |
NXOpen::SelectBodyList * | SelectBody () |
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 ". |
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.
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
inputOrigin | inputorigin |
inputMatrix | inputmatrix |
Returns the cylinder type to generate a cylinder for the stock size.
Created in NX6.0.0.
License requirements : None
void NXOpen::Tooling::StockSizeBuilder::EditStockSizeAttr | ( | NXOpen::NXObject * | workPart | ) |
Add or edit stock size attributes.
Created in NX8.0.0.
License requirements : None
workPart | workpart |
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
inputOrigin | inputorigin |
inputMatrix | inputmatrix |
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
void NXOpen::Tooling::StockSizeBuilder::SetCylinderType | ( | NXOpen::Tooling::StockSizeBuilder::Cylinder | enumCylinderType | ) |
Sets the cylinder type to generate a cylinder for the stock size.
Created in NX6.0.0.
License requirements : None
enumCylinderType | enumcylindertype |
void NXOpen::Tooling::StockSizeBuilder::SetRefCsys | ( | NXOpen::CoordinateSystem * | refCsys | ) |
Sets the reference csys to calculate stocksize.
Created in NX8.0.0.
License requirements : None
refCsys | refcsys |
void NXOpen::Tooling::StockSizeBuilder::SetSizePrecision | ( | int | integerPrecision | ) |
Sets the size precision of the stock.
Created in NX6.0.0.
License requirements : None
integerPrecision | integerprecision |
void NXOpen::Tooling::StockSizeBuilder::SetStockType | ( | NXOpen::Tooling::StockSizeBuilder::Shape | enumStockType | ) |
Sets the stock shape to be generated, it can be a box or cylinder.
Created in NX6.0.0.
License requirements : None
enumStockType | enumstocktype |
void NXOpen::Tooling::StockSizeBuilder::SetStringStock | ( | const NXString & | stringStock | ) |
Sets the stock size string, it is seperated by " X ".
Created in NX6.0.0.
License requirements : None
stringStock | stringstock |
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