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

Represents a NXOpen.Features.ShipDesign.CopyPasteNewBuilder It is used in Ship Building Application. More...

Inheritance diagram for NXOpen.Features.ShipDesign.CopyPasteNewBuilder:
NXOpen.Features.FeatureBuilder NXOpen.IAttributeSourceObjectBuilder NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  CopyApproach { TransferringLinkedBody, CopySourceFeaturesAndReparent }
 Represents the approach of copying ship standard parts. More...
 
enum  VersionID { Nx11, Nx12 }
 add version identifiers for the different revisions of the copy paste new feature. More...
 

Public Member Functions

unsafe NXOpen.ErrorList AutoAssignAttributes (NXOpen.NXObject[] objects)
 Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign. More...
 
unsafe NXOpen.ErrorList AutoAssignAttributesWithNamingPattern (NXOpen.NXObject[] objects, NXOpen.NXObject[] properties)
 Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign. More...
 
unsafe NXOpen.NXObject CreateAttributeTitleToNamingPatternMap (string[] attributeTitles, string[] titlePatterns)
 Creates a map object of attribute titles to their corresponding naming pattern More...
 
unsafe void CreateLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects)
 Creates the pre-creation logical objects More...
 
unsafe NXOpen.ErrorList GetOperationFailures ()
 Gets the operation failure error list object More...
 
- Public Member Functions inherited from NXOpen.Features.FeatureBuilder
unsafe NXOpen.Features.Feature CommitFeature ()
 Commits the feature parameters and creates the feature More...
 
unsafe NXOpen.Features.Feature GetFeature ()
 Returns the feature currently being edited by this builder. More...
 
