NX Open C++ Reference Guide
|
This class is used to define Manufacturing Assembly Structure. More...
Public Types | |
enum | ContainerType { ContainerTypeStructure, ContainerTypeWeld } |
Container Type Structure or Weld. More... | |
enum | OrientationType { OrientationTypeAft, OrientationTypeStarboard, OrientationTypeUp, OrientationTypeForward, OrientationTypePort, OrientationTypeDown, OrientationTypeCustom } |
Container Orientation Types. More... | |
Public Member Functions | |
NXOpen::NXObject * | CreateChild (NXOpen::NXObject *containerOccTag, NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::ContainerType containerType) |
Create a child container. More... | |
void | CreateCustomView (NXOpen::NXObject *componentTag) |
Create a custom view in the target container Created in NX12.0.0. More... | |
NXOpen::NXObject * | CreateMasterContainer (const NXString &containerName) |
Create a master manufacturing container. More... | |
NXOpen::NXObject * | CreateMasterContainer (const char *containerName) |
Create a master manufacturing container. More... | |
void | DistributeWelds (NXOpen::NXObject *containerOccTag) |
Move the weld components to the lowest common parent of the 2 welded parts Created in NX12.0.0. More... | |
void | ExportToXML (NXOpen::NXObject *masterContainerPartOccTag) |
Export the assembly structure to an XML file Created in NX12.0.0. More... | |
void | MoveComponents (NXOpen::NXObject *containerOccTag, const std::vector< NXOpen::NXObject * > &partOccsToMove) |
Move components to the container Created in NX12.0.0. More... | |
void | RemoveComponent (NXOpen::NXObject *containerOccTag) |
Remove a container part from the assembly Created in NX12.0.0. More... | |
void | SetContainerCenterOfGravity (NXOpen::NXObject *componentTag) |
Set a container center of gravity value Created in NX12.0.0. More... | |
void | SetContainerMass (NXOpen::NXObject *componentTag) |
Set a container mass value Created in NX12.0.0. More... | |
void | SetContainerName (NXOpen::NXObject *componentTag) |
Set the name of a container Created in NX12.0.0. More... | |
void | SetContainerWeldLength (NXOpen::NXObject *componentTag) |
Set a container weld length value Created in NX12.0.0. More... | |
void | SetManufacturingAttribute (NXOpen::NXObject *componentTag, const NXString &attrName, const NXString &attrValue) |
Set a string manufacturing attribute on a component Created in NX12.0.0. More... | |
void | SetManufacturingAttribute (NXOpen::NXObject *componentTag, const char *attrName, const char *attrValue) |
Set a string manufacturing attribute on a component Created in NX12.0.0. More... | |
void | SetNavigatorRootComponent (NXOpen::NXObject *componentTag) |
Set the root component of the navigator Created in NX12.0.0. More... | |
void | SetOrientation (NXOpen::NXObject *containerOccTag, NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::OrientationType orientationType) |
Set the container orientation Created in NX12.0.0. More... | |
void | SetOrientationUpFace (NXOpen::NXObject *containerOccTag, NXOpen::TaggedObject *upFace) |
Set the container orientation up face Created in NX12.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 class is used to define Manufacturing Assembly Structure.
This is accomplished by creating manufacturing containers. These containers are part occurences except in 4GD where there are Partitions. Each container owns a set of manufacturing parts and containers which define a manufacturing assembly.
To create a new instance of this class, use NXOpen::Features::ShipCollection::CreateManufacturingAssemblyNavigatorBuilder
Created in NX12.0.0.
Container Orientation Types.
NXOpen::NXObject* NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::CreateChild | ( | NXOpen::NXObject * | containerOccTag, |
NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::ContainerType | containerType | ||
) |
Create a child container.
containerOccTag | containerocctag |
containerType | containertype |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::CreateCustomView | ( | NXOpen::NXObject * | componentTag | ) |
Create a custom view in the target container
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
NXOpen::NXObject* NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::CreateMasterContainer | ( | const NXString & | containerName | ) |
Create a master manufacturing container.
containerName | containername |
NXOpen::NXObject* NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::CreateMasterContainer | ( | const char * | containerName | ) |
Create a master manufacturing container.
containerName | containername |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::DistributeWelds | ( | NXOpen::NXObject * | containerOccTag | ) |
Move the weld components to the lowest common parent of the 2 welded parts
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
containerOccTag | containerocctag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::ExportToXML | ( | NXOpen::NXObject * | masterContainerPartOccTag | ) |
Export the assembly structure to an XML file
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
masterContainerPartOccTag | mastercontainerpartocctag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::MoveComponents | ( | NXOpen::NXObject * | containerOccTag, |
const std::vector< NXOpen::NXObject * > & | partOccsToMove | ||
) |
Move components to the container
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
containerOccTag | containerocctag |
partOccsToMove | partoccstomove |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::RemoveComponent | ( | NXOpen::NXObject * | containerOccTag | ) |
Remove a container part from the assembly
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
containerOccTag | containerocctag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetContainerCenterOfGravity | ( | NXOpen::NXObject * | componentTag | ) |
Set a container center of gravity value
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetContainerMass | ( | NXOpen::NXObject * | componentTag | ) |
Set a container mass value
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetContainerName | ( | NXOpen::NXObject * | componentTag | ) |
Set the name of a container
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetContainerWeldLength | ( | NXOpen::NXObject * | componentTag | ) |
Set a container weld length value
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetManufacturingAttribute | ( | NXOpen::NXObject * | componentTag, |
const NXString & | attrName, | ||
const NXString & | attrValue | ||
) |
Set a string manufacturing attribute on a component
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
attrName | attrname |
attrValue | attrvalue |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetManufacturingAttribute | ( | NXOpen::NXObject * | componentTag, |
const char * | attrName, | ||
const char * | attrValue | ||
) |
Set a string manufacturing attribute on a component
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
attrName | attrname |
attrValue | attrvalue |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetNavigatorRootComponent | ( | NXOpen::NXObject * | componentTag | ) |
Set the root component of the navigator
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
componentTag | componenttag |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetOrientation | ( | NXOpen::NXObject * | containerOccTag, |
NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::OrientationType | orientationType | ||
) |
Set the container orientation
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
containerOccTag | containerocctag |
orientationType | orientationtype |
void NXOpen::Features::ShipDesign::ManufacturingAssemblyNavigatorBuilder::SetOrientationUpFace | ( | NXOpen::NXObject * | containerOccTag, |
NXOpen::TaggedObject * | upFace | ||
) |
Set the container orientation up face
Created in NX12.0.0.
License requirements : nx_ship_mfg_prep ("Ship Manufacturing")
containerOccTag | containerocctag |
upFace | the normal of this face will be used for orientation |