NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Tooling.StockSizeBuilder Class Reference

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

Inheritance diagram for NXOpen.Tooling.StockSizeBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  Cylinder { Circumscribed, InscribedCircle }
 Represents the base circle type of cylinder. More...
 
enum  RefCsysType { Wcs, AbsoluteDisplayedPart, SelectedCSYS }
 Represents the reference CSYS type. More...
 
enum  Shape { Block, Cylinder }
 Represents the shape of stock size. More...
 
enum  Types { Block, Cylinder }
 Represents the shape of stock size. More...
 

Public Member Functions

unsafe void CalculateBoxSize (out NXOpen.Point3d minPoint, out double[] edgeLength, out NXOpen.Matrix3x3 cysMatrix)
 Calculate box size and get directions, edge length, lower point position. More...
 
unsafe void ConvertStockDataToBuilder (NXOpen.NXObject stock)
 Convert stock size object data to builder. More...
 
unsafe void CreateRefCsys (NXOpen.Point3d inputOrigin, NXOpen.Matrix3x3 inputMatrix)
 Creates the reference csys for stock size. More...
 
unsafe void EditStockSizeAttr (NXOpen.NXObject workPart)
 Add or edit stock size attributes. More...
 
unsafe void ModifyRefCsys (NXOpen.Point3d inputOrigin, NXOpen.Matrix3x3 inputMatrix)
 Modifies the reference csys for stock size. More...
 
unsafe void SetFitFaceStatus (bool fitFace)
 Find out those extreme planar faces, and set fitting face status in all directions. More...
 
unsafe void SetManipulatorOrientation (NXOpen.Matrix3x3 cysMatrix)
 Set the orientation of the current bounded box. More...
 
unsafe void SetStockSizeObject (NXOpen.NXObject stock)
 Set stock size object. More...
 
unsafe void UpdateBlankSizeString ()
 Update blank size. More...
 
unsafe void UpdateStockSizeString ()
 Update stock size. More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe bool Associative [get, set]
 Returns or sets the association of stock size object More...
 
unsafe NXOpen.Direction AxisVector [get, set]
 Returns or sets the cylinder axis vector to calculate cylinder stock szie More...
 
unsafe double BlankPrecisionValue [get, set]
 Returns or sets the blank size precision string. More...
 
unsafe string BlankSize [get, set]
 Returns or sets the blank size string, it is separated by " X ". More...
 
unsafe NXOpen.Expression Clearance [get]
 Returns the clearance of the stocksize. More...
 
unsafe string ConnectionString [get, set]
 Returns or sets the connection string More...
 
unsafe
NXOpen.Tooling.StockSizeBuilder.Cylinder 
CylinderType [get, set]
 Returns or sets the cylinder type to generate a cylinder for the stock size. More...
 
unsafe bool InputSymmetricValue [get, set]
 Returns or sets the value to determine whether can input symmetric tolerance value or not More...
 
unsafe bool IsClearanceAutoSet [get, set]
 Returns or sets the is clearance auto set More...
 
unsafe double OffsetNegativeX [get, set]
 Returns or sets the clearance value for the blank in -X direction. More...
 
unsafe double OffsetNegativeY [get, set]
 Returns or sets the clearance value for the blank in -Y direction. More...
 
unsafe double OffsetNegativeZ [get, set]
 Returns or sets the clearance value for the blank in -Z direction. More...
 
unsafe double OffsetPositiveX [get, set]
 Returns or sets the clearance value for the blank in +X direction. More...
 
unsafe double OffsetPositiveY [get, set]
 Returns or sets the clearance value for the blank in +Y direction. More...
 
unsafe double OffsetPositiveZ [get, set]
 Returns or sets the clearance value for the blank in +Z direction. More...
 
unsafe double RadialOffset [get, set]
 Returns or sets the clearance value for the cylinder blank in radial direction. More...
 
unsafe NXOpen.CoordinateSystem RefCsys [get, set]
 Returns or sets the reference csys to calculate stocksize. More...
 
unsafe
NXOpen.SelectCoordinateSystem 
RefCsysSelection [get]
 Returns the reference csys to calculate stocksize. More...
 
