NXOpen C++ Reference Guide
|
The builder to define room attributes
Created in NX12.0.0.
More...
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... | |
The builder to define room attributes
Created in NX12.0.0.
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")
row | row |
roomPurpose | roompurpose |
roomSubPurpose | roomsubpurpose |
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")
row | row |
roomPurpose | roompurpose |
roomSubPurpose | roomsubpurpose |
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")
objectTag | Body 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")
objs | Bodies 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")
index | index |
attrName | attrname |
attrValue | attrvalue |
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")
index | index |
attrName | attrname |
attrValue | attrvalue |
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")
roomPurpose | roompurpose |
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")
roomPurpose | roompurpose |
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")
roomSubPurpose | roomsubpurpose |
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")
roomSubPurpose | roomsubpurpose |
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")
attrNames | attrnames |
attrValues | attrvalues |
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")
row | row |
headString | headstring |
value | value |
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")
row | row |
headString | headstring |
value | value |
|
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.
Implements NXOpen::GeometricUtilities::IComponentBuilder.