NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Features.ShipDesign.WeightAndCGBuilder Class Reference

Represents the class Features. More...

Inheritance diagram for NXOpen.Features.ShipDesign.WeightAndCGBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  SelectionMethods { Volume, Frame }
 Settings to indicate how the objects are selected. More...
 

Public Member Functions

unsafe NXOpen.Part SetFrameParts (int nPartCount)
 Sets the selected frame parts. More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe
NXOpen.Features.ShipDesign.WeightAndCGBuilder.SelectionMethods 
SelectionMethod [get, set]
 Returns or sets the selection method. More...
 
unsafe NXOpen.SelectBody VolumeBody [get]
 Returns the selected volume body. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents the class Features.

ShipDesign.WeightAndCGBuilder which is used to calculate the weight and cg information.

To create a new instance of this class, use NXOpen.Features.ShipCollection.CreateWeightAndCgBuilder

Default values.

Property Value

SelectionMethod

Volume

Created in NX10.0.0

Member Enumeration Documentation

Settings to indicate how the objects are selected.

Enumerator
Volume 

Selection by volume.

Frame 

Selection by Frame.

Member Function Documentation

unsafe NXOpen.Part NXOpen.Features.ShipDesign.WeightAndCGBuilder.SetFrameParts ( int  nPartCount)
inline

Sets the selected frame parts.

Created in NX10.0.0

License requirements: nx_ship_basic ("Ship Basic Design")

Parameters
nPartCount
Returns
ship basic design structure component.

Property Documentation

unsafe NXOpen.Features.ShipDesign.WeightAndCGBuilder.SelectionMethods NXOpen.Features.ShipDesign.WeightAndCGBuilder.SelectionMethod
getset

Returns or sets the selection method.

Created in NX10.0.0

License requirements to get this property: nx_ship_basic ("Ship Basic Design")

License requirements to set this property: nx_ship_basic ("Ship Basic Design")

unsafe NXOpen.SelectBody NXOpen.Features.ShipDesign.WeightAndCGBuilder.VolumeBody
get

Returns the selected volume body.

Created in NX10.0.0

License requirements: nx_ship_basic ("Ship Basic Design")


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