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 | |
NXString | FeatureName () |
Returns the feature name Created in NX8.0.3. | |
NXString | GetDesignElementAttributeValue (NXOpen::DisplayableObject *designElement, NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType attrType) |
Get the attribute value of the given design element. | |
void | InitializeDesignElementAttributes (NXOpen::DisplayableObject *designElement) |
Read the design attributes and use them to initialize the builder values. | |
NXString | SaProject () |
Returns the project number assigned to the ship. | |
NXString | SectionNumber () |
Returns the ship section number. | |
void | SetDesignElementAttributeValue (NXOpen::DisplayableObject *designElement, NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType attrType, const NXString &attrValue) |
Set the attribute value of the given design element. | |
void | SetDesignElementAttributeValue (NXOpen::DisplayableObject *designElement, NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::AttributeType attrType, const char *attrValue) |
Set the attribute value of the given design element. | |
void | SetFeatureName (const NXString &featureName) |
Sets the feature name Created in NX8.0.3. | |
void | SetFeatureName (const char *featureName) |
Sets the feature name Created in NX8.0.3. | |
void | SetSaProject (const NXString &saProject) |
Sets the project number assigned to the ship. | |
void | SetSaProject (const char *saProject) |
Sets the project number assigned to the ship. | |
void | SetSectionNumber (const NXString §ionNumber) |
Sets the ship section number. | |
void | SetSectionNumber (const char *sectionNumber) |
Sets the ship section number. | |
NXOpen::Assemblies::SelectComponentList * | SteelComponents () |
Returns the design elements to prepare for manufacturing. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
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. | |
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. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
This builder is used to adds attributes to the part and body identifying manufacturing related data.
<br> To create a new instance of this class, use @link Features::ShipCollection::CreateManufacturingPreparationBuilder Features::ShipCollection::CreateManufacturingPreparationBuilder @endlink <br>
Created in NX8.0.0.
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::FeatureName | ( | ) |
Returns the feature name
Created in NX8.0.3.
License requirements : None
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. |
NXString NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SaProject | ( | ) |
Returns the project number assigned to the ship.
Created in NX8.0.0.
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::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 |
NXOpen::Assemblies::SelectComponentList* NXOpen::Features::ShipDesign::ManufacturingPreparationBuilder::SteelComponents | ( | ) |
Returns the design elements to prepare for manufacturing.
Created in NX8.0.0.
License requirements : None