NX Open C++ Reference Guide
|
Represents a Mechatronics::CollisionSensor builder. More...
Public Types | |
enum | CollisionShapeTypes { CollisionShapeTypesBox, CollisionShapeTypesSphere, CollisionShapeTypesLine } |
the Trigger Shape Types. More... | |
enum | ShapePropertiesOption { ShapePropertiesOptionAutomatic, ShapePropertiesOptionUserDefined } |
the Trigger Shape Option. More... | |
Public Member Functions | |
int | Category () |
Returns the category. | |
NXOpen::Mechatronics::CollisionSensorBuilder::CollisionShapeTypes | CollisionShape () |
Returns the collision shape type. | |
NXOpen::SelectNXObjectList * | Geometry () |
Returns the geometries. | |
NXString | Name () |
Returns the name. | |
void | SetCategory (int category) |
Sets the category. | |
void | SetCollisionShape (NXOpen::Mechatronics::CollisionSensorBuilder::CollisionShapeTypes collisionShape) |
Sets the collision shape type. | |
void | SetGeometry (const std::vector< NXOpen::NXObject * > &geometries) |
Sets the geometries. | |
void | SetName (const NXString &name) |
Sets the name. | |
void | SetName (const char *name) |
Sets the name. | |
void | SetShapeProperties (NXOpen::Mechatronics::CollisionSensorBuilder::ShapePropertiesOption shapeProperties) |
Sets the trigger shape option. | |
NXOpen::Mechatronics::CollisionSensorBuilder::ShapePropertiesOption | ShapeProperties () |
Returns the trigger shape option. | |
![]() | |
NXOpen::Point * | CenterPoint () |
Returns the center point. | |
NXOpen::Expression * | Height () |
Returns the height. | |
NXOpen::Expression * | Length () |
Returns the length. | |
NXOpen::CoordinateSystem * | Orientation () |
Returns the orientation. | |
NXOpen::Expression * | Radius () |
Returns the radius. | |
void | SetCenterPoint (NXOpen::Point *centerPoint) |
Sets the center point. | |
void | SetOrientation (NXOpen::CoordinateSystem *orientation) |
Sets the orientation. | |
NXOpen::Expression * | Width () |
Returns the width. | |
![]() | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Mechatronics::CollisionSensor builder.
To create a new instance of this class, use Mechatronics::CollisionSensorCollection::CreateCollisionSensorBuilder
Created in NX7.5.1.
the Trigger Shape Types.
CollisionShapeTypesBox |
Box. |
CollisionShapeTypesSphere |
Sphere. |
CollisionShapeTypesLine |
Line. |
int NXOpen::Mechatronics::CollisionSensorBuilder::Category | ( | ) |
Returns the category.
It should be between 0 and 16.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::CollisionSensorBuilder::CollisionShapeTypes NXOpen::Mechatronics::CollisionSensorBuilder::CollisionShape | ( | ) |
Returns the collision shape type.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::SelectNXObjectList* NXOpen::Mechatronics::CollisionSensorBuilder::Geometry | ( | ) |
Returns the geometries.
This can be a Assemblies::ComponentAssembly , Point , bodies and curves.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXString NXOpen::Mechatronics::CollisionSensorBuilder::Name | ( | ) |
Returns the name.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::CollisionSensorBuilder::SetCategory | ( | int | category | ) |
Sets the category.
It should be between 0 and 16.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
category | category |
void NXOpen::Mechatronics::CollisionSensorBuilder::SetCollisionShape | ( | NXOpen::Mechatronics::CollisionSensorBuilder::CollisionShapeTypes | collisionShape | ) |
Sets the collision shape type.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
collisionShape | collisionshape |
void NXOpen::Mechatronics::CollisionSensorBuilder::SetGeometry | ( | const std::vector< NXOpen::NXObject * > & | geometries | ) |
Sets the geometries.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
geometries | Input geometries |
void NXOpen::Mechatronics::CollisionSensorBuilder::SetName | ( | const NXString & | name | ) |
Sets the name.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
name | name |
void NXOpen::Mechatronics::CollisionSensorBuilder::SetName | ( | const char * | name | ) |
Sets the name.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
name | name |
void NXOpen::Mechatronics::CollisionSensorBuilder::SetShapeProperties | ( | NXOpen::Mechatronics::CollisionSensorBuilder::ShapePropertiesOption | shapeProperties | ) |
Sets the trigger shape option.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
shapeProperties | shapeproperties |
NXOpen::Mechatronics::CollisionSensorBuilder::ShapePropertiesOption NXOpen::Mechatronics::CollisionSensorBuilder::ShapeProperties | ( | ) |
Returns the trigger shape option.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")