NXOpen .NET Reference
12.0.0
|
The builder to define room attributes More...
Public Member Functions | |
unsafe void | InitFromObject (NXOpen.TaggedObject objectTag) |
Initializes the builder from an object. More... | |
unsafe void | UpdateAttributes (string[] attrNames, string[] attrValues) |
Updates all attributes with new name and values. More... | |
unsafe void | SetAttribute (int index, string attrName, string attrValue) |
Sets the specific attribute name and value given the index in the list. More... | |
unsafe void | SetRoomPurpose (string roomPurpose) |
Sets the room purpose. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
The builder to define room attributes
Created in NX12.0.0
unsafe 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 |
unsafe void NXOpen.Features.ShipDesign.RoomAttributeListBuilder.SetAttribute | ( | int | index, |
string | attrName, | ||
string | 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 | |
attrName | |
attrValue |
unsafe void NXOpen.Features.ShipDesign.RoomAttributeListBuilder.SetRoomPurpose | ( | string | 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 |
unsafe void NXOpen.Features.ShipDesign.RoomAttributeListBuilder.UpdateAttributes | ( | string[] | attrNames, |
string[] | attrValues | ||
) |
Updates all attributes with new name and values.
Created in NX12.0.0
License requirements: nx_ship_gen_arrange ("Ship General Arrangement")
attrNames | |
attrValues |
unsafe bool NXOpen.Features.ShipDesign.RoomAttributeListBuilder.Validate | ( | ) |
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.
Created in NX3.0.1
License requirements: None.
Implements NXOpen.GeometricUtilities.IComponentBuilder.