NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Mechatronics::CollisionBodyBuilder Class Reference

Represents a Mechatronics::CollisionBodyBuilder . More...

Inheritance diagram for NXOpen::Mechatronics::CollisionBodyBuilder:
NXOpen::Mechatronics::CollisionShapeBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  CollisionShapeTypes { CollisionShapeTypesBox, CollisionShapeTypesSphere, CollisionShapeTypesCapsule, CollisionShapeTypesConvex }
 the collide shape types. More...
enum  ShapePropertyTypes { ShapePropertyTypesAutomatic, ShapePropertyTypesUserDefined }
 the shape calculation option. More...

Public Member Functions

void CalculateConvex ()
 The convex of the collide.
int Category ()
 Returns the category.
NXOpen::Mechatronics::CollisionMaterialCollisionMaterial ()
 Returns the material.
NXOpen::Mechatronics::CollisionBodyBuilder::ShapePropertyTypes CollisionProperties ()
 Returns the shape option.
NXOpen::Mechatronics::CollisionBodyBuilder::CollisionShapeTypes CollisionShape ()
 Returns the shape type.
NXOpen::SelectNXObjectListGeometry ()
 Returns the geometries.
NXString Name ()
 Returns the name.
void SetCategory (int category)
 Sets the category.
void SetCollisionMaterial (NXOpen::Mechatronics::CollisionMaterial *collisionMaterial)
 Sets the material.
void SetCollisionProperties (NXOpen::Mechatronics::CollisionBodyBuilder::ShapePropertyTypes collisionProperties)
 Sets the shape option.
void SetCollisionShape (NXOpen::Mechatronics::CollisionBodyBuilder::CollisionShapeTypes collisionShape)
 Sets the shape type.
void SetGeometry (const std::vector< NXOpen::NXObject * > &geometries)
 Sets the geometry
Created in NX7.5.1.
void SetName (const NXString &name)
 Sets the name.

Detailed Description

Represents a Mechatronics::CollisionBodyBuilder .


To create a new instance of this class, use Mechatronics::CollisionBodyCollection::CreateCollisionBodyBuilder

Created in NX7.5.1.


Member Enumeration Documentation

the collide shape types.

Enumerator:
CollisionShapeTypesBox 

Box.

CollisionShapeTypesSphere 

Sphere.

CollisionShapeTypesCapsule 

Capsule.

CollisionShapeTypesConvex 

Convex.

the shape calculation option.

Enumerator:
ShapePropertyTypesAutomatic 

automatic

ShapePropertyTypesUserDefined 

user defined


Member Function Documentation

The convex of the collide.

Call this function to generate convext when Mechatronics::CollisionBodyBuilder::CollisionShape is set to Mechatronics::CollisionBodyBuilder::CollisionShapeTypesConvex .
Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Returns the category.

It should be between 0 and 16.
Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Returns the material.

This can be a CollisionMaterial .
Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Returns the shape option.


Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Returns the shape type.


Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Returns the geometries.

This can be a Assemblies::ComponentAssembly , Point Face , Edge , bodies and curves.
Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Returns the name.


Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Sets the category.

It should be between 0 and 16.
Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Parameters:
categorycategory

Sets the material.

This can be a CollisionMaterial .
Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Parameters:
collisionMaterialcollisionmaterial

Sets the shape option.


Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Parameters:
collisionPropertiescollisionproperties

Sets the shape type.


Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Parameters:
collisionShapecollisionshape
void NXOpen::Mechatronics::CollisionBodyBuilder::SetGeometry ( const std::vector< NXOpen::NXObject * > &  geometries)

Sets the geometry
Created in NX7.5.1.



License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Parameters:
geometriesInput geometries

Sets the name.


Created in NX7.5.1.

License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")

Parameters:
namename

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