NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Features::TrimBodyBuilder Class Reference

Represents the trim body feature builder. More...

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

List of all members.

Public Types

enum  DirectionType { DirectionTypePositiveNormal = 1, DirectionTypeNegativeNormal = -1, DirectionTypeInvalid }
 Represents the trim direction. More...

Public Member Functions

void AddTarget (NXOpen::Body *target)
 Adds a target body during create.
std::vector< NXOpen::Body * > GetTargets ()
 Returns the target bodies of the trim body operation.
void RemoveTarget (NXOpen::Body *target)
 Removes a target body is removed from trim body in create.
void Reverse ()
 Reverse the trim direction of trim body feature.
void SetTargets (const std::vector< NXOpen::Body * > &target)
 Sets the targets for a trim body opearation.
void SetTool (NXOpen::NXObject *tool)
 Sets the tool of the trim body feature.
void SetTrimDirection (NXOpen::Features::TrimBodyBuilder::DirectionType direction)
 Sets the trim direction of the trim body feature
Created in NX4.0.0.
NXOpen::NXObjectTool ()
 Returns the tool of the trim body feature.
NXOpen::Features::TrimBodyBuilder::DirectionType TrimDirection ()
 Returns the trim direction of the trim body feature
Created in NX4.0.0.

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 Features::TrimBody2Builder to create and edit trim body features.
To create a new instance of this class, use Features::FeatureCollection::CreateTrimBodyBuilder

Created in NX4.0.0.


Member Enumeration Documentation

Represents the trim direction.

Enumerator:
DirectionTypeInvalid 

invalid


Member Function Documentation

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

Returns the target bodies of the trim body operation.

Returns:
Target bodies
Created in NX4.0.0.

License requirements : None

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

Reverse the trim direction of trim body feature.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

void NXOpen::Features::TrimBodyBuilder::SetTargets ( const std::vector< 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

Sets the tool of the trim body feature.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
toolSet trim body tool

Sets the trim direction of the trim body feature
Created in NX4.0.0.



License requirements : None

Parameters:
directionSet trim direction

Returns the tool of the trim body feature.


Created in NX4.0.0.

License requirements : None

Returns the trim direction of the trim body feature
Created in NX4.0.0.



License requirements : None


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