unsafe void HideInternalParentFeatureAfterEdit (NXOpen.Features.Feature parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 
unsafe void SetParentFeatureInternal (NXOpen.Features.Feature parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited More...
 
unsafe void ShowInternalParentFeatureForEdit (NXOpen.Features.Feature parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
unsafe void UnsetParentFeatureInternal (NXOpen.Features.Feature parentFeature)
 Set the internal parent feature of the feature being edited to external 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.CopyPasteNewBuilder.VersionID 
AlgorithmVersion [get, set]
 Returns or sets the value of algorithm version is used to define the version information. More...
 
unsafe double AngularTolerance [get, set]
 Returns or sets the value of angular tolerance is used to define the angular difference from qualified candidate face / plane normal to source face / plane normal. More...
 
unsafe NXOpen.SelectNXObjectList ComponentsToCopy [get]
 Returns the components to copy More...
 
unsafe
NXOpen.Features.ShipDesign.CopyPasteNewBuilder.CopyApproach 
CopyApproachOption [get, set]
 Returns or sets an option to determine the approach to copy the ship standard parts between planes. More...
 
unsafe bool CopySection [get, set]
 Returns or sets the flag is used to define if linear tolerance on UI would be used when matching geometry. More...
 
unsafe double LinearTolerance [get, set]
 Returns or sets the value of linear tolerance is used to define the tolerance between candidate object and transformed source object. More...
 
unsafe NXOpen.SelectNXObject SelectionFrom [get]
 Returns the From geometry More...
 
unsafe NXOpen.SelectNXObjectList SelectionTo [get]
 Returns the To geometry More...
 
unsafe
NXOpen.Features.ShipDesign.ShipNamesListBuilder 
ShipNames [get]
 Returns the Ship Names builder, used to assign names to the copied objects created. More...
 
unsafe bool ShowXmlReport [get, set]
 Returns or sets the flag to indicate whether or not to show the xml report on copy paste results More...
 
- Properties inherited from NXOpen.Features.FeatureBuilder
unsafe bool ParentFeatureInternal [get, set]
 Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

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

Detailed Description

Represents a NXOpen.Features.ShipDesign.CopyPasteNewBuilder It is used in Ship Building Application.

The operation copies one or more components and pastes them as new parts while re-parenting and maintaining WAVE links

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

Default values.

Property Value

AngularTolerance

5

CopySection

false

Created in NX8.0.0

Member Enumeration Documentation

Represents the approach of copying ship standard parts.

Enumerator
TransferringLinkedBody 

The approach by transferring linked body.

CopySourceFeaturesAndReparent 

The approach by copy source features and reparenting.

add version identifiers for the different revisions of the copy paste new feature.

Enumerator
Nx11 
Nx12 

Member Function Documentation

unsafe NXOpen.ErrorList NXOpen.Features.ShipDesign.CopyPasteNewBuilder.AutoAssignAttributes ( NXOpen.NXObject[]  objects)
inline

Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign.

Created in NX8.5.0

License requirements: None.

Parameters
objects
Returns

Implements NXOpen.IAttributeSourceObjectBuilder.

unsafe NXOpen.ErrorList NXOpen.Features.ShipDesign.CopyPasteNewBuilder.AutoAssignAttributesWithNamingPattern ( NXOpen.NXObject[]  objects,
NXOpen.NXObject[]  properties 
)
inline

Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign.

properties needs to be created using CreateAttributeTitleToNamingPatternMap

Created in NX12.0.0

License requirements: None.

Parameters
objects
properties
Returns

Implements NXOpen.IAttributeSourceObjectBuilder.

unsafe NXOpen.NXObject NXOpen.Features.ShipDesign.CopyPasteNewBuilder.CreateAttributeTitleToNamingPatternMap ( string[]  attributeTitles,
string[]  titlePatterns 
)
inline

Creates a map object of attribute titles to their corresponding naming pattern

Created in NX12.0.0

License requirements: None.

Parameters
attributeTitles
titlePatterns
Returns

Implements NXOpen.IAttributeSourceObjectBuilder.

unsafe void NXOpen.Features.ShipDesign.CopyPasteNewBuilder.CreateLogicalObjects ( out NXOpen.PDM.LogicalObject[]  logicalObjects)
inline

Creates the pre-creation logical objects

Created in NX8.5.0

License requirements: nx_ship_detail ("Ship Detail Design")

Parameters
logicalObjects
unsafe NXOpen.ErrorList NXOpen.Features.ShipDesign.CopyPasteNewBuilder.GetOperationFailures ( )
inline

Gets the operation failure error list object

Created in NX10.0.0

License requirements: nx_ship_detail ("Ship Detail Design")

Returns
List of errors encountered during the copy parts

Property Documentation

unsafe NXOpen.Features.ShipDesign.CopyPasteNewBuilder.VersionID NXOpen.Features.ShipDesign.CopyPasteNewBuilder.AlgorithmVersion
getset

Returns or sets the value of algorithm version is used to define the version information.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_detail ("Ship Detail Design")

unsafe double NXOpen.Features.ShipDesign.CopyPasteNewBuilder.AngularTolerance
getset

Returns or sets the value of angular tolerance is used to define the angular difference from qualified candidate face / plane normal to source face / plane normal.

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_detail ("Ship Detail Design")

unsafe NXOpen.SelectNXObjectList NXOpen.Features.ShipDesign.CopyPasteNewBuilder.ComponentsToCopy
get

Returns the components to copy

Created in NX8.0.0

License requirements: nx_ship_detail ("Ship Detail Design")

unsafe NXOpen.Features.ShipDesign.CopyPasteNewBuilder.CopyApproach NXOpen.Features.ShipDesign.CopyPasteNewBuilder.CopyApproachOption
getset

Returns or sets an option to determine the approach to copy the ship standard parts between planes.

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_ship_detail ("Ship Detail Design")

unsafe bool NXOpen.Features.ShipDesign.CopyPasteNewBuilder.CopySection
getset

Returns or sets the flag is used to define if linear tolerance on UI would be used when matching geometry.

If false, the linear tolerance will be set with max double value as default.

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_detail ("Ship Detail Design")

unsafe double NXOpen.Features.ShipDesign.CopyPasteNewBuilder.LinearTolerance
getset

Returns or sets the value of linear tolerance is used to define the tolerance between candidate object and transformed source object.

For example, the distance from the qualified candidate curve to the transformed sample points of source curve shoud be within linear tolerance. And for body, it checks the distance from the qualified body's faces and the transformed sample points of source body's corresponding faces.

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_detail ("Ship Detail Design")

unsafe NXOpen.SelectNXObject NXOpen.Features.ShipDesign.CopyPasteNewBuilder.SelectionFrom
get

Returns the From geometry

Created in NX8.0.0

License requirements: nx_ship_detail ("Ship Detail Design")

unsafe NXOpen.SelectNXObjectList NXOpen.Features.ShipDesign.CopyPasteNewBuilder.SelectionTo
get

Returns the To geometry

Created in NX8.0.0

License requirements: nx_ship_detail ("Ship Detail Design")

unsafe NXOpen.Features.ShipDesign.ShipNamesListBuilder NXOpen.Features.ShipDesign.CopyPasteNewBuilder.ShipNames
get

Returns the Ship Names builder, used to assign names to the copied objects created.

Created in NX10.0.0

License requirements: None.

unsafe bool NXOpen.Features.ShipDesign.CopyPasteNewBuilder.ShowXmlReport
getset

Returns or sets the flag to indicate whether or not to show the xml report on copy paste results

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_detail ("Ship Detail Design")


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