NX Open C++ Reference Guide
|
Represents a Flat As Solid feature builder. More...
Public Types | |
enum | TransformComponentsOption { TransformComponentsOptionNone, TransformComponentsOptionBody, TransformComponentsOptionCsys } |
The enum defines how to represent PCB components on flat solid. More... | |
Public Member Functions | |
NXOpen::Section * | AddedGeometry () |
Returns the added geometry selection Created in NX6.0.0. More... | |
NXOpen::Features::SheetMetal::CornerTreatmentBuilder * | InnerCornerTreatment () |
Returns the inner corner treatment corner object Created in NX6.0.0. More... | |
NXOpen::Features::SheetMetal::CornerTreatmentBuilder * | OuterCornerTreatment () |
Returns the outer corner treatment corner object Created in NX6.0.0. More... | |
NXOpen::Point3d | ReferenceVertex () |
Returns the end of the edge where the tangent will define the x axis for flat as solid. More... | |
void | SetReferenceVertex (const NXOpen::Point3d &vertex) |
Sets the end of the edge where the tangent will define the x axis for flat as solid. More... | |
void | SetTransformComponents (NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformComponentsOption transformComponents) |
Sets the setting indicating how to represent transformed components in flat solid. More... | |
void | SetTransformRestrictionAreas (bool transformRestrictionAreas) |
Sets the setting indicating whether to transform restriction areas in flat solid. More... | |
void | SetTransformToAbsoluteCsys (bool transformFlag) |
Sets the flag which decides if the flattened solid will be transformed to Absolute CSYS. More... | |
NXOpen::SelectFace * | StationaryFace () |
Returns the stationary face selection Created in NX6.0.0. More... | |
NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformComponentsOption | TransformComponents () |
Returns the setting indicating how to represent transformed components in flat solid. More... | |
bool | TransformRestrictionAreas () |
Returns the setting indicating whether to transform restriction areas in flat solid. More... | |
bool | TransformToAbsoluteCsys () |
Returns the flag which decides if the flattened solid will be transformed to Absolute CSYS. More... | |
int | ValidateBuilderData () |
Validate the builder data. More... | |
NXOpen::SelectEdge * | XAxisEdge () |
Returns the x axis edge selection Created in NX6.0.0. More... | |
Public Member Functions inherited from NXOpen::Features::SheetMetal::SheetmetalBaseBuilder | |
NXOpen::Features::SheetMetal::ApplicationContext | GetApplicationContext () |
Get the application context. More... | |
void | SetApplicationContext (NXOpen::Features::SheetMetal::ApplicationContext appContext) |
Set the application context. 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 Flat As Solid feature builder.
To create a new instance of this class, use NXOpen::Features::SheetMetal::SheetmetalManager::CreateFlatSolidFeatureBuilder
Default values.
Property | Value |
---|---|
InnerCornerTreatment.TreatmentType |
None |
InnerCornerTreatment.UseGlobal |
1 |
InnerCornerTreatment.Value.Value |
0 (millimeters part), 0 (inches part) |
TransformComponents |
None |
TransformRestrictionAreas |
0 |
Created in NX4.0.0.
NXOpen::Section* NXOpen::Features::SheetMetal::FlatSolidBuilder::AddedGeometry | ( | ) |
Returns the added geometry selection
Created in NX6.0.0.
License requirements : None
NXOpen::Features::SheetMetal::CornerTreatmentBuilder* NXOpen::Features::SheetMetal::FlatSolidBuilder::InnerCornerTreatment | ( | ) |
Returns the inner corner treatment corner object
Created in NX6.0.0.
License requirements : None
NXOpen::Features::SheetMetal::CornerTreatmentBuilder* NXOpen::Features::SheetMetal::FlatSolidBuilder::OuterCornerTreatment | ( | ) |
Returns the outer corner treatment corner object
Created in NX6.0.0.
License requirements : None
NXOpen::Point3d NXOpen::Features::SheetMetal::FlatSolidBuilder::ReferenceVertex | ( | ) |
Returns the end of the edge where the tangent will define the x axis for flat as solid.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
void NXOpen::Features::SheetMetal::FlatSolidBuilder::SetReferenceVertex | ( | const NXOpen::Point3d & | vertex | ) |
Sets the end of the edge where the tangent will define the x axis for flat as solid.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
vertex | One of the end points of the reference edge. |
void NXOpen::Features::SheetMetal::FlatSolidBuilder::SetTransformComponents | ( | NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformComponentsOption | transformComponents | ) |
Sets the setting indicating how to represent transformed components in flat solid.
Only applies to the Flexible Printed Circuit Design application and will have no effect in Sheet Metal.
Created in NX10.0.0.
License requirements : nx_flexible_pcb ("NX Flexible PCB")
transformComponents | transformcomponents |
void NXOpen::Features::SheetMetal::FlatSolidBuilder::SetTransformRestrictionAreas | ( | bool | transformRestrictionAreas | ) |
Sets the setting indicating whether to transform restriction areas in flat solid.
Only applies to the Flexible Printed Circuit Design application and will have no effect in Sheet Metal.
Created in NX10.0.0.
License requirements : nx_flexible_pcb ("NX Flexible PCB")
transformRestrictionAreas | transformrestrictionareas |
void NXOpen::Features::SheetMetal::FlatSolidBuilder::SetTransformToAbsoluteCsys | ( | bool | transformFlag | ) |
Sets the flag which decides if the flattened solid will be transformed to Absolute CSYS.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
transformFlag | True = Transform to ABS, False = Do not transform to ABS. |
NXOpen::SelectFace* NXOpen::Features::SheetMetal::FlatSolidBuilder::StationaryFace | ( | ) |
Returns the stationary face selection
Created in NX6.0.0.
License requirements : None
NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformComponentsOption NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformComponents | ( | ) |
Returns the setting indicating how to represent transformed components in flat solid.
Only applies to the Flexible Printed Circuit Design application and will have no effect in Sheet Metal.
Created in NX10.0.0.
License requirements : None
bool NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformRestrictionAreas | ( | ) |
Returns the setting indicating whether to transform restriction areas in flat solid.
Only applies to the Flexible Printed Circuit Design application and will have no effect in Sheet Metal.
Created in NX10.0.0.
License requirements : None
bool NXOpen::Features::SheetMetal::FlatSolidBuilder::TransformToAbsoluteCsys | ( | ) |
Returns the flag which decides if the flattened solid will be transformed to Absolute CSYS.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
int NXOpen::Features::SheetMetal::FlatSolidBuilder::ValidateBuilderData | ( | ) |
Validate the builder data.
NXOpen::SelectEdge* NXOpen::Features::SheetMetal::FlatSolidBuilder::XAxisEdge | ( | ) |
Returns the x axis edge selection
Created in NX6.0.0.
License requirements : None