NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Features::ShipDesign::FilterBuilder Class Reference

A builder that allows the user to define common properties of ship objects and then add objects of similar properties to the select object list. More...

Inheritance diagram for NXOpen::Features::ShipDesign::FilterBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::TaggedObjectCompareObject ()
 Returns the object that is used to compare the property values with. More...
 
void FreeAvailableProperties (std::vector< NXString > &properties)
 Frees the memory allocated by Features::ShipDesign::FilterBuilder::GetAvailableProperties
Created in NX8.5.0. More...
 
void GetAvailableProperties (std::vector< NXString > &properties)
 Gets the names of the properties that can be chosen for filtering the selection. More...
 
bool GetPropertyStatus (const NXString &property)
 Gets the current status true == on or selected, false == off or not selected of the input property. More...
 
bool GetPropertyStatus (const char *property)
 Gets the current status true == on or selected, false == off or not selected of the input property. More...
 
bool IsObjectValid (NXOpen::NXObject *object)
 Tests if the object is valid given the current status of the properties. More...
 
void SetCompareObject (NXOpen::TaggedObject *compareObject)
 Sets the object that is used to compare the property values with. More...
 
void SetPropertyStatus (const NXString &property, bool onOrOff)
 GSts the current status true == on or selected, false == off or not selected of the input property. More...
 
void SetPropertyStatus (const char *property, bool onOrOff)
 GSts the current status true == on or selected, false == off or not selected of the input property. 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

A builder that allows the user to define common properties of ship objects and then add objects of similar properties to the select object list.


To create a new instance of this class, use NXOpen::Features::ShipCollection::CreateFilterBuilder

Created in NX8.5.0.

Member Function Documentation

NXOpen::TaggedObject* NXOpen::Features::ShipDesign::FilterBuilder::CompareObject ( )

Returns the object that is used to compare the property values with.


Created in NX8.5.0.

License requirements : None

void NXOpen::Features::ShipDesign::FilterBuilder::FreeAvailableProperties ( std::vector< NXString > &  properties)

Frees the memory allocated by Features::ShipDesign::FilterBuilder::GetAvailableProperties
Created in NX8.5.0.



License requirements : None

Parameters
propertiesproperties
void NXOpen::Features::ShipDesign::FilterBuilder::GetAvailableProperties ( std::vector< NXString > &  properties)

Gets the names of the properties that can be chosen for filtering the selection.


Created in NX8.5.0.

License requirements : None

Parameters
propertiesproperties
bool NXOpen::Features::ShipDesign::FilterBuilder::GetPropertyStatus ( const NXString property)

Gets the current status true == on or selected, false == off or not selected of the input property.

Returns

Created in NX8.5.0.

License requirements : None
Parameters
propertyproperty
bool NXOpen::Features::ShipDesign::FilterBuilder::GetPropertyStatus ( const char *  property)

Gets the current status true == on or selected, false == off or not selected of the input property.

Returns

Created in NX8.5.0.

License requirements : None
Parameters
propertyproperty
bool NXOpen::Features::ShipDesign::FilterBuilder::IsObjectValid ( NXOpen::NXObject object)

Tests if the object is valid given the current status of the properties.

Outputs true if the object passes the tests, false if it does not.

Returns

Created in NX8.5.0.

License requirements : None
Parameters
objectobject
void NXOpen::Features::ShipDesign::FilterBuilder::SetCompareObject ( NXOpen::TaggedObject compareObject)

Sets the object that is used to compare the property values with.


Created in NX8.5.0.

License requirements : None

Parameters
compareObjectcompareobject
void NXOpen::Features::ShipDesign::FilterBuilder::SetPropertyStatus ( const NXString property,
bool  onOrOff 
)

GSts the current status true == on or selected, false == off or not selected of the input property.


Created in NX8.5.0.

License requirements : None

Parameters
propertyproperty
onOrOffonoroff
void NXOpen::Features::ShipDesign::FilterBuilder::SetPropertyStatus ( const char *  property,
bool  onOrOff 
)

GSts the current status true == on or selected, false == off or not selected of the input property.


Created in NX8.5.0.

License requirements : None

Parameters
propertyproperty
onOrOffonoroff

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