NX Open C++ Reference Guide
|
Provides access to object and callout properties for sheet-metal data in flat pattern views on drawings. More...
Classes | |
struct | FlatPatternCalloutTypeDisplay |
The members of the following structure are the display data for a callout in a flat pattern drawing member view. More... | |
struct | FlatPatternObjectTypeDisplay |
The members of the following structure are the display data for an object in a flat pattern drawing member view. More... | |
Public Types | |
enum | FlatPatternObjectType { FlatPatternObjectTypeBendCenterLine, FlatPatternObjectTypeBendUpCenterLine, FlatPatternObjectTypeBendDownCenterLine, FlatPatternObjectTypeBendTangentLine, FlatPatternObjectTypeOuterMoldLine, FlatPatternObjectTypeInnerMoldLine, FlatPatternObjectTypeExteriorCurves, FlatPatternObjectTypeInteriorCurves, FlatPatternObjectTypeInteriorCutoutCurves, FlatPatternObjectTypeInteriorFeatureCurves, FlatPatternObjectTypeLighteningHoleCenter, FlatPatternObjectTypeJoggleLine, FlatPatternObjectTypeAddedTopGeometry, FlatPatternObjectTypeAddedBottomGeometry, FlatPatternObjectTypeToolMarker } |
The members of the following enumerated type are used to identify object types to the FlatPatternView API. More... | |
Provides access to object and callout properties for sheet-metal data in flat pattern views on drawings.
The class is created upon a query to obtain the FlatPatternView object from either a view (style) or a part (preferences).
This class is not created directly by the user.
Created in NX5.0.0.
The members of the following enumerated type are used to identify object types to the FlatPatternView API.
These are not the usual NX object types; they are ordinary NX objects that are known to the flat pattern feature for the type of outline they provide to a bend region, joggle region, or lightening hole.
void NXOpen::SheetMetal::FlatPatternSettings::GetFlatPatternAllCalloutTypeDisplay | ( | std::vector< NXOpen::SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay > & | displayData | ) |
Returns the dialog names, identifiers, and enabled status for all the available callout types.
Created in NX5.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
displayData | Array of structures with the callout type display data. |
void NXOpen::SheetMetal::FlatPatternSettings::GetFlatPatternAllObjectTypeDisplay | ( | std::vector< NXOpen::SheetMetal::FlatPatternSettings::FlatPatternObjectTypeDisplay > & | displayData | ) |
Returns the types, colors, fonts, widths, and enabled status for all the available object types.
Created in NX5.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
displayData | Array of structures with the object type display data. |
NXOpen::SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay NXOpen::SheetMetal::FlatPatternSettings::GetFlatPatternCalloutTypeDisplay | ( | const NXString & | calloutType | ) |
Returns the display data for a callout type.
The name member of the SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay is separately allocated from the callout_type argument string. In some cases the new string will contain an extended form of the callout_type passed in, and that form should be used for subsequent calls, without modification.
calloutType | The name of the callout type for which to get the display data. |
NXOpen::SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay NXOpen::SheetMetal::FlatPatternSettings::GetFlatPatternCalloutTypeDisplay | ( | const char * | calloutType | ) |
Returns the display data for a callout type.
The name member of the SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay is separately allocated from the callout_type argument string. In some cases the new string will contain an extended form of the callout_type passed in, and that form should be used for subsequent calls, without modification.
calloutType | The name of the callout type for which to get the display data. |
NXOpen::SheetMetal::FlatPatternSettings::FlatPatternObjectTypeDisplay NXOpen::SheetMetal::FlatPatternSettings::GetFlatPatternObjectTypeDisplay | ( | NXOpen::SheetMetal::FlatPatternSettings::FlatPatternObjectType | objectType | ) |
Returns the display data for a flat pattern object type.
objectType | The object type for which to return the display data. |
void NXOpen::SheetMetal::FlatPatternSettings::SetFlatPatternCalloutTypeDisplay | ( | const NXString & | calloutType, |
const NXOpen::SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay & | displayData | ||
) |
Sets the display data for a callout type.
Created in NX5.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
calloutType | The name of the callout type for which to set the display data. |
displayData | The display data for the callout type. |
void NXOpen::SheetMetal::FlatPatternSettings::SetFlatPatternCalloutTypeDisplay | ( | const char * | calloutType, |
const NXOpen::SheetMetal::FlatPatternSettings::FlatPatternCalloutTypeDisplay & | displayData | ||
) |
Sets the display data for a callout type.
Created in NX5.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
calloutType | The name of the callout type for which to set the display data. |
displayData | The display data for the callout type. |
void NXOpen::SheetMetal::FlatPatternSettings::SetFlatPatternObjectTypeDisplay | ( | NXOpen::SheetMetal::FlatPatternSettings::FlatPatternObjectType | objectType, |
const NXOpen::SheetMetal::FlatPatternSettings::FlatPatternObjectTypeDisplay & | displayData | ||
) |
Sets the display data for a flat pattern object type.
Created in NX5.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
objectType | The object type for which to get the display data. |
displayData | The display data for the flat pattern object type. |