NX Open C++ Reference Guide
|
Represents a NXOpen::Features::ShipDesign::CopyPasteNewBuilder It is used in Ship Building Application. More...
Public Types | |
enum | CopyApproach { CopyApproachTransferringLinkedBody, CopyApproachCopySourceFeaturesAndReparent } |
Represents the approach of copying ship standard parts. More... | |
enum | VersionID { VersionIDNx11, VersionIDNx12 } |
add version identifiers for the different revisions of the copy paste new feature. More... | |
Public Member Functions | |
NXOpen::Features::ShipDesign::CopyPasteNewBuilder::VersionID | AlgorithmVersion () |
Returns the value of algorithm version is used to define the version information. More... | |
double | AngularTolerance () |
Returns the value of angular tolerance is used to define the angular difference from qualified candidate face / plane normal to source face / plane normal. More... | |
virtual NXOpen::ErrorList * | AutoAssignAttributes (const std::vector< 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... | |
virtual NXOpen::ErrorList * | AutoAssignAttributesWithNamingPattern (const std::vector< NXOpen::NXObject * > &objects, const std::vector< NXOpen::NXObject * > &properties) |
Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign. More... | |
NXOpen::SelectNXObjectList * | ComponentsToCopy () |
Returns the components to copy Created in NX8.0.0. More... | |
NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CopyApproach | CopyApproachOption () |
Returns an option to determine the approach to copy the ship standard parts between planes. More... | |
bool | CopySection () |
Returns the flag is used to define if linear tolerance on UI would be used when matching geometry. More... | |
virtual NXOpen::NXObject * | CreateAttributeTitleToNamingPatternMap (std::vector< NXString > &attributeTitles, std::vector< NXString > &titlePatterns) |
Creates a map object of attribute titles to their corresponding naming pattern. More... | |
void | CreateLogicalObjects (std::vector< NXOpen::PDM::LogicalObject * > &logicalObjects) |
Creates the pre-creation logical objects Created in NX8.5.0. More... | |
NXOpen::ErrorList * | GetOperationFailures () |
Gets the operation failure error list object. More... | |
double | LinearTolerance () |
Returns the value of linear tolerance is used to define the tolerance between candidate object and transformed source object. More... | |
NXOpen::SelectNXObject * | SelectionFrom () |
Returns the From geometry Created in NX8.0.0. More... | |
NXOpen::SelectNXObjectList * | SelectionTo () |
Returns the To geometry Created in NX8.0.0. More... | |
void | SetAlgorithmVersion (NXOpen::Features::ShipDesign::CopyPasteNewBuilder::VersionID algorithmVersion) |
Sets the value of algorithm version is used to define the version information. More... | |
void | SetAngularTolerance (double tolerance) |
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... | |
void | SetCopyApproachOption (NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CopyApproach copyApproachOption) |
Sets an option to determine the approach to copy the ship standard parts between planes. More... | |
void | SetCopySection (bool copySection) |
Sets the flag is used to define if linear tolerance on UI would be used when matching geometry. More... | |
void | SetLinearTolerance (double tolerance) |
Sets the value of linear tolerance is used to define the tolerance between candidate object and transformed source object. More... | |
void | SetShowXmlReport (bool showXmlReport) |
Sets the flag to indicate whether or not to show the xml report on copy paste results Created in NX11.0.0. More... | |
NXOpen::Features::ShipDesign::ShipNamesListBuilder * | ShipNames () |
Returns the Ship Names builder, used to assign names to the copied objects created. More... | |
bool | ShowXmlReport () |
Returns the flag to indicate whether or not to show the xml report on copy paste results Created in NX11.0.0. More... | |
Public Member Functions inherited from NXOpen::Features::FeatureBuilder | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. More... | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. More... | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. More... | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. More... | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. More... | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. More... | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. More... | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. More... | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. More... | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. More... | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. More... | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. More... | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. More... | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. More... | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. More... | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
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.
NXOpen::Features::ShipDesign::CopyPasteNewBuilder::VersionID NXOpen::Features::ShipDesign::CopyPasteNewBuilder::AlgorithmVersion | ( | ) |
Returns the value of algorithm version is used to define the version information.
Created in NX12.0.0.
License requirements : None
double NXOpen::Features::ShipDesign::CopyPasteNewBuilder::AngularTolerance | ( | ) |
Returns 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 : None
|
virtual |
Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign.
objects | objects |
Implements NXOpen::IAttributeSourceObjectBuilder.
|
virtual |
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
objects | objects |
properties | properties |
Implements NXOpen::IAttributeSourceObjectBuilder.
NXOpen::SelectNXObjectList* NXOpen::Features::ShipDesign::CopyPasteNewBuilder::ComponentsToCopy | ( | ) |
Returns the components to copy
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CopyApproach NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CopyApproachOption | ( | ) |
Returns an option to determine the approach to copy the ship standard parts between planes.
Created in NX11.0.2.
License requirements : None
bool NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CopySection | ( | ) |
Returns 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 : None
|
virtual |
Creates a map object of attribute titles to their corresponding naming pattern.
attributeTitles | attributetitles |
titlePatterns | titlepatterns |
Implements NXOpen::IAttributeSourceObjectBuilder.
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CreateLogicalObjects | ( | std::vector< NXOpen::PDM::LogicalObject * > & | logicalObjects | ) |
Creates the pre-creation logical objects
Created in NX8.5.0.
License requirements : nx_ship_detail ("Ship Detail Design")
logicalObjects | logicalobjects |
NXOpen::ErrorList* NXOpen::Features::ShipDesign::CopyPasteNewBuilder::GetOperationFailures | ( | ) |
Gets the operation failure error list object.
double NXOpen::Features::ShipDesign::CopyPasteNewBuilder::LinearTolerance | ( | ) |
Returns 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 : None
NXOpen::SelectNXObject* NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SelectionFrom | ( | ) |
Returns the From geometry
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
NXOpen::SelectNXObjectList* NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SelectionTo | ( | ) |
Returns the To geometry
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SetAlgorithmVersion | ( | NXOpen::Features::ShipDesign::CopyPasteNewBuilder::VersionID | algorithmVersion | ) |
Sets the value of algorithm version is used to define the version information.
Created in NX12.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
algorithmVersion | algorithmversion |
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SetAngularTolerance | ( | double | tolerance | ) |
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 : nx_ship_detail ("Ship Detail Design")
tolerance | tolerance |
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SetCopyApproachOption | ( | NXOpen::Features::ShipDesign::CopyPasteNewBuilder::CopyApproach | copyApproachOption | ) |
Sets an option to determine the approach to copy the ship standard parts between planes.
Created in NX11.0.2.
License requirements : nx_ship_detail ("Ship Detail Design")
copyApproachOption | copyapproachoption |
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SetCopySection | ( | bool | copySection | ) |
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 : nx_ship_detail ("Ship Detail Design")
copySection | copysection |
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SetLinearTolerance | ( | double | tolerance | ) |
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 : nx_ship_detail ("Ship Detail Design")
tolerance | tolerance |
void NXOpen::Features::ShipDesign::CopyPasteNewBuilder::SetShowXmlReport | ( | bool | showXmlReport | ) |
Sets the flag to indicate whether or not to show the xml report on copy paste results
Created in NX11.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
showXmlReport | showxmlreport |
NXOpen::Features::ShipDesign::ShipNamesListBuilder* NXOpen::Features::ShipDesign::CopyPasteNewBuilder::ShipNames | ( | ) |
Returns the Ship Names builder, used to assign names to the copied objects created.
Created in NX10.0.0.
License requirements : None
bool NXOpen::Features::ShipDesign::CopyPasteNewBuilder::ShowXmlReport | ( | ) |
Returns the flag to indicate whether or not to show the xml report on copy paste results
Created in NX11.0.0.
License requirements : None