DeckListBuilder Class

class NXOpen.Features.ShipDesign.DeckListBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

This builder allows you to define the general arrangement view information.

It represents NXOpen.Features.ShipDesign.DeckListBuilder.

New in version NX12.0.0.

Properties

Property Description
Tag Returns the Tag for this object.

Methods

Method Description
Add Adds a deck to creation list
Remove Removes a deck from creation list
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Method Detail

Add

DeckListBuilder.Add

Adds a deck to creation list

Signature Add(deck)

Parameters:deck (NXOpen.Assemblies.Component) – deck container to create the GA view

New in version NX12.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

Remove

DeckListBuilder.Remove

Removes a deck from creation list

Signature Remove(deck)

Parameters:deck (NXOpen.Assemblies.Component) – deck container to create the GA view

New in version NX12.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

Validate

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

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.