NXOpen .NET Reference  12.0.0
Public Member Functions | List of all members
NXOpen.Features.ShipDesign.RoomAttributeListBuilder Class Reference

The builder to define room attributes More...

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

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...
 

Detailed Description

The builder to define room attributes

Created in NX12.0.0

Member Function Documentation

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")

Parameters
objectTagBody 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")

Parameters
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")

Parameters
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")

Parameters
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.

Returns
Was self validation successful

Implements NXOpen.GeometricUtilities.IComponentBuilder.


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