unsafe
NXOpen.Tooling.StockSizeBuilder.RefCsysType 
ReferenceCsysType [get, set]
 Returns or sets the reference csys type More...
 
unsafe NXOpen.SelectBodyList SelectBody [get]
 Returns the selected body to calculate a bounding box for stock size. More...
 
unsafe bool ShowDiameterSymbol [get, set]
 Returns or sets the attribute which determines whether the diameter symbol is shown or not when stock type is cylinder More...
 
unsafe int SizePrecision [get, set]
 Returns or sets the size precision of the stock. More...
 
unsafe
NXOpen.Tooling.StockSizeBuilder.Shape 
StockType [get, set]
 Returns or sets the stock shape to be generated, it can be a box or cylinder. More...
 
unsafe string StringStock [get, set]
 Returns or sets the stock size string, it is separated by " X ". More...
 
unsafe
NXOpen.Tooling.StockSizeBuilder.Types 
Type [get, set]
 Returns or sets the stock shape to be generated, it can be a block or cylinder. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a Tooling::StockSizeBuilder builder.

To create a new instance of this class, use NXOpen.Tooling.StockSizeCollection.CreateStocksizeBuilder

Default values.

Property Value

Associative

1

Clearance.Value

3.0 (millimeters part), 0.125 (inches part)

InputSymmetricValue

0

IsClearanceAutoSet

0

ReferenceCsysType

Wcs

ShowDiameterSymbol

1

SizePrecision

3

Created in NX6.0.0

Member Enumeration Documentation

Represents the base circle type of cylinder.

Enumerator
Circumscribed 

circumcircle based cylinder

InscribedCircle 

inscribed circle based cylinder

Represents the reference CSYS type.

Enumerator
Wcs 

reference WCS

AbsoluteDisplayedPart 

reference ABS in displayed part

SelectedCSYS 

reference the selected csys

Represents the shape of stock size.

This is to be obsoleted.

Enumerator
Block 

The shape is a block

Cylinder 

The shape is a cylinder

Represents the shape of stock size.

Enumerator
Block 

The shape is a block

Cylinder 

The shape is a cylinder

Member Function Documentation

unsafe void NXOpen.Tooling.StockSizeBuilder.CalculateBoxSize ( out NXOpen.Point3d  minPoint,
out double[]  edgeLength,
out NXOpen.Matrix3x3  cysMatrix 
)
inline

Calculate box size and get directions, edge length, lower point position.

Created in NX10.0.0

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters
minPoint
edgeLength
cysMatrix
unsafe void NXOpen.Tooling.StockSizeBuilder.ConvertStockDataToBuilder ( NXOpen.NXObject  stock)
inline

Convert stock size object data to builder.

Created in NX11.0.1

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters
stock
unsafe void NXOpen.Tooling.StockSizeBuilder.CreateRefCsys ( NXOpen.Point3d  inputOrigin,
NXOpen.Matrix3x3  inputMatrix 
)
inline

Creates the reference csys for stock size.

Created in NX8.0.0

License requirements: None.

Parameters
inputOrigin
inputMatrix
unsafe void NXOpen.Tooling.StockSizeBuilder.EditStockSizeAttr ( NXOpen.NXObject  workPart)
inline

Add or edit stock size attributes.

Created in NX8.0.0

License requirements: None.

Parameters
workPart
unsafe void NXOpen.Tooling.StockSizeBuilder.ModifyRefCsys ( NXOpen.Point3d  inputOrigin,
NXOpen.Matrix3x3  inputMatrix 
)
inline

Modifies the reference csys for stock size.

Created in NX8.0.0

License requirements: None.

Parameters
inputOrigin
inputMatrix
unsafe void NXOpen.Tooling.StockSizeBuilder.SetFitFaceStatus ( bool  fitFace)
inline

Find out those extreme planar faces, and set fitting face status in all directions.

Created in NX10.0.0

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters
fitFace
unsafe void NXOpen.Tooling.StockSizeBuilder.SetManipulatorOrientation ( NXOpen.Matrix3x3  cysMatrix)
inline

Set the orientation of the current bounded box.

