NXOpen .NET Reference
12.0.0
|
This class provides a list of NXOpen.Features.ShipDesign.ShipNamesBuilder objects. More...
Public Member Functions | |
unsafe NXOpen.Features.ShipDesign.ShipNamesBuilder[] | SetObjectTypes (NXOpen.NXObject[] objects) |
Sets the current list of NXOpen.Features.ShipDesign.ShipNamesBuilder objects to the types determined by the types of the supplied objects. More... | |
unsafe void | ResetNameList () |
Sets the current list of NXOpen.Features.ShipDesign.ShipNamesBuilder objects to be empty. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe NXOpen.Features.ShipDesign.ShipNamesBuilderList | ShipNamesList [get] |
Returns the list of ShipNamesBuilder objects More... | |
This class provides a list of NXOpen.Features.ShipDesign.ShipNamesBuilder objects.
A ShipNamesBuilder provides the data necessary to generate names for new Ship objects, such as Decks, Bulkheads, etc. So the ShipNamesListBuilder is a means for defining and modifying ShipNamesBuilders for multiple types of Ship objects. For example, in copying or mirroring Ship content, it is necessary to have a ShipNamesBuilder for each type of Ship object being copied / mirrored.
This is an abtract class. It cannot be instantiated.
Created in NX9.0.2
unsafe void NXOpen.Features.ShipDesign.ShipNamesListBuilder.ResetNameList | ( | ) |
Sets the current list of NXOpen.Features.ShipDesign.ShipNamesBuilder objects to be empty.
Returned will be error code.
Created in NX10.0.0
License requirements: None.
unsafe NXOpen.Features.ShipDesign.ShipNamesBuilder [] NXOpen.Features.ShipDesign.ShipNamesListBuilder.SetObjectTypes | ( | NXOpen.NXObject[] | objects | ) |
Sets the current list of NXOpen.Features.ShipDesign.ShipNamesBuilder objects to the types determined by the types of the supplied objects.
For example, if within objects, there is a Deck and 2 Tranverse Bulkheads, then the list of NXOpen.Features.ShipDesign.ShipNamesBuilder builders will have Deck and Tranverse Bulkhead builders added (if they are not there already).
Returned will be the number and pointers to any new builders added.
Created in NX10.0.0
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
objects |
unsafe bool NXOpen.Features.ShipDesign.ShipNamesListBuilder.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.
|
get |
Returns the list of ShipNamesBuilder objects
Created in NX9.0.2
License requirements: None.