NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Features.TrimBodyBuilder Class Reference

Represents the trim body feature builder. More...

Inheritance diagram for NXOpen.Features.TrimBodyBuilder:
NXOpen.Features.FeatureBuilder NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  DirectionType { PositiveNormal = 1, NegativeNormal = -1, Invalid }
 Represents the trim direction More...
 

Public Member Functions

unsafe NXOpen.Body[] GetTargets ()
 Returns the target bodies of the trim body operation. More...
 
unsafe void SetTargets (NXOpen.Body[] target)
 Sets the targets for a trim body opearation. More...
 
unsafe void AddTarget (NXOpen.Body target)
 Adds a target body during create. More...
 
unsafe void RemoveTarget (NXOpen.Body target)
 Removes a target body is removed from trim body in create. More...
 
unsafe void Reverse ()
 Reverse the trim direction of trim body feature More...
 
- Public Member Functions inherited from NXOpen.Features.FeatureBuilder
unsafe NXOpen.Features.Feature CommitFeature ()
 Commits the feature parameters and creates the feature More...
 
unsafe NXOpen.Features.Feature GetFeature ()
 Returns the feature currently being edited by this builder. More...
 
unsafe void SetParentFeatureInternal (NXOpen.Features.Feature parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited More...
 
unsafe void UnsetParentFeatureInternal (NXOpen.Features.Feature parentFeature)
 Set the internal parent feature of the feature being edited to external More...
 
unsafe void ShowInternalParentFeatureForEdit (NXOpen.Features.Feature parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
unsafe void HideInternalParentFeatureAfterEdit (NXOpen.Features.Feature parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. 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 NXOpen.NXObject Tool [get, set]
 Returns or sets the tool of the trim body feature More...
 
unsafe
NXOpen.Features.TrimBodyBuilder.DirectionType 
TrimDirection [get, set]
 Returns or sets the trim direction of the trim body feature More...
 
- Properties inherited from NXOpen.Features.FeatureBuilder
unsafe bool ParentFeatureInternal [get, set]
 Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal More...
 
unsafe bool PatchSolutionFlag [get, set]
 Returns or sets the patch solution flag More...
 
unsafe string PatchSurfaceFilename [get, set]
 Returns or sets the patch surface filename More...
 
unsafe string SurroundingPatchSurfaceFilename [get, set]
 Returns or sets the surrounding patch surface filename More...
 

Detailed Description

Represents the trim body feature builder.

This class is to be used only for editing pre-NX7.5.0 trim body features. Use NXOpen.Features.TrimBody2Builder to create and edit trim body features.

To create a new instance of this class, use NXOpen.Features.FeatureCollection.CreateTrimBodyBuilder

Created in NX4.0.0

Member Enumeration Documentation

Represents the trim direction

Enumerator
PositiveNormal 
NegativeNormal 
Invalid 

Member Function Documentation

unsafe void NXOpen.Features.TrimBodyBuilder.AddTarget ( NXOpen.Body  target)

Adds a target body during create.

A new target will be added to the * trim body operation. During edit, an exception will be thrown as * the target can not be modified during edit.

Created in NX4.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
targetBody to add
unsafe NXOpen.Body [] NXOpen.Features.TrimBodyBuilder.GetTargets ( )

Returns the target bodies of the trim body operation.

Created in NX4.0.0

License requirements: None.

Returns
Target bodies
unsafe void NXOpen.Features.TrimBodyBuilder.RemoveTarget ( NXOpen.Body  target)

Removes a target body is removed from trim body in create.

* During edit, an exception will be thrown as * target body can not be changed during edit.

Created in NX4.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
targetBody to remove
unsafe void NXOpen.Features.TrimBodyBuilder.Reverse ( )

Reverse the trim direction of trim body feature

Created in NX4.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

unsafe void NXOpen.Features.TrimBodyBuilder.SetTargets ( NXOpen.Body[]  target)

Sets the targets for a trim body opearation.

Any existing targets will * be erased. For create multiple target bodies can be set. * This method will throw an exception during edit operation as the bodies * can not be changed at that point.

Created in NX4.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
targettarget bodies

Property Documentation

unsafe NXOpen.NXObject NXOpen.Features.TrimBodyBuilder.Tool
getset

Returns or sets the tool of the trim body feature

Created in NX4.0.0

License requirements to get this property: None.

License requirements to set this property: solid_modeling ("SOLIDS MODELING")

unsafe NXOpen.Features.TrimBodyBuilder.DirectionType NXOpen.Features.TrimBodyBuilder.TrimDirection
getset

Returns or sets the trim direction of the trim body feature

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