Created in NX10.0.0

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters
cysMatrix
unsafe void NXOpen.Tooling.StockSizeBuilder.SetStockSizeObject ( NXOpen.NXObject  stock)
inline

Set stock size object.

Created in NX11.0.1

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters
stock
unsafe void NXOpen.Tooling.StockSizeBuilder.UpdateBlankSizeString ( )
inline

Update blank size.

Created in NX10.0.0

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe void NXOpen.Tooling.StockSizeBuilder.UpdateStockSizeString ( )
inline

Update stock size.

Created in NX10.0.0

License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Property Documentation

unsafe bool NXOpen.Tooling.StockSizeBuilder.Associative
getset

Returns or sets the association of stock size object

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe NXOpen.Direction NXOpen.Tooling.StockSizeBuilder.AxisVector
getset

Returns or sets the cylinder axis vector to calculate cylinder stock szie

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.BlankPrecisionValue
getset

Returns or sets the blank size precision string.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe string NXOpen.Tooling.StockSizeBuilder.BlankSize
getset

Returns or sets the blank size string, it is separated by " X ".

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe NXOpen.Expression NXOpen.Tooling.StockSizeBuilder.Clearance
get

Returns the clearance of the stocksize.

Created in NX8.0.0

License requirements: None.

unsafe string NXOpen.Tooling.StockSizeBuilder.ConnectionString
getset

Returns or sets the connection string

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe NXOpen.Tooling.StockSizeBuilder.Cylinder NXOpen.Tooling.StockSizeBuilder.CylinderType
getset

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

Created in NX6.0.0

Deprecated in NX10.0.0. This functionality is no longer supported.

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Tooling.StockSizeBuilder.InputSymmetricValue
getset

Returns or sets the value to determine whether can input symmetric tolerance value or not

Created in NX1872.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe bool NXOpen.Tooling.StockSizeBuilder.IsClearanceAutoSet
getset

Returns or sets the is clearance auto set

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.OffsetNegativeX
getset

Returns or sets the clearance value for the blank in -X direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.OffsetNegativeY
getset

Returns or sets the clearance value for the blank in -Y direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.OffsetNegativeZ
getset

Returns or sets the clearance value for the blank in -Z direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.OffsetPositiveX
getset

Returns or sets the clearance value for the blank in +X direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.OffsetPositiveY
getset

Returns or sets the clearance value for the blank in +Y direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.OffsetPositiveZ
getset

Returns or sets the clearance value for the blank in +Z direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe double NXOpen.Tooling.StockSizeBuilder.RadialOffset
getset

Returns or sets the clearance value for the cylinder blank in radial direction.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe NXOpen.CoordinateSystem NXOpen.Tooling.StockSizeBuilder.RefCsys
getset

Returns or sets the reference csys to calculate stocksize.

Created in NX8.0.0

Deprecated in NX10.0.0. This functionality is no longer supported.

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectCoordinateSystem NXOpen.Tooling.StockSizeBuilder.RefCsysSelection
get

Returns the reference csys to calculate stocksize.

Created in NX10.0.0

License requirements: None.

unsafe NXOpen.Tooling.StockSizeBuilder.RefCsysType NXOpen.Tooling.StockSizeBuilder.ReferenceCsysType
getset

Returns or sets the reference csys type

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe NXOpen.SelectBodyList NXOpen.Tooling.StockSizeBuilder.SelectBody
get

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

Created in NX6.0.0

License requirements: None.

unsafe bool NXOpen.Tooling.StockSizeBuilder.ShowDiameterSymbol
getset

Returns or sets the attribute which determines whether the diameter symbol is shown or not when stock type is cylinder

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

unsafe int NXOpen.Tooling.StockSizeBuilder.SizePrecision
getset

Returns or sets the size precision of the stock.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Tooling.StockSizeBuilder.Shape NXOpen.Tooling.StockSizeBuilder.StockType
getset

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

Created in NX6.0.0

Deprecated in NX10.0.0. This functionality is no longer supported.

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.Tooling.StockSizeBuilder.StringStock
getset

Returns or sets the stock size string, it is separated by " X ".

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Tooling.StockSizeBuilder.Types NXOpen.Tooling.StockSizeBuilder.Type
getset

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

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")


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