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

Represents a 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
}
 Type of primitive. More...
 

Public Member Functions

NXOpen::ExpressionHeight ()
 Returns the height.
 
NXOpen::ExpressionHeightZ ()
 Returns the height in z direction.
 
NXOpen::ExpressionLengthX ()
 Returns the length in x direction.
 
NXOpen::PointOrigin ()
 Returns the origin.
 
void SetOrigin (NXOpen::Point *origin)
 Sets the origin.
 
void SetType (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types type)
 Sets the type.
 
NXOpen::ExpressionSize ()
 Returns the size.
 
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types Type ()
 Returns the type.
 
void UpdateMesh ()
 Updates the mesh data after changes in the origin.
 
NXOpen::ExpressionWidthY ()
 Returns the width in y direction.
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder.
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder.
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit.
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder.
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results.
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t GetTag () const
 
<b>Deprecated</b>:<br>

   Use Tag instead.

 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

Represents a Features::Subdivision::SubdivisionPrimitiveShapeBuilder builder.


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

Property Value

Height.Value

100 (millimeters part), 4 (inches part)

HeightZ.Value

100 (millimeters part), 4 (inches part)

LengthX.Value

100 (millimeters part), 4 (inches part)

Size.Value

100 (millimeters part), 4 (inches part)

WidthY.Value

100 (millimeters part), 4 (inches part)


Created in NX9.0.0.

Member Enumeration Documentation

Type of primitive.

Enumerator:
TypesSphere 

sphere

TypesCylinder 

cylinder

TypesBlock 

block

TypesCircle 

circle

TypesRectangle 

rectangle

Member Function Documentation

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

Returns the height.


Created in NX9.0.0.

License requirements : None

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

Returns the height in z direction.


Created in NX9.0.0.

License requirements : None

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

Returns the length in x direction.


Created in NX9.0.0.

License requirements : None

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

Returns the origin.


Created in NX9.0.0.

License requirements : None

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

Sets the origin.


Created in NX9.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

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

Sets the type.


Created in NX9.0.0.

License requirements : nx_subdivision (" NX SUBDIVISION")

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

Returns the size.


Created in NX9.0.0.

License requirements : None

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

Returns the type.


Created in NX9.0.0.

License requirements : None

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

Updates the mesh data after changes in the origin.


Created in NX9.0.0.

License requirements : None

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

Returns the width in y direction.


Created in NX9.0.0.

License requirements : None


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