NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
NXOpen::Features::ShipDesign::RoomAttributeListBuilder Class Reference

The builder to define room attributes
Created in NX12.0.0. More...

Inheritance diagram for NXOpen::Features::ShipDesign::RoomAttributeListBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

void EditItem (int row, const NXString &roomPurpose, const NXString &roomSubPurpose)
 Updates the room purpose and sub-purpose. More...
 
void EditItem (int row, const char *roomPurpose, const char *roomSubPurpose)
 Updates the room purpose and sub-purpose. More...
 
void InitFromObject (NXOpen::TaggedObject *objectTag)
 Initializes the builder from an object. More...
 
void InitializeFromMultipleObjects (const std::vector< NXOpen::TaggedObject * > &objs)
 Initializes the builder from objects. More...
 
void SetAttribute (int index, const NXString &attrName, const NXString &attrValue)
 Sets the specific attribute name and value given the index in the list. More...
 
void SetAttribute (int index, const char *attrName, const char *attrValue)
 Sets the specific attribute name and value given the index in the list. More...
 
void SetRoomPurpose (const NXString &roomPurpose)
 Sets the room purpose. More...
 
void SetRoomPurpose (const char *roomPurpose)
 Sets the room purpose. More...
 
void SetRoomSubPurpose (const NXString &roomSubPurpose)
 Sets the room sub purpose. More...
 
void SetRoomSubPurpose (const char *roomSubPurpose)
 Sets the room sub purpose. More...
 
void UpdateAttributes (std::vector< NXString > &attrNames, std::vector< NXString > &attrValues)
 Updates all attributes with new name and values. More...
 
void UpdateAttributeValue (int row, const NXString &headString, const NXString &value)
 Updates the specific attribute value. More...
 
void UpdateAttributeValue (int row, const char *headString, const char *value)
 Updates the specific attribute value. 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

The builder to define room attributes
Created in NX12.0.0.


Member Function Documentation

void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::EditItem ( int  row,
const NXString roomPurpose,
const NXString roomSubPurpose 
)

Updates the room purpose and sub-purpose.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
rowrow
roomPurposeroompurpose
roomSubPurposeroomsubpurpose
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::EditItem ( int  row,
const char *  roomPurpose,
const char *  roomSubPurpose 
)

Updates the room purpose and sub-purpose.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
rowrow
roomPurposeroompurpose
roomSubPurposeroomsubpurpose
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::InitFromObject ( NXOpen::TaggedObject objectTag)

Initializes the builder from an object.


Created in NX12.0.0.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
objectTagBody or Component
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::InitializeFromMultipleObjects ( const std::vector< NXOpen::TaggedObject * > &  objs)

Initializes the builder from objects.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
objsBodies or Components
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::SetAttribute ( int  index,
const NXString attrName,
const NXString attrValue 
)

Sets the specific attribute name and value given the index in the list.


Created in NX12.0.0.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
indexindex
attrNameattrname
attrValueattrvalue
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::SetAttribute ( int  index,
const char *  attrName,
const char *  attrValue 
)

Sets the specific attribute name and value given the index in the list.


Created in NX12.0.0.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
indexindex
attrNameattrname
attrValueattrvalue
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::SetRoomPurpose ( const NXString roomPurpose)

Sets the room purpose.

If room purpose changes, this will try to reconstruct the attribute list because different attributes are pre-defined for different room purposes.


Created in NX12.0.0.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
roomPurposeroompurpose
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::SetRoomPurpose ( const char *  roomPurpose)

Sets the room purpose.

If room purpose changes, this will try to reconstruct the attribute list because different attributes are pre-defined for different room purposes.


Created in NX12.0.0.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
roomPurposeroompurpose
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::SetRoomSubPurpose ( const NXString roomSubPurpose)

Sets the room sub purpose.

If the room sub purpose is changed, this method will try to reconstruct the attribute list because different attributes are pre-defined for different room sub purposes.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
roomSubPurposeroomsubpurpose
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::SetRoomSubPurpose ( const char *  roomSubPurpose)

Sets the room sub purpose.

If the room sub purpose is changed, this method will try to reconstruct the attribute list because different attributes are pre-defined for different room sub purposes.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
roomSubPurposeroomsubpurpose
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::UpdateAttributes ( std::vector< NXString > &  attrNames,
std::vector< NXString > &  attrValues 
)

Updates all attributes with new name and values.


Created in NX12.0.0.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
attrNamesattrnames
attrValuesattrvalues
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::UpdateAttributeValue ( int  row,
const NXString headString,
const NXString value 
)

Updates the specific attribute value.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
rowrow
headStringheadstring
valuevalue
void NXOpen::Features::ShipDesign::RoomAttributeListBuilder::UpdateAttributeValue ( int  row,
const char *  headString,
const char *  value 
)

Updates the specific attribute value.


Created in NX12.0.2.

License requirements : nx_ship_gen_arrange ("Ship General Arrangement")

Parameters
rowrow
headStringheadstring
valuevalue
virtual bool NXOpen::Features::ShipDesign::RoomAttributeListBuilder::Validate ( )
virtual

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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