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

Represents a NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder builder. More...

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

Public Types

enum  Types {
  TypesSphere, TypesCylinder, TypesBlock, TypesCircle,
  TypesRectangle, TypesTorus
}
 Type of primitive. More...
 

Public Member Functions

int CircularSegments ()
 Returns the number of segments in circular sectional direction of torus. 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...
 
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 of torus. More...
 
void SetCircularSegments (int numSegments)
 Sets the number of segments in circular sectional direction of torus. More...
 
void SetOrigin (NXOpen::Point *origin)
 Sets the origin. More...
 
void SetRadialSegments (int numSegments)
 Sets the number of segments in radial direction of torus. More...
 
void SetType (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types type)
 Sets the type. More...
 
NXOpen::ExpressionSize ()
 Returns the size. More...
 
NXOpen::GeometricUtilities::TransformerDataTransformer ()
 Returns the transformation tool. More...
 
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::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...
 
- 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 NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder builder.


To create a new instance of this class, use NXOpen::Features::Subdivision::SubdivisionBodyCollection::CreateSubdivisionPrimitiveShapeBuilder
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)

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)


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

Member Enumeration Documentation

Type of primitive.

Enumerator
TypesSphere 

sphere

TypesCylinder 

cylinder

TypesBlock 

block

TypesCircle 

circle

TypesRectangle 

rectangle

TypesTorus 

torus

Member Function Documentation

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

Returns the number of segments in circular sectional direction of torus.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : None

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

Returns the height.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Returns the height in z direction.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Returns the inner size of torus.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : None

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

Returns the length in x direction.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Returns the origin.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Returns the outer size of torus.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : None

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

Returns the number of segments in radial direction of torus.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : None

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

Sets the number of segments in circular sectional direction of torus.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

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

Sets the origin.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

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

Sets the number of segments in radial direction of torus.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
numSegmentsnumsegments
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::SetType ( NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types  type)

Sets the type.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

Parameters
typetype
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Size ( )

Returns the size.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Returns the transformation tool.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX10.0.0.

License requirements : None

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

Returns the type.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Updates the mesh data after changes in the origin.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.0.0.

License requirements : None

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

Returns the width in y direction.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx instead.


Created in NX9.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.