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.ReusablePocketBuilder Class Reference

Reusable pocket builder. More...

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

Public Types

enum  Hole { Series, Subtract, None }
 Represents hole types. More...
 

Public Member Functions

unsafe void AddTargetBody (NXOpen.NXObject component, NXOpen.NXObject targetBody)
 Adds target body. More...
 
unsafe void AddToolComponent (NXOpen.NXObject component)
 Adds tool component. More...
 
unsafe void BreakLink (NXOpen.NXObject component)
 Breaks link. More...
 
unsafe void CreatePocket (NXOpen.NXObject component)
 Creates pocket. More...
 
unsafe void DeletePocket (NXOpen.NXObject component)
 Deletes pocket. More...
 
unsafe void RecreateHoleSeries (NXOpen.NXObject component, NXOpen.NXObject feature)
 Recreates hole series if hole feature is updated. More...
 
unsafe void RemoveTargetBody (NXOpen.NXObject component, NXOpen.NXObject targetBody)
 Removes target body. More...
 
unsafe void RemoveToolComponent (NXOpen.NXObject component)
 Removes tool component. More...
 
unsafe void SetCounterboreDiameter (NXOpen.NXObject component, double counterboreDiameter)
 Sets counterbore diameter for hole series. More...
 
unsafe void SetCountersunkDiameter (NXOpen.NXObject component, double countersunkDiameter)
 Sets countersunk diameter for hole series. More...
 
unsafe void SetDiameter (NXOpen.NXObject component, double diameter)
 Sets diameter for hole series. More...
 
unsafe void SetFit (NXOpen.NXObject component, string fit)
 Sets fit for hole series. More...
 
unsafe void SetForm (NXOpen.NXObject component, string form)
 Sets form for hole series. More...
 
unsafe void SetHoleType (NXOpen.NXObject component, NXOpen.Tooling.ReusablePocketBuilder.Hole holeType)
 Sets hole type. More...
 
unsafe void SetReference (NXOpen.NXObject component, string reference)
 Sets reference set. More...
 
unsafe void SetScrewType (NXOpen.NXObject component, string screwType)
 Sets screw type for hole series. More...
 
unsafe void SetStandard (NXOpen.NXObject component, string standard)
 Sets standard for hole series. More...
 
unsafe void VerifyHoleSeries (NXOpen.NXObject component)
 Verifies hole series parameters. 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 AutoTarget [get, set]
 Returns or sets the flag specifying whether target is fetched automatically. More...
 
unsafe bool ThreadHole [get, set]
 Returns or sets the flag specifying whether thread hole is used. 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

Reusable pocket builder.

To create a new instance of this class, use NXOpen.Tooling.ReusablePocketCollection.CreateReusablePocketBuilder

Default values.

Property Value

AutoTarget

true

ThreadHole

false

Created in NX7.5.0

Member Enumeration Documentation

Represents hole types.

Enumerator
Series 

Pocket with hole series

Subtract 

Subtract pocket

None 

None

Member Function Documentation

unsafe void NXOpen.Tooling.ReusablePocketBuilder.AddTargetBody ( NXOpen.NXObject  component,
NXOpen.NXObject  targetBody 
)
inline

Adds target body.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which target body is added
targetBodyTarget body
unsafe void NXOpen.Tooling.ReusablePocketBuilder.AddToolComponent ( NXOpen.NXObject  component)
inline

Adds tool component.

Created in NX7.5.0

License requirements: None.

Parameters
componentTool component
unsafe void NXOpen.Tooling.ReusablePocketBuilder.BreakLink ( NXOpen.NXObject  component)
inline

Breaks link.

Created in NX8.0.0

License requirements: None.

Parameters
componentComponent to which link is broke
unsafe void NXOpen.Tooling.ReusablePocketBuilder.CreatePocket ( NXOpen.NXObject  component)
inline

Creates pocket.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which pocket is created
unsafe void NXOpen.Tooling.ReusablePocketBuilder.DeletePocket ( NXOpen.NXObject  component)
inline

Deletes pocket.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which pocket is deleted
unsafe void NXOpen.Tooling.ReusablePocketBuilder.RecreateHoleSeries ( NXOpen.NXObject  component,
NXOpen.NXObject  feature 
)
inline

Recreates hole series if hole feature is updated.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to recreate hole series
featureFeature to be recreated
unsafe void NXOpen.Tooling.ReusablePocketBuilder.RemoveTargetBody ( NXOpen.NXObject  component,
NXOpen.NXObject  targetBody 
)
inline

Removes target body.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which target body is removed
targetBodyTarget body
unsafe void NXOpen.Tooling.ReusablePocketBuilder.RemoveToolComponent ( NXOpen.NXObject  component)
inline

Removes tool component.

Created in NX7.5.0

License requirements: None.

Parameters
componentTool component to remove
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetCounterboreDiameter ( NXOpen.NXObject  component,
double  counterboreDiameter 
)
inline

Sets counterbore diameter for hole series.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which counterbore diameter is set
counterboreDiameterC-Bore diameter for hole series
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetCountersunkDiameter ( NXOpen.NXObject  component,
double  countersunkDiameter 
)
inline

Sets countersunk diameter for hole series.

Created in NX8.0.0

License requirements: None.

Parameters
componentComponent to which countersunk diameter is set
countersunkDiameterC-Sink diameter for hole series
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetDiameter ( NXOpen.NXObject  component,
double  diameter 
)
inline

Sets diameter for hole series.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which diameter is set
diameterDiameter for hole series
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetFit ( NXOpen.NXObject  component,
string  fit 
)
inline

Sets fit for hole series.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which fit is set
fitHole series fit
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetForm ( NXOpen.NXObject  component,
string  form 
)
inline

Sets form for hole series.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which form is set
formHole series form
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetHoleType ( NXOpen.NXObject  component,
NXOpen.Tooling.ReusablePocketBuilder.Hole  holeType 
)
inline

Sets hole type.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which hole type is set
holeTypeHole type
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetReference ( NXOpen.NXObject  component,
string  reference 
)
inline

Sets reference set.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which reference is set
referenceReference set with cut body
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetScrewType ( NXOpen.NXObject  component,
string  screwType 
)
inline

Sets screw type for hole series.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which screw type is set
screwTypeHole series screw type
unsafe void NXOpen.Tooling.ReusablePocketBuilder.SetStandard ( NXOpen.NXObject  component,
string  standard 
)
inline

Sets standard for hole series.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to which standard is set
standardHole series standard
unsafe void NXOpen.Tooling.ReusablePocketBuilder.VerifyHoleSeries ( NXOpen.NXObject  component)
inline

Verifies hole series parameters.

Created in NX7.5.0

License requirements: None.

Parameters
componentComponent to verify hole series parameters

Property Documentation

unsafe bool NXOpen.Tooling.ReusablePocketBuilder.AutoTarget
getset

Returns or sets the flag specifying whether target is fetched automatically.

If true, the target is fetched automatically, else, the target is fetched manually.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Tooling.ReusablePocketBuilder.ThreadHole
getset

Returns or sets the flag specifying whether thread hole is used.

If true, thread hole is used, else, screw clearance hole is used.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.


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