NX Open C++ Reference Guide
|
This builder is used to adds attributes to the part and body identifying manufacturing related data. More...
Public Types | |
enum | AttributeType { AttributeTypeSaName, AttributeTypeSaType, AttributeTypeSaSize, AttributeTypeSaMaterial, AttributeTypeSaForm, AttributeTypeSaDescription } |
Represents manufacturing attribute type. More... | |
Public Member Functions | |
NXOpen::Expression * | AftStiffenerExtension () |
Returns the aft stiffener extension. More... | |
NXOpen::Assemblies::SelectComponent * | AssemblyComponent () |
Returns the assembly part to add components to Created in NX10.0.1. More... | |
NXString | FeatureName () |
Returns the feature name Created in NX8.0.3. More... | |
void | FindIntersectingParts (std::vector< NXOpen::Assemblies::Component * > &intersectionParts) |
The design parts that intersect the manufacturing collector Created in NX10.0.1. More... | |
NXOpen::Expression * | ForwardStiffenerExtension () |
Returns the forward stiffener extension. More... | |
void | GetComponentSeams (int selectedComp) |
The seams to load for the component Created in NX10.0.1. More... | |
NXString | GetDesignElementAttributeValue (NXOpen::DisplayableObject *designElement, NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType attrType) |
Get the attribute value of the given design element. More... | |
void | InitializeDesignElementAttributes (NXOpen::DisplayableObject *designElement) |
Read the design attributes and use them to initialize the builder values. More... | |
bool | Mirror () |
Returns the mirror option Created in NX11.0.0. More... | |
bool | ReassignPositionNumbers () |
Returns the reassign position numbers toggle Created in NX11.0.1. More... | |
NXString | ReferenceFeatureName () |
Returns the feature name Created in NX11.0.0. More... | |
NXString | SaProject () |
Returns the project number assigned to the ship. More... | |
NXOpen::SelectTaggedObjectList * | SeamingObjects () |
Returns the objects that define straking seams Created in NX10.0.1. More... | |
NXString | SectionNumber () |
Returns the ship section number. More... | |
void | SetDesignElementAttributeValue (NXOpen::DisplayableObject *designElement, NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType attrType, const NXString &attrValue) |
Set the attribute value of the given design element. More... | |
void | SetDesignElementAttributeValue (NXOpen::DisplayableObject *designElement, NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType attrType, const char *attrValue) |
Set the attribute value of the given design element. More... | |
void | SetFeatureName (const NXString &featureName) |
Sets the feature name Created in NX8.0.3. More... | |
void | SetFeatureName (const char *featureName) |
Sets the feature name Created in NX8.0.3. More... | |
void | SetMirror (bool mirror) |
Sets the mirror option Created in NX11.0.0. More... | |
void | SetReassignPositionNumbers (bool reassign) |
Sets the reassign position numbers toggle Created in NX11.0.1. More... | |
void | SetReferenceFeatureName (const NXString &featureName) |
Sets the feature name Created in NX11.0.0. More... | |
void | SetReferenceFeatureName (const char *featureName) |
Sets the feature name Created in NX11.0.0. More... | |
void | SetSaProject (const NXString &saProject) |
Sets the project number assigned to the ship. More... | |
void | SetSaProject (const char *saProject) |
Sets the project number assigned to the ship. More... | |
void | SetSectionNumber (const NXString §ionNumber) |
Sets the ship section number. More... | |
void | SetSectionNumber (const char *sectionNumber) |
Sets the ship section number. More... | |
void | SetTrim (bool trim) |
Sets the trim option Created in NX11.0.0. More... | |
NXOpen::Assemblies::SelectComponentList * | SteelComponents () |
Returns the design elements to prepare for manufacturing. More... | |
bool | Trim () |
Returns the trim option Created in NX11.0.0. More... | |
void | UpdateSeamsMap (const std::vector< int > &selectedComps) |
The seams map for the selected components. 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... | |
This builder is used to adds attributes to the part and body identifying manufacturing related data.
To create a new instance of this class, use NXOpen::Features::ShipCollection::CreateManufacturingPreparationBuilder
Created in NX8.0.0.
NXOpen::Expression* NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AftStiffenerExtension | ( | ) |
Returns the aft stiffener extension.
Created in NX11.0.0.
License requirements : None
NXOpen::Assemblies::SelectComponent* NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AssemblyComponent | ( | ) |
Returns the assembly part to add components to
Created in NX10.0.1.
License requirements : None
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::FeatureName | ( | ) |
Returns the feature name
Created in NX8.0.3.
License requirements : None
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::FindIntersectingParts | ( | std::vector< NXOpen::Assemblies::Component * > & | intersectionParts | ) |
The design parts that intersect the manufacturing collector
Created in NX10.0.1.
License requirements : None
intersectionParts | intersectionparts |
NXOpen::Expression* NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::ForwardStiffenerExtension | ( | ) |
Returns the forward stiffener extension.
Created in NX11.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::GetComponentSeams | ( | int | selectedComp | ) |
The seams to load for the component
Created in NX10.0.1.
License requirements : nx_ship_concept ("Ship Concept")
selectedComp | selectedcomp |
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::GetDesignElementAttributeValue | ( | NXOpen::DisplayableObject * | designElement, |
NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType | attrType | ||
) |
Get the attribute value of the given design element.
designElement | the design element for manufacturing preparation. |
attrType | the attriubte type. |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::InitializeDesignElementAttributes | ( | NXOpen::DisplayableObject * | designElement | ) |
Read the design attributes and use them to initialize the builder values.
Created in NX8.0.0.
License requirements : None
designElement | the design element for manufacturing preparation. |
bool NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::Mirror | ( | ) |
Returns the mirror option
Created in NX11.0.0.
License requirements : None
bool NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::ReassignPositionNumbers | ( | ) |
Returns the reassign position numbers toggle
Created in NX11.0.1.
License requirements : None
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::ReferenceFeatureName | ( | ) |
Returns the feature name
Created in NX11.0.0.
License requirements : None
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SaProject | ( | ) |
Returns the project number assigned to the ship.
Created in NX8.0.0.
License requirements : None
NXOpen::SelectTaggedObjectList* NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SeamingObjects | ( | ) |
Returns the objects that define straking seams
Created in NX10.0.1.
License requirements : None
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SectionNumber | ( | ) |
Returns the ship section number.
Created in NX8.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetDesignElementAttributeValue | ( | NXOpen::DisplayableObject * | designElement, |
NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType | attrType, | ||
const NXString & | attrValue | ||
) |
Set the attribute value of the given design element.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept")
designElement | the design element for manufacturing preparation. |
attrType | the attriubte type. |
attrValue | the attribute value. |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetDesignElementAttributeValue | ( | NXOpen::DisplayableObject * | designElement, |
NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType | attrType, | ||
const char * | attrValue | ||
) |
Set the attribute value of the given design element.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept")
designElement | the design element for manufacturing preparation. |
attrType | the attriubte type. |
attrValue | the attribute value. |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetFeatureName | ( | const NXString & | featureName | ) |
Sets the feature name
Created in NX8.0.3.
License requirements : nx_ship_concept ("Ship Concept")
featureName | featurename |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetFeatureName | ( | const char * | featureName | ) |
Sets the feature name
Created in NX8.0.3.
License requirements : nx_ship_concept ("Ship Concept")
featureName | featurename |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetMirror | ( | bool | mirror | ) |
Sets the mirror option
Created in NX11.0.0.
License requirements : None
mirror | mirror |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetReassignPositionNumbers | ( | bool | reassign | ) |
Sets the reassign position numbers toggle
Created in NX11.0.1.
License requirements : None
reassign | reassign |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetReferenceFeatureName | ( | const NXString & | featureName | ) |
Sets the feature name
Created in NX11.0.0.
License requirements : nx_ship_concept ("Ship Concept")
featureName | featurename |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetReferenceFeatureName | ( | const char * | featureName | ) |
Sets the feature name
Created in NX11.0.0.
License requirements : nx_ship_concept ("Ship Concept")
featureName | featurename |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetSaProject | ( | const NXString & | saProject | ) |
Sets the project number assigned to the ship.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept")
saProject | saproject |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetSaProject | ( | const char * | saProject | ) |
Sets the project number assigned to the ship.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept")
saProject | saproject |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetSectionNumber | ( | const NXString & | sectionNumber | ) |
Sets the ship section number.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept")
sectionNumber | sectionnumber |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetSectionNumber | ( | const char * | sectionNumber | ) |
Sets the ship section number.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept")
sectionNumber | sectionnumber |
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SetTrim | ( | bool | trim | ) |
Sets the trim option
Created in NX11.0.0.
License requirements : None
trim | trim |
NXOpen::Assemblies::SelectComponentList* NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SteelComponents | ( | ) |
Returns the design elements to prepare for manufacturing.
Created in NX8.0.0.
License requirements : None
bool NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::Trim | ( | ) |
Returns the trim option
Created in NX11.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::UpdateSeamsMap | ( | const std::vector< int > & | selectedComps | ) |
The seams map for the selected components.
Created in NX10.0.1.
License requirements : nx_ship_concept ("Ship Concept")
selectedComps | selectedcomps |