NXOpen .NET Reference  12.0.0
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.GeometricUtilities.IComponentBuilder

Public Types

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

Public Member Functions

unsafe void AddToolComponent (NXOpen.NXObject component)
 Adds tool component. More...
 
unsafe void DeletePocket (NXOpen.NXObject component)
 Deletes pocket. More...
 
unsafe void BreakLink (NXOpen.NXObject component)
 Breaks link. More...
 
unsafe void CreatePocket (NXOpen.NXObject component)
 Creates pocket. More...
 
unsafe void RemoveToolComponent (NXOpen.NXObject component)
 Removes tool component. More...
 
unsafe void SetHoleType (NXOpen.NXObject component, NXOpen.Tooling.ReusablePocketBuilder.Hole holeType)
 Sets hole type. More...
 
unsafe void AddTargetBody (NXOpen.NXObject component, NXOpen.NXObject targetBody)
 Adds target body. More...
 
unsafe void RemoveTargetBody (NXOpen.NXObject component, NXOpen.NXObject targetBody)
 Removes target body. More...
 
unsafe void SetStandard (NXOpen.NXObject component, string standard)
 Sets standard for hole series. More...
 
unsafe void SetForm (NXOpen.NXObject component, string form)
 Sets form for hole series. More...
 
unsafe void SetScrewType (NXOpen.NXObject component, string screwType)
 Sets screw type for hole series. More...
 
unsafe void SetFit (NXOpen.NXObject component, string fit)
 Sets fit for hole series. More...
 
unsafe void SetReference (NXOpen.NXObject component, string reference)
 Sets reference set. 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 VerifyHoleSeries (NXOpen.NXObject component)
 Verifies hole series parameters. More...
 
unsafe void RecreateHoleSeries (NXOpen.NXObject component, NXOpen.NXObject feature)
 Recreates hole series if hole feature is updated. 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...
 

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...
 

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 
)

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)

Adds tool component.

Created in NX7.5.0

License requirements: None.

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

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)

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)

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 
)

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 
)

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)

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 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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)

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.