NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx Class Reference

Represents a Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx builder. More...

Inheritance diagram for NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  SphereSubdivisionLevel { SphereSubdivisionLevelBase, SphereSubdivisionLevelFirst, SphereSubdivisionLevelSecond }
 Level of subdivisions of cubical cage to construct spherical primitive. More...
 
enum  Types {
  TypesSphere, TypesCylinder, TypesBlock, TypesCircle,
  TypesRectangle, TypesTorus
}
 Type of primitive. More...
 

Public Member Functions

int CircularSegments ()
 Returns the number of segments in circular direction. More...
 
NXOpen::ExpressionHeight ()
 Returns the height. More...
 
NXOpen::ExpressionHeightZ ()
 Returns the height in Z direction. More...
 
NXOpen::ExpressionInnerSize ()
 Returns the inner size of torus. More...
 
NXOpen::ExpressionLengthX ()
 Returns the length in X direction. More...
 
int LinearSegments ()
 Returns the number of segments in linear direction. More...
 
NXOpen::PointOrigin ()
 Returns the origin. More...
 
NXOpen::ExpressionOuterSize ()
 Returns the outer size of torus. More...
 
int RadialSegments ()
 Returns the number of segments in radial direction. More...
 
void SetCircularSegments (int numSegments)
 Sets the number of segments in circular direction. More...
 
void SetLinearSegments (int numSegments)
 Sets the number of segments in linear direction. More...
 
void SetOrigin (NXOpen::Point *origin)
 Sets the origin. More...
 
void SetRadialSegments (int numSegments)
 Sets the number of segments in radial direction. More...
 
void SetSphereSubdivisionLevelOption (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel level)
 Sets the subdivision level. More...
 
void SetType (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types type)
 Sets the type. More...
 
void SetXSegments (int numSegments)
 Sets the number of segments in X direction. More...
 
void SetYSegments (int numSegments)
 Sets the number of segments in Y direction. More...
 
void SetZSegments (int numSegments)
 Sets the number of segments in Z direction. More...
 
NXOpen::ExpressionSize ()
 Returns the size. More...
 
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel SphereSubdivisionLevelOption ()
 Returns the subdivision level. More...
 
NXOpen::GeometricUtilities::TransformerDataTransformer ()
 Returns the transformation tool. More...
 
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types Type ()
 Returns the type. More...
 
void UpdateMesh ()
 Updates the mesh data after changes in the origin. More...
 
NXOpen::ExpressionWidthY ()
 Returns the width in Y direction. More...
 
int XSegments ()
 Returns the number of segments in X direction. More...
 
int YSegments ()
 Returns the number of segments in Y direction. More...
 
int ZSegments ()
 Returns the number of segments in Z direction. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx builder.


To create a new instance of this class, use NXOpen::Features::Subdivision::SubdivisionBodyCollection::CreateSubdivisionPrimitiveShapeBuilderEx
Default values.

Property Value

CircularSegments

4

Height.Value

100 (millimeters part), 4 (inches part)

HeightZ.Value

100 (millimeters part), 4 (inches part)

InnerSize.Value

50 (millimeters part), 2 (inches part)

LengthX.Value

100 (millimeters part), 4 (inches part)

LinearSegments

1

OuterSize.Value

100 (millimeters part), 4 (inches part)

RadialSegments

8

Size.Value

100 (millimeters part), 4 (inches part)

WidthY.Value

100 (millimeters part), 4 (inches part)

XSegments

1

YSegments

1

ZSegments

1


Created in NX11.0.0.

Member Enumeration Documentation

Level of subdivisions of cubical cage to construct spherical primitive.

Enumerator
SphereSubdivisionLevelBase 

base

SphereSubdivisionLevelFirst 

first

SphereSubdivisionLevelSecond 

second

Type of primitive.

Enumerator
TypesSphere 

sphere

TypesCylinder 

cylinder

TypesBlock 

block

TypesCircle 

circle

TypesRectangle 

rectangle

TypesTorus 

torus

Member Function Documentation

int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::CircularSegments ( )

Returns the number of segments in circular direction.


Created in NX11.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Height ( )

Returns the height.


Created in NX11.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::HeightZ ( )

Returns the height in Z direction.


Created in NX11.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::InnerSize ( )

Returns the inner size of torus.


Created in NX11.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::LengthX ( )

Returns the length in X direction.


Created in NX11.0.0.

License requirements : None

int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::LinearSegments ( )

Returns the number of segments in linear direction.


Created in NX11.0.0.

License requirements : None

NXOpen::Point* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Origin ( )

Returns the origin.


Created in NX11.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::OuterSize ( )

Returns the outer size of torus.


Created in NX11.0.0.

License requirements : None

int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::RadialSegments ( )

Returns the number of segments in radial direction.


Created in NX11.0.0.

License requirements : None

void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetCircularSegments ( int  numSegments)

Sets the number of segments in circular direction.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetLinearSegments ( int  numSegments)

Sets the number of segments in linear direction.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetOrigin ( NXOpen::Point origin)

Sets the origin.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
originorigin
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetRadialSegments ( int  numSegments)

Sets the number of segments in radial direction.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetSphereSubdivisionLevelOption ( NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel  level)

Sets the subdivision level.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
levellevel
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetType ( NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types  type)

Sets the type.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
typetype
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetXSegments ( int  numSegments)

Sets the number of segments in X direction.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetYSegments ( int  numSegments)

Sets the number of segments in Y direction.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetZSegments ( int  numSegments)

Sets the number of segments in Z direction.


Created in NX11.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Size ( )

Returns the size.


Created in NX11.0.0.

License requirements : None

NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevelOption ( )

Returns the subdivision level.


Created in NX11.0.0.

License requirements : None

NXOpen::GeometricUtilities::TransformerData* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Transformer ( )

Returns the transformation tool.


Created in NX11.0.0.

License requirements : None

NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Type ( )

Returns the type.


Created in NX11.0.0.

License requirements : None

void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::UpdateMesh ( )

Updates the mesh data after changes in the origin.


Created in NX11.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::WidthY ( )

Returns the width in Y direction.


Created in NX11.0.0.

License requirements : None

int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::XSegments ( )

Returns the number of segments in X direction.


Created in NX11.0.0.

License requirements : None

int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::YSegments ( )

Returns the number of segments in Y direction.


Created in NX11.0.0.

License requirements : None

int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::ZSegments ( )

Returns the number of segments in Z direction.


Created in NX11.0.0.

License requirements : None


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